Details
Description
java.lang.ClassCastException: java.util.Vector cannot be cast to javax.faces.application.FacesMessage
at javax.faces.component.UIData.hasErrorMessages(UIData.java:554)
at javax.faces.component.UIData.encodeBegin(UIData.java:534)
at javax.faces.component.html.HtmlDataTable.encodeBegin(HtmlDataTable.java:47)
at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:513)
at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:520)
at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:520)
...
Caused by code in the BridgeFacesContext
public Iterator getMessages() {
return faceMessages.values().iterator();
}
The faceMessages hashmap contains a vector of messages, not FacesMessages, therefore the contents of each vector must be concatenated into a return buffer. I have a fix, just need a jira case to commit against.
at javax.faces.component.UIData.hasErrorMessages(UIData.java:554)
at javax.faces.component.UIData.encodeBegin(UIData.java:534)
at javax.faces.component.html.HtmlDataTable.encodeBegin(HtmlDataTable.java:47)
at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:513)
at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:520)
at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:520)
...
Caused by code in the BridgeFacesContext
public Iterator getMessages() {
return faceMessages.values().iterator();
}
The faceMessages hashmap contains a vector of messages, not FacesMessages, therefore the contents of each vector must be concatenated into a return buffer. I have a fix, just need a jira case to commit against.
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
Return an Iterator containing all the messages concatenated together.
Sending BridgeFacesContext.java
Transmitting file data .
Committed revision 13423.