[jboss-user] [JBoss Seam] - Previous jBPM PageFlow and #{identity.login} No Longer worki

djeverson do-not-reply at jboss.com
Mon Feb 26 18:06:43 EST 2007


Just upgraded to the 1.17 RC1 release.  

Prior to the update, we had the following page defined in a pageflow file:

  |   	<page name="login" view-id="/login.xhtml">
  |     	<redirect/>
  |     	<transition name="cancel" to="info" />
  |     	<transition name="login" to="isLoggedIn">
  |             <action expression="#{identity.login}"/>
  |       </transition>
  |       <transition name="cancel" to="cancelpage" />
  |    	</page>
  | 

This worked just fine.  
However, after the Seam upgrade, we now get the following error after providing the userid and password and clicking on the button that triggers the login transition in the above page flow:

  | 2007-02-26 16:47:59,393 ERROR [org.jbpm.graph.def.GraphElement] action threw exception: couldn't evaluate expression '#{identity.login}'
  | org.jbpm.JbpmException: couldn't evaluate expression '#{identity.login}'
  | 	at org.jbpm.jpdl.el.impl.JbpmExpressionEvaluator.evaluate(JbpmExpressionEvaluator.java:38)
  | 	at org.jbpm.graph.def.Action.execute(Action.java:119)
  | 	at org.jbpm.graph.def.GraphElement.executeAction(GraphElement.java:235)
  | 	at org.jbpm.graph.def.GraphElement.executeActions(GraphElement.java:212)
  | 	at org.jbpm.graph.def.GraphElement.fireAndPropagateEvent(GraphElement.java:182)
  | 	at org.jbpm.graph.def.GraphElement.fireEvent(GraphElement.java:166)
  | 	at org.jbpm.graph.def.Transition.take(Transition.java:106)
  | 	at org.jbpm.graph.def.Node.leave(Node.java:383)
  | 	at org.jbpm.graph.exe.Token.signal(Token.java:178)
  | 	at org.jbpm.graph.exe.Token.signal(Token.java:141)
  | 	at org.jbpm.graph.exe.ProcessInstance.signal(ProcessInstance.java:229)
  | 	at org.jboss.seam.pageflow.PageflowHelper.signal(PageflowHelper.java:47)
  | 	at org.jboss.seam.core.Pageflow.navigate(Pageflow.java:298)
  | 	at org.jboss.seam.jsf.SeamNavigationHandler.handleNavigation(SeamNavigationHandler.java:59)
  | 	at org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:84)
  | 	at javax.faces.component.UICommand.broadcast(UICommand.java:106)
  | 	at org.ajax4jsf.framework.ajax.AjaxViewRoot.processEvents(AjaxViewRoot.java:274)
  | 	at org.ajax4jsf.framework.ajax.AjaxViewRoot.broadcastEvents(AjaxViewRoot.java:250)
  | 	at org.ajax4jsf.framework.ajax.AjaxViewRoot.processApplication(AjaxViewRoot.java:405)
  | 	at org.apache.myfaces.lifecycle.LifecycleImpl.invokeApplication(LifecycleImpl.java:343)
  | 	at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:86)
  | 	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:137)
  | 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
  | 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | 	at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:57)
  | 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | Caused by: org.jbpm.jpdl.el.ELException: Unable to find a value for "login" in object of class "org.jboss.seam.security.RuleBasedIdentity" using operator "."
  | 	at org.jbpm.jpdl.el.impl.Logger.logError(Logger.java:482)
  | 	at org.jbpm.jpdl.el.impl.Logger.logError(Logger.java:499)
  | 	at org.jbpm.jpdl.el.impl.Logger.logError(Logger.java:612)
  | 	at org.jbpm.jpdl.el.impl.ArraySuffix.evaluate(ArraySuffix.java:303)
  | 	at org.jbpm.jpdl.el.impl.ComplexValue.evaluate(ComplexValue.java:146)
  | 	at org.jbpm.jpdl.el.impl.ExpressionEvaluatorImpl.evaluate(ExpressionEvaluatorImpl.java:264)
  | 	at org.jbpm.jpdl.el.impl.ExpressionEvaluatorImpl.evaluate(ExpressionEvaluatorImpl.java:191)
  | 	at org.jbpm.jpdl.el.impl.JbpmExpressionEvaluator.evaluate(JbpmExpressionEvaluator.java:34)
  | 	at org.jbpm.graph.def.Action.execute(Action.java:119)
  | 	at org.jbpm.graph.def.GraphElement.executeAction(GraphElement.java:235)
  | 	at org.jbpm.graph.def.GraphElement.executeActions(GraphElement.java:212)
  | 	at org.jbpm.graph.def.GraphElement.fireAndPropagateEvent(GraphElement.java:182)
  | 	at org.jbpm.graph.def.GraphElement.fireEvent(GraphElement.java:166)
  | 	at org.jbpm.graph.def.Transition.take(Transition.java:106)
  | 	at org.jbpm.graph.def.Node.leave(Node.java:383)
  | 	at org.jbpm.graph.exe.Token.signal(Token.java:178)
  | 	at org.jbpm.graph.exe.Token.signal(Token.java:141)
  | 	at org.jbpm.graph.exe.ProcessInstance.signal(ProcessInstance.java:229)
  | 	at org.jboss.seam.pageflow.PageflowHelper.signal(PageflowHelper.java:47)
  | 	at org.jboss.seam.core.Pageflow.navigate(Pageflow.java:298)
  | 	at org.jboss.seam.jsf.SeamNavigationHandler.handleNavigation(SeamNavigationHandler.java:59)
  | 	at org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:84)
  | 	at javax.faces.component.UICommand.broadcast(UICommand.java:106)
  | 	at org.ajax4jsf.framework.ajax.AjaxViewRoot.processEvents(AjaxViewRoot.java:274)
  | 	at org.ajax4jsf.framework.ajax.AjaxViewRoot.broadcastEvents(AjaxViewRoot.java:250)
  | 	at org.ajax4jsf.framework.ajax.AjaxViewRoot.processApplication(AjaxViewRoot.java:405)
  | 	at org.apache.myfaces.lifecycle.LifecycleImpl.invokeApplication(LifecycleImpl.java:343)
  | 	at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:86)
  | 	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:137)
  | 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
  | 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | 	at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:57)
  | 2007-02-26 16:47:59,393 ERROR [org.jboss.seam.web.ExceptionFilter] uncaught exception
  | javax.servlet.ServletException
  | ...
  | 

I looked at 1.1.7 related posts and could not find anything similar. 
Any idea what the problem or solution is?

Thanks!

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4022740#4022740

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4022740



More information about the jboss-user mailing list