[jboss-user] [jBPM] - Process having script and deployed through Guvnor is not visible in JBPM console

Ashish T do-not-reply at jboss.com
Thu Jul 25 07:13:16 EDT 2013


Ashish T [https://community.jboss.org/people/ashpcs] created the discussion

"Process having script and deployed through Guvnor is not visible in JBPM console"

To view the discussion, visit: https://community.jboss.org/message/829715#829715

--------------------------------------------------------------
I am using JBPM 5.3 and have configured  JBPM 5.4, JBPM console, Human task and JBPM guvnor to run on tomcat 7.

I was getting permgen space error so I have  installed Guvnor in one tomcat and everything else in another tomcat instance.
When I create JBPM process in Guvnor and having human task it is visible in JBPM console and I can start the task. 
But If I start another process having only script task is is resulting in below error when I click the process in JBPM console.  Is there any specific reason?

The error I am getting is as below.   Let me know If any otehr details needs to be rpovded


org.jboss.resteasy.spi.UnhandledException: java.lang.NullPointerException
          org.jboss.resteasy.core.SynchronousDispatcher.unwrapException(SynchronousDispatcher.java:345)
          org.jboss.resteasy.core.SynchronousDispatcher.handleApplicationException(SynchronousDispatcher.java:321)
          org.jboss.resteasy.core.SynchronousDispatcher.handleException(SynchronousDispatcher.java:214)
          org.jboss.resteasy.core.SynchronousDispatcher.handleInvokerException(SynchronousDispatcher.java:190)
          org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:534)
          org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:496)
          org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:119)
          org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:208)
          org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:55)
          org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:50)
          javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
          org.jboss.bpm.console.server.util.GWTJsonFilter.doFilter(GWTJsonFilter.java:59)
root cause
 
 
java.lang.NullPointerException
          java.io.ByteArrayInputStream.<init>(ByteArrayInputStream.java:89)
          org.jbpm.persistence.processinstance.ProcessInstanceInfo.getProcessInstance(ProcessInstanceInfo.java:132)
          org.jbpm.persistence.processinstance.JPAProcessInstanceManager.getProcessInstance(JPAProcessInstanceManager.java:83)
          org.jbpm.process.instance.ProcessRuntimeImpl.getProcessInstance(ProcessRuntimeImpl.java:204)
          org.drools.common.AbstractWorkingMemory.getProcessInstance(AbstractWorkingMemory.java:1100)
          org.drools.impl.StatefulKnowledgeSessionImpl.getProcessInstance(StatefulKnowledgeSessionImpl.java:297)
          org.drools.command.runtime.process.GetProcessInstanceCommand.execute(GetProcessInstanceCommand.java:48)
          org.drools.command.runtime.process.GetProcessInstanceCommand.execute(GetProcessInstanceCommand.java:25)
          org.drools.command.impl.DefaultCommandService.execute(DefaultCommandService.java:36)
          org.drools.persistence.SingleSessionCommandService.execute(SingleSessionCommandService.java:367)
          org.drools.command.impl.CommandBasedStatefulKnowledgeSession.getProcessInstance(CommandBasedStatefulKnowledgeSession.java:125)
          org.jbpm.integration.console.CommandDelegate.getActiveNodeInstances(CommandDelegate.java:211)
          org.jbpm.integration.console.ProcessManagement.getProcessInstances(ProcessManagement.java:75)
          org.jboss.bpm.console.server.ProcessMgmtFacade.getInstancesJSON(ProcessMgmtFacade.java:192)
          sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
          sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
          java.lang.reflect.Method.invoke(Method.java:597)
 
--------------------------------------------------------------

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

Start a new discussion in jBPM at Community
[https://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/20130725/c899c8d3/attachment.html 


More information about the jboss-user mailing list