Details
-
Type: Bug
-
Status: Closed
-
Priority: 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();
}
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 ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #17641 | Thu Sep 25 10:08:15 MDT 2008 | adnan.durrani | Fix for |
Files Changed | ||||
MODIFY
/icefaces/branches/icefaces-1.7/icefaces/core/src/com/icesoft/faces/context/BridgeFacesContext.java
|
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #17642 | Thu Sep 25 10:09:31 MDT 2008 | adnan.durrani | Fix for |
Files Changed | ||||
MODIFY
/icefaces/trunk/icefaces/core/src/com/icesoft/faces/context/BridgeFacesContext.java
|
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 ] |
Looks like a good fix.