[JBoss jBPM] - Re: Simple process not ending.
by srsuarez
Thanks for your reply, now I use 'ExecutionContext.leaveNode' at the end of the action, but i have the following error:
java.lang.NullPointerException
at org.jbpm.graph.exe.ExecutionContext.leaveNode(ExecutionContext.java:128)
at org.jbpm.pruebasTutorial.MyActionHandler.execute(MyActionHandler.java:44)
at org.jbpm.graph.def.Action.execute(Action.java:123)
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)
[...]
Do you know the cause of this error?
Thanks in advance
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3997521#3997521
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3997521
19 years, 3 months
[JBoss AOP] - Re: execution pointcut....class context?
by robotics80
Ok Kabir, I have downloaded the new example classes fixed from cvs and I see that the TestCase you done, works well. But if you change the code of jboss-aop.xml file from:
<interceptor class="org.jboss.test.aop.regression.jbaop336callnpe.LogInterceptor"/>
| <bind pointcut="call(org.jboss.test.aop.regression.jbaop336callnpe.Log->new(java.lang.String))">
| <interceptor-ref name="org.jboss.test.aop.regression.jbaop336callnpe.LogInterceptor"/>
| </bind>
to:
<interceptor class="org.jboss.test.aop.regression.jbaop336callnpe.LogInterceptor"/>
| <bind pointcut="call(org.jboss.test.aop.regression.jbaop336callnpe.Log->new(..))">
| <interceptor-ref name="org.jboss.test.aop.regression.jbaop336callnpe.LogInterceptor"/>
| </bind>
the java NullPointerException in _getInstanceAdvisor() will occour!!
Could you fix this problem? Otherwise it's impossible to use call expression pointcuts.....
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3997520#3997520
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3997520
19 years, 3 months