Bug #2253
Nullpointer during informer activation
Status: | Resolved | Start date: | 05/08/2015 | |
---|---|---|---|---|
Priority: | High | Due date: | ||
Assignee: | J. Wienke | % Done: | 100% | |
Category: | Java | |||
Target version: | rsb-0.13 |
Description
Sometime I got this NullPointer during the informer activation.
It only happens if many informer are frequently activated.
java.lang.NullPointerException at rsb.introspection.IntrospectionParticipantObserver.created(IntrospectionParticipantObserver.java:104) at rsb.Factory$ParticipantObserverManager.notifyParticipantCreated(Factory.java:104) at rsb.Participant.activate(Participant.java:79) at rsb.Informer.access$401(Informer.java:52) at rsb.Informer$InformerStateInactive.activate(Informer.java:100) at rsb.Informer.activate(Informer.java:217) at de.citec.jul.extension.rsb.com.RSBSingleInformer.activate(RSBSingleInformer.java:75) at de.citec.jul.schedule.WatchDog$Minder.run(WatchDog.java:167)
Associated revisions
Correctly report illegal reactivation of Participants
Prevent a NullPointerException as a side effect of illegally
reactivating a Participant. Instead, report an IllegalStateException as
allowed by the Activatable interface.
fixes #2253
Correctly report illegal reactivation of Participants
Prevent a NullPointerException as a side effect of illegally
reactivating a Participant. Instead, report an IllegalStateException as
allowed by the Activatable interface.
fixes #2253
(cherry picked from commit fca194ed86492e94610f89ce46f0f2d820a5f3d3)
Let InvalidStateException subclass IllegalStateException
This fulfills the documented API without the hard changes introduced in
master.
refs #2253
History
#1 Updated by J. Wienke almost 8 years ago
- Description updated (diff)
- Status changed from New to In Progress
- Assignee set to J. Wienke
- Target version changed from rsb-0.12 to rsb-0.13
#2 Updated by J. Wienke almost 8 years ago
- Description updated (diff)
#3 Updated by J. Wienke almost 8 years ago
- Status changed from In Progress to Resolved
- % Done changed from 0 to 100
Applied in changeset rsb-java|fca194ed86492e94610f89ce46f0f2d820a5f3d3.