[jbossseam-issues] [JBoss JIRA] Updated: (JBSEAM-1205) NPE in JBoss EL for arithmetic operation

Christian Bauer (JIRA) jira-events at lists.jboss.org
Wed Apr 18 11:08:30 EDT 2007


     [ http://jira.jboss.com/jira/browse/JBSEAM-1205?page=all ]

Christian Bauer updated JBSEAM-1205:
------------------------------------

    Summary: NPE in JBoss EL for arithmetic operation  (was: NPE in JBoss EL)

This is the offending value binding:

#{wiki:getSessionTimeoutSeconds() * 1000}



> NPE in JBoss EL for arithmetic operation
> ----------------------------------------
>
>                 Key: JBSEAM-1205
>                 URL: http://jira.jboss.com/jira/browse/JBSEAM-1205
>             Project: JBoss Seam
>          Issue Type: Bug
>          Components: Core
>            Reporter: Christian Bauer
>
> 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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the seam-issues mailing list