ICEfaces
  1. ICEfaces
  2. ICE-11254

ace:fileEntry - Script error 'Cannot read property javax.faces.ViewState of null' thrown

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: EE-3.3.0.GA_P04
    • Fix Version/s: EE-3.3.0.GA_P05
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      All

      Description

      A customer is seeing an issue where a script error is thrown when they are changing the contents of an ace:tabSet dynamically. If the content contains an ace:fileEntry component and the new content does not, the following script error is thrown:

      Cannot read property 'javax.faces.ViewState' of null

      This looks to be coming from the fixes made in ICE-11105. The customer isn't using MyFaces.

        Activity

        Hide
        Arran Mccullough added a comment -

        Uploaded word doc showing the error from the customer.

        Show
        Arran Mccullough added a comment - Uploaded word doc showing the error from the customer.
        Hide
        Mircea Toma added a comment -

        Modified ice.ace.fixViewState() function to test for the existence of the looked up form before trying to add the missing view state holder back into the form.

        Show
        Mircea Toma added a comment - Modified ice.ace.fixViewState() function to test for the existence of the looked up form before trying to add the missing view state holder back into the form.

          People

          • Assignee:
            Mircea Toma
            Reporter:
            Arran Mccullough
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: