1 Reply Latest reply on Aug 9, 2006 5:55 PM by Gavin King

    Exception using a description tag in a pageflow definition f

    Richard Leherpeur Novice

      I'm using jboss-seam-1.0.1.GA with the special version of JBoss that goes with.

      I defined a pageflow and everything worked fine until I added a description
      tag inside a page tag:

      <page name="CreateUserPage" view-id="/account/user.xhtml">
       <redirect/>
       <description>#{userMgr.description}</description>
       <transition name="create" to="EndPage" />
       <transition name="cancel" to="homePage" />
      </page>
      


      A java.lang.NoSuchMethodError Exception occurs in the prepareBackswitch method of org.jboss.seam.core.Manager in line 867 where the description is set (see stacktrace below):

      conversation.setDescription( page.getDescription() );
      

      Where page is org.jbpm.pageflow.Page

      I even replaced the description by a hardcoded string (to make sure there was nothing wrong with my bean) but I get the same exception.

      Any idea?

      Thanks

      Richard


      java.lang.NoSuchMethodError: org.jboss.seam.core.Interpolator.interpolate(Ljava/lang/String;)Ljava/lang/String;
       at org.jbpm.pageflow.Page.getDescription(Page.java:124)
       at org.jboss.seam.core.Manager.prepareBackswitch(Manager.java:867)
       at org.jboss.seam.jsf.AbstractSeamPhaseListener.beforeRender(AbstractSeamPhaseListener.java:117)
       at org.jboss.seam.jsf.SeamPhaseListener.beforePhase(SeamPhaseListener.java:50)
       at org.jboss.seam.jsf.SeamExtendedManagedPersistencePhaseListener.beforePhase(SeamExtendedManagedPersistencePhaseListener.java:38)
       at org.apache.myfaces.lifecycle.LifecycleImpl.informPhaseListenersBefore(LifecycleImpl.java:520)
       at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:342)
       at javax.faces.webapp.FacesServlet.service(FacesServlet.java:107)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
       at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
       at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:465)
       at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
       at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
       at org.apache.catalina.core.StandardHostValve.custom(StandardHostValve.java:363)
       at org.apache.catalina.core.StandardHostValve.status(StandardHostValve.java:284)
       at org.apache.catalina.core.StandardHostValve.throwable(StandardHostValve.java:228)
       at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:134)
       at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
       at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
       at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
       at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
       at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
       at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
       at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
       at java.lang.Thread.run(Thread.java:595)
      2006-08-07 14:24:15,031 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost]] Exception Processing ErrorPage[errorCode=500, location=/src/app/error/500.seam]
      javax.servlet.ServletException: org.jboss.seam.core.Interpolator.interpolate(Ljava/lang/String;)Ljava/lang/String;
       at javax.faces.webapp.FacesServlet.service(FacesServlet.java:121)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
       at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
       at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:465)
       at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
       at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
       at org.apache.catalina.core.StandardHostValve.custom(StandardHostValve.java:363)
       at org.apache.catalina.core.StandardHostValve.status(StandardHostValve.java:284)
       at org.apache.catalina.core.StandardHostValve.throwable(StandardHostValve.java:228)
       at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:134)
       at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
       at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
       at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
       at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
       at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
       at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
       at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
       at java.lang.Thread.run(Thread.java:595)