2 Replies Latest reply on Oct 1, 2011 10:10 PM by Sofia Sivira

    jbpm-console errors

    Sofia Sivira Newbie

      Hi Everyone!

       

      I am making a sample with jbpm5 using the demo, but I have two issues:

       

      1. When I deploy a new process in jbpm-console, it works fine but when i try to view the diagram it shows this error:

      2011-10-01 17:34:10,538 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/gwt-console-server].[Resteasy]] (http-localhost%2F127.0.0.1-8080-11) Servlet.service() para servlet Resteasy lanzó excepción

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

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

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

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

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

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

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

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

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

          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)

          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

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

          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

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

          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

          at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)

          at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)

          at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)

          at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525)

          at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)

          at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)

          at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)

          at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)

          at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)

          at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)

          at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

          at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)

          at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)

          at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)

          at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)

          at java.lang.Thread.run(Thread.java:595)

      Caused by: java.lang.NullPointerException

          at org.jbpm.integration.console.graph.GraphViewerPluginImpl.getActiveNodeInfo(GraphViewerPluginImpl.java:86)

          at org.jboss.bpm.console.server.ProcessMgmtFacade.getActiveNodeInfo(ProcessMgmtFacade.java:348)

          at sun.reflect.GeneratedMethodAccessor415.invoke(Unknown Source)

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

          at java.lang.reflect.Method.invoke(Method.java:585)

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

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

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

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

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

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

          ... 28 more

       

      2. The Report view generates this error:

      org.jboss.resteasy.spi.UnhandledException: java.lang.IllegalStateException: Report server not initialized. Please check the server logs for further details.

      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)

      causa raíz

      java.lang.IllegalStateException: Report server not initialized. Please check the server logs for further details.

      org.jboss.bpm.report.ReportFacade.assertBirtAvailability(ReportFacade.java:195)

      org.jboss.bpm.report.ReportFacade.getReportConfig(ReportFacade.java:328)

      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:585)

      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)

       

      Somebody can tell me about the errors?

       

      Thanks. Sofia