[jboss-user] [JBoss jBPM] - Re: Problem trying Class Tutorial

falazar do-not-reply at jboss.com
Tue Jul 18 16:41:52 EDT 2006


Set the classpath and moved forward.... 
The last part of it is throwing an error.... When running figure 4.8
CastException error... but I dont know why

15:30:49,146 [main] DEBUG GraphElement : event 'process-start' on 'ProcessDefinition(TestActionClass)' for 'Token(/)'
15:30:49,149 [main] DEBUG GraphElement : event 'before-signal' on 'StartState(start)' for 'Token(/)'
15:30:49,150 [main] DEBUG GraphElement : event 'node-leave' on 'StartState(start)' for 'Token(/)'
15:30:49,151 [main] DEBUG GraphElement : event 'transition' on 'Transition(to_auction)' for 'Token(/)'
15:30:49,152 [main] DEBUG GraphElement : executing action 'action[hello]'
15:30:49,161 [main] ERROR GraphElement : action threw exception: com.jbay.action.HelloActionHandler
java.lang.ClassCastException: com.jbay.action.HelloActionHandler
	at org.jbpm.graph.def.Action.execute(Action.java:122)
	at org.jbpm.graph.def.GraphElement.executeAction(GraphElement.java:235)
	at org.jbpm.graph.def.GraphElement.executeActions(GraphElement.java:212)
	at org.jbpm.graph.def.GraphElement.fireAndPropagateEvent(GraphElement.java:182)
	at org.jbpm.graph.def.GraphElement.fireEvent(GraphElement.java:166)
	at org.jbpm.graph.def.Transition.take(Transition.java:106)
	at org.jbpm.graph.def.Node.leave(Node.java:382)
	at org.jbpm.graph.node.StartState.leave(StartState.java:70)
	at org.jbpm.graph.exe.Token.signal(Token.java:174)
	at org.jbpm.graph.exe.Token.signal(Token.java:123)
	at org.jbpm.graph.exe.ProcessInstance.signal(ProcessInstance.java:217)
	at com.jbay.HelloTest.testProcess(HelloTest.java:26)
	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.RemoteTestRunner.runTests(RemoteTestRunner.java:478)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:344)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
1

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

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



More information about the jboss-user mailing list