Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0-Beta1
    • Fix Version/s: 2.0-Beta2, 2.0.0
    • Component/s: Framework
    • Labels:
      None
    • Environment:
      Tomcat 7
    • Workaround Exists:
      Yes
    • Workaround Description:
      Checking for null in the converter

      Description

      We have created a JSF2 training application. After adding ICEfaces to the application, a NPE is thrown when loading the main page.

      The custom converter was throwing an NPE when switched from h:inputText to ice:inputText. The incoming string on the page load was null rather than "" (empty string). Checking for null in the converter works around this but the behaviour is different from JSF 2.0.

        Activity

        Hide
        Ken Fyten added a comment -

        Brad please attach a simple test case that illustrates this issue.

        Show
        Ken Fyten added a comment - Brad please attach a simple test case that illustrates this issue.
        Hide
        Brad Kroeger added a comment -

        Tested again with 2.0-Beta2, can no longer reproduce the NPE

        Show
        Brad Kroeger added a comment - Tested again with 2.0-Beta2, can no longer reproduce the NPE

          People

          • Assignee:
            Ken Fyten
            Reporter:
            Brad Kroeger
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: