Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.1.8
    • Fix Version/s: 1.1.9
    • Component/s: UISaveState
    • Labels:
      None
    • Environment:
      tomcat 6.0.18, myfaces 1.2.5, tomahawk 1.1.8 for jsf 1.2

      Description

      Migrating from jsf1.1 to 1.2 I had the following issue:

      Caused by: java.lang.NullPointerException
      at org.apache.myfaces.custom.htmlTag.HtmlTagRenderer.encodeBegin(HtmlTagRenderer.java:78)
      at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:596)
      ... 49 more
      [2008-12-30 22:43:01,640] [http-8080-2] [WARN ] org.apache.myfaces.renderkit.html.util.ReducedHTMLParser - Invalid tag found: unexpected input while looking for attr name or '/>' at line 42. Surroundings: '<!DOCTYPE html PUBLIC "-//W3C/'.

      Reason:

      Worked in jsf1.1:
      ...
      <t:saveState value="#

      {projectsBean}"/>
      <h:form>
      ...

      Now causes a NPE. So I had to exchange the directives to:
      ...
      <h:form>
      <t:saveState value="#{projectsBean}

      "/>
      ...

      Took me 1 full day...

        Activity

        Andrej Konkow created issue -
        Leonardo Uribe made changes -
        Field Original Value New Value
        Resolution Fixed [ 1 ]
        Assignee Leonardo Uribe [ lu4242 ]
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 1.1.9-SNAPSHOT [ 12313508 ]
        Leonardo Uribe made changes -
        Fix Version/s 1.1.9 [ 12314035 ]
        Fix Version/s 1.1.9-SNAPSHOT [ 12313508 ]
        Leonardo Uribe made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Leonardo Uribe
            Reporter:
            Andrej Konkow
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development