1 Reply Latest reply on Sep 1, 2007 11:06 AM by Pete Muir

    Problem using JBPM in Seam 2

    Frederico Benevides Newbie

      Hello,

      I'm trying to use jbpm in seam 2 but until now unsucess. In seam 1.2.1 works.

      In components.xml in seam 1.2.1 I used this :

      <core:Jbpm pageflow-definitions="editarNoticia.jpdl.xml"/>
      


      In seam 2 beta 1 I used the same, but nothing happens. I used this too:

       <component name="org.jboss.seam.bpm.jbpm">
       <property name="processDefinitions">
       <value>editarNoticia.jpdl.xml</value>
       </property>
       </component>
      



      Caused by: java.lang.NullPointerException
       at org.jboss.seam.core.ConversationInterceptor.beginNavigation(ConversationInterceptor.java:226)
       at org.jboss.seam.core.ConversationInterceptor.beginConversation(ConversationInterceptor.java:213)
       at org.jboss.seam.core.ConversationInterceptor.beginConversationIfNecessary(ConversationInterceptor.java:149)
       at org.jboss.seam.core.ConversationInterceptor.aroundInvoke(ConversationInterceptor.java:55)
       at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
       at org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:42)
       at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
       at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:106)
       at org.jboss.seam.intercept.SessionBeanInterceptor.aroundInvoke(SessionBeanInterceptor.java:53)
       at sun.reflect.GeneratedMethodAccessor475.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:597)
       at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:118)
       at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63)
       at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
       at org.jboss.ejb3.entity.ExtendedPersistenceContextPropagationInterceptor.invoke(ExtendedPersistenceContextPropagationInterceptor.java:57)
       at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
       at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54)
       at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
       at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47)
       at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
       at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126)
       ... 86 more
      


      Part of Facelets debug:

      - Business Process Context
      Empty business process context
      



      Thank you.