10 Replies Latest reply on Dec 19, 2008 8:18 AM by Ronald van Kuijk

    nulpointer in slightly complicated process

    Eric Pedersson Newbie

      Hi

      I have a process definition as shown in the link below.

      http://www.freeimagehosting.net/uploads/4963a9f1b7.jpg

      When I run it with all nodes set to "async" and all joins with lock="UPGRADE" and with multiple or single job executors I get a nullpointer exception. It fails wwhen exectuting the action in F.

      Below is the stack trace. Has anyone experienced this before or is the graph too complicated. I can post the acual process definition xml if you want it and maybe a test case


      org.jbpm.graph.def.GraphElement.executeAction(GraphElement.java:267) 2008-12-18 12:10:31,617 [JbpmJobExecutor:1] ERROR - action threw exception: null
      java.lang.NullPointerException
      at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:261)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
      at org.jbpm.instantiation.Delegation.instantiate(Delegation.java:145)
      at org.jbpm.instantiation.Delegation.getInstance(Delegation.java:126)
      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 org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:197)
      at org.jbpm.instantiation.Delegation_$$_javassist_4.getInstance(Delegation_$$_javassist_4.java)
      at org.jbpm.graph.def.Action.execute(Action.java:128)
      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 org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:197)
      at org.jbpm.graph.def.Action_$$_javassist_61.execute(Action_$$_javassist_61.java)
      at org.jbpm.graph.def.GraphElement.executeAction(GraphElement.java:256)
      at org.jbpm.graph.def.Node.execute(Node.java:334)
      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 org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:197)
      at org.jbpm.graph.def.Node_$$_javassist_47.execute(Node_$$_javassist_47.java)
      at org.jbpm.job.ExecuteNodeJob.execute(ExecuteNodeJob.java:27)
      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 org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:197)
      at org.jbpm.job.Job_$$_javassist_52.execute(Job_$$_javassist_52.java)
      at org.jbpm.job.executor.JobExecutorThread.executeJob(JobExecutorThread.java:166)
      at org.jbpm.job.executor.JobExecutorThread.run(JobExecutorThread.java:60)