javaserverfaces
  1. javaserverfaces
  2. JAVASERVERFACES-2736

<f:view> contracts EL enable does not handle null properly

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.2.0-m10
    • Component/s: facelets
    • Labels:
      None

      Description

      Throws the following exception:

      FATAL: JSF1073: java.lang.NullPointerException caught during processing of RENDER_RESPONSE 6 : UIComponent-ClientId=, Message=null
      FATAL: java.lang.NullPointerException
      at com.sun.faces.facelets.tag.jsf.core.ViewHandler.apply(ViewHandler.java:181)
      at javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:95)
      at com.sun.faces.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:93)

        Activity

        Hide
        Manfred Riem added a comment -

        Applied to 2.2 trunk,

        svn commit -m "Fixes http://java.net/jira/browse/JAVASERVERFACES-2736, r=rogerk, make sure <f:view contracts attribute handles null properly."
        Sending jsf-ri\src\main\java\com\sun\faces\facelets\tag\jsf\core\ViewHandler.java
        Adding test\agnostic\vdl\facelets\contracts\viewroot\src\main\java
        Adding test\agnostic\vdl\facelets\contracts\viewroot\src\main\java\com
        Adding test\agnostic\vdl\facelets\contracts\viewroot\src\main\java\com\sun
        Adding test\agnostic\vdl\facelets\contracts\viewroot\src\main\java\com\sun\faces
        Adding test\agnostic\vdl\facelets\contracts\viewroot\src\main\java\com\sun\faces\test
        Adding test\agnostic\vdl\facelets\contracts\viewroot\src\main\java\com\sun\faces\test\agnostic
        Adding test\agnostic\vdl\facelets\contracts\viewroot\src\main\java\com\sun\faces\test\agnostic\vdl
        Adding test\agnostic\vdl\facelets\contracts\viewroot\src\main\java\com\sun\faces\test\agnostic\vdl\facelets
        Adding test\agnostic\vdl\facelets\contracts\viewroot\src\main\java\com\sun\faces\test\agnostic\vdl\facelets\contracts
        Adding test\agnostic\vdl\facelets\contracts\viewroot\src\main\java\com\sun\faces\test\agnostic\vdl\facelets\contracts\viewroot
        Adding test\agnostic\vdl\facelets\contracts\viewroot\src\main\java\com\sun\faces\test\agnostic\vdl\facelets\contracts\viewroot\ViewRootContractsELBean.java
        Adding test\agnostic\vdl\facelets\contracts\viewroot\src\main\webapp\viewRootContractsEL.xhtml
        Adding test\agnostic\vdl\facelets\contracts\viewroot\src\test\java\com\sun\faces\test\agnostic\vdl\facelets\contracts\viewroot\Issue2736IT.java
        Transmitting file data ....
        Committed revision 11598.

        Show
        Manfred Riem added a comment - Applied to 2.2 trunk, svn commit -m "Fixes http://java.net/jira/browse/JAVASERVERFACES-2736 , r=rogerk, make sure <f:view contracts attribute handles null properly." Sending jsf-ri\src\main\java\com\sun\faces\facelets\tag\jsf\core\ViewHandler.java Adding test\agnostic\vdl\facelets\contracts\viewroot\src\main\java Adding test\agnostic\vdl\facelets\contracts\viewroot\src\main\java\com Adding test\agnostic\vdl\facelets\contracts\viewroot\src\main\java\com\sun Adding test\agnostic\vdl\facelets\contracts\viewroot\src\main\java\com\sun\faces Adding test\agnostic\vdl\facelets\contracts\viewroot\src\main\java\com\sun\faces\test Adding test\agnostic\vdl\facelets\contracts\viewroot\src\main\java\com\sun\faces\test\agnostic Adding test\agnostic\vdl\facelets\contracts\viewroot\src\main\java\com\sun\faces\test\agnostic\vdl Adding test\agnostic\vdl\facelets\contracts\viewroot\src\main\java\com\sun\faces\test\agnostic\vdl\facelets Adding test\agnostic\vdl\facelets\contracts\viewroot\src\main\java\com\sun\faces\test\agnostic\vdl\facelets\contracts Adding test\agnostic\vdl\facelets\contracts\viewroot\src\main\java\com\sun\faces\test\agnostic\vdl\facelets\contracts\viewroot Adding test\agnostic\vdl\facelets\contracts\viewroot\src\main\java\com\sun\faces\test\agnostic\vdl\facelets\contracts\viewroot\ViewRootContractsELBean.java Adding test\agnostic\vdl\facelets\contracts\viewroot\src\main\webapp\viewRootContractsEL.xhtml Adding test\agnostic\vdl\facelets\contracts\viewroot\src\test\java\com\sun\faces\test\agnostic\vdl\facelets\contracts\viewroot\Issue2736IT.java Transmitting file data .... Committed revision 11598.

          People

          • Assignee:
            Manfred Riem
            Reporter:
            arungupta
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: