Problem:
If the ExclusiveJobAddedNotification is invoked from another thread than the job executor thread from which it was created, it threw an NPE when attempting to access the JobExecutorContext from a Thread Local.
Fix:
Passing in the Job to the Listener fixes this problem.
Note:
This seems to happen on Jboss / EAP in distributed transactions with multiple two phase participants.
This is the controller panel for Smart Panels app
- is related to
-
CAM-7798 NullPointerException on failed PA deployment in Spring context leaving Tomcat in inconsistent state
- Closed