8 Replies Latest reply on Mar 3, 2009 11:37 AM by Sara Rodríguez Dorrego

    Jbpm-console problems

    Sara Rodríguez Dorrego Novice

      Hello, I 've some problems witj jbpm-console. I'm usingo jbpm-jpdl 3.2.3. When I access at jbpm-console I get the following errors:

      1) I can't see the process definition image. It could be because I export the process definition in a .jar not in a .war. How it works?? The exception that it's thrown is:

      13:25:19,812 WARN [lifecycle] phase(RENDER_RESPONSE 6,com.sun.faces.context.FacesContextImpl@648b64) threw exception: java.lang.NullPointerException null
      org.jbpm.jsf.core.phase.ProcessFilePhaseListener.beforePhase(ProcessFilePhaseListener.java:102)
      com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:222)
      com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
      javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
      org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
      org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
      org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
      org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
      org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524)
      org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
      org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
      org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
      org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
      org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
      org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
      java.lang.Thread.run(Thread.java:619)
      


      2) When I want to examine a process running its thrown this exception. But only when the process is running. If it's suspended nothing occurrs. All goes well.

      java.lang.NullPointerException
       java.lang.String.compareTo(String.java:1168)
       java.lang.String.compareTo(String.java:92)
       org.jboss.gravel.data.action.SortActionListener$ELComparator.compare(SortActionListener.java:144)
       java.util.Arrays.mergeSort(Arrays.java:1270)
       java.util.Arrays.sort(Arrays.java:1210)
       java.util.Collections.sort(Collections.java:159)
       org.jboss.gravel.data.action.SortActionListener.processAction(SortActionListener.java:83)
       javax.faces.event.ActionEvent.processListener(ActionEvent.java:77)
       javax.faces.component.UIComponentBase.broadcast(UIComponentBase.java:746)
       javax.faces.component.UICommand.broadcast(UICommand.java:368)
       org.jboss.gravel.action.handler.ResponseActionsHandler.onComponentPopulated(ResponseActionsHandler.java:24)
       com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:180)
       com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
       com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentHandler.java:314)
       com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:169)
       com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
       com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentHandler.java:314)
       com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:169)
       org.jboss.gravel.common.handler.CollectionHandler.applyNextHandler(CollectionHandler.java:155)
       com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:169)
       com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
       com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentHandler.java:314)
       com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:169)
       com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
       com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentHandler.java:314)
       com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:169)
       com.sun.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:49)
       com.sun.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:25)
       com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:248)
       com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:294)
       com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:273)
       com.sun.facelets.impl.DefaultFaceletContext.includeFacelet(DefaultFaceletContext.java:143)
       com.sun.facelets.tag.ui.DecorateHandler.apply(DecorateHandler.java:105)
       com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
       com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentHandler.java:314)
       com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:169)
       com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
       com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentHandler.java:314)
       com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:169)
       com.sun.facelets.tag.ui.DefineHandler.apply(DefineHandler.java:58)
       com.sun.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:128)
       com.sun.facelets.impl.DefaultFaceletContext$TemplateManager.apply(DefaultFaceletContext.java:306)
       com.sun.facelets.impl.DefaultFaceletContext.includeDefinition(DefaultFaceletContext.java:279)
       com.sun.facelets.tag.ui.InsertHandler.apply(InsertHandler.java:68)
       com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
       com.sun.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:49)
       com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
       com.sun.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:25)
       com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:248)
       com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:294)
       com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:273)
       com.sun.facelets.impl.DefaultFaceletContext.includeFacelet(DefaultFaceletContext.java:143)
       com.sun.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:113)
       com.sun.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:49)
       com.sun.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:25)
       com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:248)
       com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:294)
       com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:273)
       com.sun.facelets.impl.DefaultFaceletContext.includeFacelet(DefaultFaceletContext.java:143)
       com.sun.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:113)
       com.sun.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:49)
       com.sun.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:25)
       com.sun.facelets.impl.DefaultFacelet.apply(DefaultFacelet.java:95)
       com.sun.facelets.FaceletViewHandler.buildView(FaceletViewHandler.java:503)
       com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:546)
       javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:178)
       com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106)
       com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
       com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
       javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
       org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
      


      3) When I want to deploy a process from jbpm-console. I select a valid processDefinition xml file and the console says:

      Error deploying process: An exception of type "org.jbpm.jpdl.JpdlException" was thrown. The message is: [[ERROR] no processdefinition.xml inside process archive]
      



      Could someone help me?? Thanks