5 Replies Latest reply on Apr 8, 2008 8:51 AM by David Martin

    Upgrading to 3.2.0 causes problem

    David Martin Newbie

      Hello,

      We just upgraded to Richfaces 3.2.0 GA from 3.1.3 GA and we are now encountering the following error (this did work before upgrade).

      WARNING: executePhase(RENDER_RESPONSE 6,com.sun.faces.context.FacesContextImpl@12f0124) threw exception
      javax.faces.FacesException: javax.servlet.ServletException: javax.el.ELException: Error Parsing: #{scenarioManager.start
      Edit(selectedScenario)}
      at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:413)
      at com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHandlerImpl.java:442)
      at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:115)
      at org.jboss.seam.jsf.SeamViewHandler.renderView(SeamViewHandler.java:87)
      at org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:108)
      at org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:189)
      at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106)
      at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
      at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
      at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
      at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
      at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:85)
      at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
      at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
      at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:147)
      at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:276)
      at org.ajax4jsf.Filter.doFilter(Filter.java:175)
      at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:60)
      at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58)
      at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
      at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:619)
      at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
      at com.evermind.server.http.HttpRequestHandler.doDispatchRequest(HttpRequestHandler.java:889)
      at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:797)
      at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:607)
      at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:376)
      at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:161)
      at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:142)
      at oracle.oc4j.network.ServerSocketReadHandler$ClientRunnable.run(ServerSocketReadHandler.java:275)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
      at java.lang.Thread.run(Thread.java:595)
      Caused by: javax.servlet.ServletException: javax.el.ELException: Error Parsing: #{scenarioManager.startEdit(selectedScen
      ario)}
      at com.evermind.server.http.EvermindPageContext.handlePageThrowable(EvermindPageContext.java:905)
      at com.evermind.server.http.EvermindPageContext.handlePageException(EvermindPageContext.java:822)
      at _views._main._jspService(_main.java:1692)
      at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:60)
      at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:483)
      at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:683)
      at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:607)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:709)
      at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
      at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:285)
      at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:45)
      at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:191)
      at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:326)
      at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:196)
      at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:408)
      ... 37 more
      Caused by: javax.el.ELException: Error Parsing: #{scenarioManager.startEdit(selectedScenario)}
      at com.sun.el.lang.ExpressionBuilder.createNodeInternal(ExpressionBuilder.java:140)
      at com.sun.el.lang.ExpressionBuilder.build(ExpressionBuilder.java:157)
      at com.sun.el.lang.ExpressionBuilder.createMethodExpression(ExpressionBuilder.java:208)
      at com.sun.el.ExpressionFactoryImpl.createMethodExpression(ExpressionFactoryImpl.java:63)
      at oracle.jsp.runtime.OracleUnifiedELRuntime.createMethodExpression(OracleUnifiedELRuntime.java:116)
      at _views._main.__jsp_tag_ctru45_helper_46(_main.java:2158)
      at _views._main._jspService(_main.java:758)
      ... 50 more
      Caused by: com.sun.el.parser.ParseException: Encountered "(" at line 1, column 28.
      Was expecting one of:
      "}" ...
      "." ...
      "[" ...
      ">" ...
      "gt" ...
      "<" ...
      "lt" ...
      ">=" ...
      "ge" ...
      "<=" ...
      "le" ...
      "==" ...
      "eq" ...
      "!=" ...
      "ne" ...
      "&&" ...
      "and" ...
      "||" ...
      "or" ...
      "*" ...
      "+" ...
      "-" ...
      "?" ...
      "/" ...
      "div" ...
      "%" ...
      "mod" ...

      at com.sun.el.parser.ELParser.generateParseException(ELParser.java:1651)
      at com.sun.el.parser.ELParser.jj_consume_token(ELParser.java:1531)
      at com.sun.el.parser.ELParser.DeferredExpression(ELParser.java:134)
      at com.sun.el.parser.ELParser.CompositeExpression(ELParser.java:61)
      at com.sun.el.lang.ExpressionBuilder.createNodeInternal(ExpressionBuilder.java:103)

      We are using SEAM 2.0.1 GA and JSP's instead of facelets so I'm not sure if either of these could be causing the problem. Here is the jsp snippet that is failing:

      <a4j:commandLink id="stEditScenario"
      styleClass="treeLink"
      value="#{scenarioManager.selectedScenario.name}"
      title="Edit #{scenarioManager.selectedScenario.name}"
      oncomplete="Richfaces.showModalPanel('modalPanel',{top:50, left:200});"
      action="#{scenarioManager.startEdit(selectedScenario)}"
      immediate="true" reRender="modalView">
      <a4j:actionparam name="scenarioEditParam" assignTo="#{modalManager.modalName}" value="scenarioEdit"/>
      </a4j:commandLink>

      Any help would be appreciated....Thanks