[jboss-user] [jBPM] - JBPM Exception when running workflow

Stephen Sitton do-not-reply at jboss.com
Mon Jul 5 07:25:19 EDT 2010


Stephen Sitton [http://community.jboss.org/people/stevesitton] replied to the discussion

"JBPM Exception when running workflow"

To view the discussion, visit: http://community.jboss.org/message/551011#551011

--------------------------------------------------------------
Hi Maciej,

Thanks for the response.  Attached is the test (+additional files) which displays the error (org.jbpm.test.CustomTest).  The process definition (process.jpdl.xml) is also in the zip.  This is using jBPM 4.0.

The output from the test is:

Processing 2 files in directory "testfiles"
Processing file "file2.zip"
Extracting the file :file2.xml
Extracted the file :file2.xml
Data Convert message - 384
Data Convert message - 385
Data Convert message - 386
Data Convert message - 387
Data Convert message - 388
Data Convert message - 389
Data Convert message - 381
Data Convert message - 382
Extracting the file :file1.xml
Extracted the file :file1.xml
Data Convert message - 112
Data Convert message - 113
Data Convert message - 114
Data Convert message - 111
Data Convert message - 115
Data Convert message - 116
Data Convert message - 117
Data Convert message - 118
Data Convert message - 119

The exception I get is...

java.lang.NullPointerException
     at org.jbpm.pvm.internal.model.op.ExecuteEventListener.perform(ExecuteEventListener.java:68)
     at org.jbpm.pvm.internal.model.ExecutionImpl.performAtomicOperationSync(ExecutionImpl.java:637)
     at org.jbpm.pvm.internal.model.ExecutionImpl.performAtomicOperation(ExecutionImpl.java:597)
     at org.jbpm.pvm.internal.model.ExecutionImpl.start(ExecutionImpl.java:201)
     at org.jbpm.pvm.internal.cmd.StartProcessInstanceInLatestCmd.execute(StartProcessInstanceInLatestCmd.java:64)
     at org.jbpm.pvm.internal.cmd.StartProcessInstanceInLatestCmd.execute(StartProcessInstanceInLatestCmd.java:37)
     at org.jbpm.pvm.internal.svc.DefaultCommandService.execute(DefaultCommandService.java:42)
     at org.jbpm.pvm.internal.tx.StandardTransactionInterceptor.execute(StandardTransactionInterceptor.java:54)
     at org.jbpm.pvm.internal.svc.EnvironmentInterceptor.execute(EnvironmentInterceptor.java:54)
     at org.jbpm.pvm.internal.svc.RetryInterceptor.execute(RetryInterceptor.java:55)
     at org.jbpm.pvm.internal.svc.ExecutionServiceImpl.startProcessInstanceByKey(ExecutionServiceImpl.java:66)
     at org.jbpm.test.CustomTest.testProcess(CustomTest.java:24)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     at java.lang.reflect.Method.invoke(Method.java:597)
     at junit.framework.TestCase.runTest(TestCase.java:154)
     at org.jbpm.test.BaseJbpmTestCase.runTest(BaseJbpmTestCase.java:80)
     at junit.framework.TestCase.runBare(TestCase.java:127)
     at junit.framework.TestResult$1.protect(TestResult.java:106)
     at junit.framework.TestResult.runProtected(TestResult.java:124)
     at junit.framework.TestResult.run(TestResult.java:109)
     at junit.framework.TestCase.run(TestCase.java:118)
     at junit.framework.TestSuite.runTest(TestSuite.java:208)
     at junit.framework.TestSuite.run(TestSuite.java:203)
     at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:130)
     at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
     at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
     at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
     at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
     at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
 


Please let me know if there I something I'm doing wrong or if there is a problem in jbpm.

thanks
Steve

--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/551011#551011]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100705/d3bb9753/attachment.html 


More information about the jboss-user mailing list