Has anyone around gotten Openfaces 3.0 to run on WebSphere 7.0?
I keep on getting the following error:
java.lang.NullPointerException
at javax.faces.application.ResourceWrapper.getRequestPath(ResourceWrapper.java:118)
at org.openfaces.application.OpenFacesResource.getRequestPath(OpenFacesResource.java:36)
at org.openfaces.util.Resources.getInternalURL(Resources.java:133)
at org.openfaces.util.Resources.getUtilJsURL(Resources.java:234)
at org.openfaces.util.UtilPhaseListener.appendHeaderContent(UtilPhaseListener.java:60)
at org.openfaces.application.OpenFacesApplication.headAddedToView(OpenFacesApplication.java:79)
Any ideas? Thanks in advance.
floshton.
I don't do OpenFaces/Websphere, so I can't go in detail about this, but given the fact that
ResourceWrapper#getRequestPath()
delegates as per its source code the call as followsWhere
ResourceWrapper#getWrapped()
is an abstract method which is to be implemented properly by the implementor. Given the trace, it's theorg.openfaces.application.OpenFacesResource
which is incorrectly returningnull
ongetWrapped()
.What the underlying cause is, is unclear since I don't have the hands on OpenFaces source code directly. I'd start by reporting this issue to the OpenFaces guys on their forum and/or issue tracker.