Initial stab, Since this test follows 'TestEventHandlerService', that sets "services.ext" to include EventHandlerService, and thus enables events to TRUE, somehow even for this following test, the condition evaluates to TRUE, and it enters the event generation code block - where event is null.
Excuse the long sentence. If unclear, I can take a look at this myself sometime tomorrow. --mona On 4/22/13 10:59 AM, "Robert Kanter" <[email protected]> wrote: >I'm seeing a lot of failed tests in test-patch runs on JIRA all because of >the same NPE in WorkflowXCommand#generateEvent. > >Here's an example: >https://builds.apache.org/job/oozie-trunk-precommit-build/458/testReport/j >unit/org.apache.oozie.service/TestPurgeService/testPurgeServiceForWorkflow >/ > >I tried running the same test on my machine and it had no problems; any >ideas? Looks like its related to the event code. > >thanks >- Robert
