3 Replies Latest reply: Jan 28, 2011 5:33 AM by Gary Brown RSS

    Execution Path of onMessage

    Carla Farinha Newbie

      Hi,

       

      I was modelling a simple process that has a wait state through a pick-onMessage.

      After deploying the process, I created an instance which I could see that it was still running in the "Manage Instances" of the BPEL-console. However, selecting the instance and choosing to access the "Execution Path" threw me a NullPointerException.

       

      Note: the process seems ok because if I change this pick-onMessage to a simple receive (as the Quickstart_bpel_simple_correlation example), the process holds for the receive message and I can see the execution path. Plus, the exception comes from OnMessageImpl.

       

       

      Exception:

      org.jboss.resteasy.spi.UnhandledException: java.lang.NullPointerException

      org.jboss.resteasy.core.SynchronousDispatcher.handleApplicationException(SynchronousDispatcher.java:319)

      org.jboss.resteasy.core.SynchronousDispatcher.handleException(SynchronousDispatcher.java:230)

      org.jboss.resteasy.core.SynchronousDispatcher.handleInvokerException(SynchronousDispatcher.java:206)

      org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:360)

      org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:173)

      org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:93)

      org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:68)

      javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

      org.jboss.bpm.console.server.util.GWTJsonFilter.doFilter(GWTJsonFilter.java:59)

      org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

       

       

      root cause:

      java.lang.NullPointerException

      org.wso2.carbon.bpel.ui.bpel2svg.impl.ActivityImpl.getArrowStyle(ActivityImpl.java:606)

      org.wso2.carbon.bpel.ui.bpel2svg.impl.ActivityImpl.getArrowDefinition(ActivityImpl.java:657)

      org.wso2.carbon.bpel.ui.bpel2svg.impl.OnMessageImpl.getArrows(OnMessageImpl.java:275)

      org.wso2.carbon.bpel.ui.bpel2svg.impl.OnMessageImpl.getSVGString(OnMessageImpl.java:248)

      org.wso2.carbon.bpel.ui.bpel2svg.impl.ActivityImpl.getSubActivitiesSVGString(ActivityImpl.java:503)

      org.wso2.carbon.bpel.ui.bpel2svg.impl.FlowImpl.getSVGString(FlowImpl.java:235)

      org.wso2.carbon.bpel.ui.bpel2svg.impl.ActivityImpl.getSubActivitiesSVGString(ActivityImpl.java:503)

      org.wso2.carbon.bpel.ui.bpel2svg.impl.SequenceImpl.getSVGString(SequenceImpl.java:203)

      org.wso2.carbon.bpel.ui.bpel2svg.impl.ActivityImpl.getSubActivitiesSVGString(ActivityImpl.java:503)

      org.wso2.carbon.bpel.ui.bpel2svg.impl.OnMessageImpl.getSVGString(OnMessageImpl.java:246)

      org.wso2.carbon.bpel.ui.bpel2svg.impl.ActivityImpl.getSubActivitiesSVGString(ActivityImpl.java:503)

      org.wso2.carbon.bpel.ui.bpel2svg.impl.FlowImpl.getSVGString(FlowImpl.java:235)

      org.wso2.carbon.bpel.ui.bpel2svg.impl.ActivityImpl.getSubActivitiesSVGString(ActivityImpl.java:503)

      org.wso2.carbon.bpel.ui.bpel2svg.impl.SequenceImpl.getSVGString(SequenceImpl.java:203)

      org.wso2.carbon.bpel.ui.bpel2svg.impl.ActivityImpl.getSubActivitiesSVGString(ActivityImpl.java:503)

      org.wso2.carbon.bpel.ui.bpel2svg.impl.ProcessImpl.getSVGDocument(ProcessImpl.java:95)

      org.wso2.carbon.bpel.ui.bpel2svg.impl.SVGImpl.generateSVGString(SVGImpl.java:53)

      org.wso2.carbon.bpel.ui.bpel2svg.impl.SVGImpl.toPNGBytes(SVGImpl.java:108)

      org.jboss.soa.bpel.console.SVGPlugin.getProcessInstanceImage(SVGPlugin.java:130)

      org.jboss.bpm.console.server.ProcessMgmtFacade.getProcessInstanceImage(ProcessMgmtFacade.java:350)

      sun.reflect.GeneratedMethodAccessor430.invoke(Unknown Source)

      sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

      java.lang.reflect.Method.invoke(Method.java:597)

      org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:117)

      org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:260)

      org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:232)

      org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:166)

      org.jboss.resteasy.core.DispatcherUtilities.getJaxrsResponse(DispatcherUtilities.java:142)

      org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:356)

      org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:173)

      org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:93)

      org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:68)

      javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

      org.jboss.bpm.console.server.util.GWTJsonFilter.doFilter(GWTJsonFilter.java:59)

      org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)