Uploaded image for project: 'Seam 2'
  1. Seam 2
  2. JBSEAM-1205

NPE in JBoss EL for arithmetic operation

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Core
    • Labels:
      None

      Description

      17:03:16,230 ERROR [[Faces Servlet]] Servlet.service() for servlet Faces Servlet threw exception
      java.lang.NullPointerException
      at org.jboss.el.parser.AstFunction.getValue(AstFunction.java:78)
      at org.jboss.el.parser.AstMult.getValue(AstMult.java:22)
      at org.jboss.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:186)
      at com.sun.facelets.el.ELText$ELTextVariable.writeText(ELText.java:184)
      at com.sun.facelets.el.ELText$ELTextComposite.writeText(ELText.java:108)
      at com.sun.facelets.compiler.TextInstruction.write(TextInstruction.java:45)
      at com.sun.facelets.compiler.UIInstructions.encodeBegin(UIInstructions.java:39)
      at com.sun.facelets.compiler.UILeaf.encodeAll(UILeaf.java:149)
      at javax.faces.component.UIComponent.encodeAll(UIComponent.java:890)
      at javax.faces.component.UIComponent.encodeAll(UIComponent.java:890)
      at javax.faces.component.UIComponent.encodeAll(UIComponent.java:890)
      at javax.faces.component.UIComponent.encodeAll(UIComponent.java:890)
      at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:571)
      at org.ajax4jsf.framework.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:108)
      at org.ajax4jsf.framework.ajax.AjaxViewHandler.renderView(AjaxViewHandler.java:229)
      at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106)
      at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:248)
      at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)

      Checkout the wiki example, login as "admin" with password "admin" and you get the exception.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                pmuir Pete Muir
                Reporter:
                christian.bauer Christian Bauer
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: