[
https://issues.apache.org/jira/browse/OOZIE-1333?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Virag Kothari updated OOZIE-1333:
---------------------------------
Attachment: OOZIE-1333.patch
Patch sets the eventsConfigured to false in destroy()
Also, converting listenerMap from static to non-static as it was causing one
test case to fail in transient way
> Some testcases related to EventHandlerService are failing in a transient way
> -----------------------------------------------------------------------------
>
> Key: OOZIE-1333
> URL: https://issues.apache.org/jira/browse/OOZIE-1333
> Project: Oozie
> Issue Type: Bug
> Reporter: Virag Kothari
> Attachments: OOZIE-1333.patch
>
>
> Quite a few test cases failed here
> https://builds.apache.org/job/oozie-trunk-precommit-build/449
> {code}
> Caused by: java.lang.NullPointerException
> at
> org.apache.oozie.command.coord.CoordinatorXCommand.generateEvent(CoordinatorXCommand.java:58)
> at
> org.apache.oozie.command.coord.CoordPushDependencyCheckXCommand.updateCoordAction(CoordPushDependencyCheckXCommand.java:259)
> {code}
> Seems eventsConfigured is causing this problem as it wont be garbage
> collected even when servies.destroy() is called as its static variable.
> Probably setting it to false() in destroy() will solve the problem.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira