java.lang.NullPointerException during shutdown while sending events
-------------------------------------------------------------------
Key: FELIX-2997
URL: https://issues.apache.org/jira/browse/FELIX-2997
Project: Felix
Issue Type: Bug
Components: Event Admin
Affects Versions: eventadmin-1.2.12
Environment: Felix 3.2.2
Reporter: Alexander Broekhuis
During shutdown of the framework, and while sending events, the EventAdmin
gives the following NPE:
Exception in thread "Event Test Generator" java.lang.NullPointerException
at
org.apache.felix.eventadmin.impl.handler.BlacklistingHandlerTasks.createHandlerTasks(BlacklistingHandlerTasks.java:116)
at
org.apache.felix.eventadmin.impl.EventAdminImpl.sendEvent(EventAdminImpl.java:108)
at
org.apache.felix.eventadmin.impl.security.EventAdminSecurityDecorator.sendEvent(EventAdminSecurityDecorator.java:94)
at mc.product.x.test.eventgenerator.XGenerator$1.run(XGenerator.java:55)
at java.lang.Thread.run(Thread.java:680)
The EventAdmin is tracked and injected using the DependencyManager.
It doesn't seem to be reproducible all the time, I tried to create a small
testcase, but no luck so far.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira