[jboss-user] [JBoss jBPM] - Examples

jplenhart do-not-reply at jboss.com
Wed Aug 22 10:28:34 EDT 2007


I downloaded jbpm-jpdl-3.2.1 ... the suite.

I unzipped and tried to create an eclipse project as instructed but it did not work.  I then tried to just create a simple java project with all the jars in the lib and the two jbpm jars at the root.  When I run the unit test case in the 'action' project I get the following, I assume these can be run standalone (Any help is appreciated ... just trying to work on a company use-case and off to a bad start):

org.jbpm.graph.def.DelegationException
	at org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:376)
	at org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:367)
	at org.jbpm.graph.def.GraphElement.executeAction(GraphElement.java:270)
	at org.jbpm.graph.def.GraphElement.executeActions(GraphElement.java:220)
	at org.jbpm.graph.def.GraphElement.fireAndPropagateEvent(GraphElement.java:190)
	at org.jbpm.graph.def.GraphElement.fireEvent(GraphElement.java:174)
	at org.jbpm.graph.def.Node.enter(Node.java:302)
	at org.jbpm.graph.def.Transition.take(Transition.java:151)
	at org.jbpm.graph.def.Node.leave(Node.java:393)
	at org.jbpm.graph.node.StartState.leave(StartState.java:70)
	at org.jbpm.graph.exe.Token.signal(Token.java:194)
	at org.jbpm.graph.exe.Token.signal(Token.java:139)
	at org.jbpm.graph.exe.ProcessInstance.signal(ProcessInstance.java:270)
	at org.jbpm.examples.action.ActionTest.testNodeActions(ActionTest.java:108)
	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:585)
	at junit.framework.TestCase.runTest(TestCase.java:154)
	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:460)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
Caused by: java.lang.NullPointerException
	at org.jbpm.graph.def.Action.execute(Action.java:122)
	at org.jbpm.graph.def.GraphElement.executeAction(GraphElement.java:255)
	... 29 more



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076893#4076893

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4076893



More information about the jboss-user mailing list