Details
Description
After hotdeployment in Weblogic, Liferay Portlets are not working proper, since Icefaces throws a Nullpointer-Exception.
The method org.icefaces.impl.util.DOMUtils.isWhitespaceText must check for null values to be null safe and to prevent this error!
<20.09.2012 09:25 Uhr MESZ> <Error> <javax.enterprise.resource.webcontainer.jsf.application> <BEA-000000> <Error Rendering View[/suchergebnis.xhtml]
java.lang.NullPointerException
at org.icefaces.impl.util.DOMUtils.isWhitespaceText(DOMUtils.java:394)
at org.icefaces.impl.util.DOMUtils.printNode(DOMUtils.java:351)
at org.icefaces.impl.util.DOMUtils.printNode(DOMUtils.java:355)
at org.icefaces.impl.util.DOMUtils.printNode(DOMUtils.java:355)
at org.icefaces.impl.util.DOMUtils.printNode(DOMUtils.java:355)
Truncated. see log file for complete stacktrace
>
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
Resolving as fixed. Added check for null value of text nodes when evaluating whitespace.