ICEfaces
  1. ICEfaces
  2. ICE-3507

NullPointerException being thrown in BridgeFacesContext.getMessages

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.7.1
    • Fix Version/s: 1.7.2
    • Component/s: Framework
    • Labels:
      None
    • Environment:
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2)
      Classic VM (build 1.4.2, J2RE 1.4.2 IBM AIX 5L for PowerPC (64 bit JVM) build
      caix64142-20050609

      Description

      The following method has been thrown in a certain JVM, it is not evident that it is the JVM is the cause but a simple NPE check would solve this issue either way.

      Method code:
      public Iterator getMessages() {

              // Jira #1358 The hashmap contains vectors of FacesMessages, not
      FacesMessages
              // See following method.
              ArrayList buffer = new ArrayList();
              Iterator i = faceMessages.values().iterator(); <-- NPE being thrown here.
              while (i.hasNext()) {
                  buffer.addAll((Vector) i.next());
              }
              return buffer.iterator();
          }

        Activity

        Arran Mccullough created issue -
        Arran Mccullough made changes -
        Field Original Value New Value
        Support Customer Ref. #s https://www.icesoft.ca:4443/supportilla/show_bug.cgi?id=5066
        Ken Fyten made changes -
        Fix Version/s 1.7.2 [ 10130 ]
        Assignee Priority P1
        Assignee Adnan Durrani [ adnan.durrani ]
        Adnan Durrani made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Adnan Durrani made changes -
        Assignee Adnan Durrani [ adnan.durrani ] Ted Goddard [ ted.goddard ]
        Adnan Durrani made changes -
        Status In Progress [ 3 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Assignee Priority P1
        Assignee Ted Goddard [ ted.goddard ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Arran Mccullough
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: