-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: liferay-faces-2.1.3-ga4, liferay-faces-3.0.3-legacy-ga4, liferay-faces-3.0.3-ga4, liferay-faces-3.1.3-ga4
-
Component/s: Liferay Faces Bridge Impl / Demos / Tests
-
Labels:None
Steps to Reproduce:
1. Deploy the icefaces3-ipc-ajax-push portlet
2. Add the "ICEfaces3 IPC Ajax Push - Customers" and "ICEfaces3 IPC Ajax Push - Bookings" portlets to the portal page
3. Reload the page
If the bug still exists, then the following exception will occur:
java.lang.NullPointerException
at com.liferay.faces.bridge.renderkit.html_basic.HeadResource.initialize(HeadResource.java:80)
at com.liferay.faces.bridge.renderkit.html_basic.HeadResource.<init>(HeadResource.java:75)
at com.liferay.faces.bridge.container.liferay.LiferaySharedPageTop$SharedPageTopHandler.startElement(LiferaySharedPageTop.java:203)
at com.liferay.faces.util.xml.XMLReaderImpl.parse(XMLReaderImpl.java:223)
at com.liferay.faces.util.xml.XMLReaderImpl.parse(XMLReaderImpl.java:86)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:395)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:198)
at com.liferay.faces.bridge.container.liferay.LiferaySharedPageTop.<init>(LiferaySharedPageTop.java:81)
at com.liferay.faces.bridge.container.liferay.PortletContainerLiferayCompatImpl.afterPhase(PortletContainerLiferayCompatImpl.java:66)
at com.liferay.faces.bridge.event.PortletContainerProxyPhaseListener.afterPhase(PortletContainerProxyPhaseListener.java:40)
at com.sun.faces.lifecycle.Phase.handleAfterPhase(Phase.java:189)
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:107)
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
at com.liferay.faces.bridge.BridgePhaseRenderImpl.execute(BridgePhaseRenderImpl.java:227)
at com.liferay.faces.bridge.BridgePhaseRenderImpl.execute(BridgePhaseRenderImpl.java:85)
at com.liferay.faces.bridge.BridgeImpl.doFacesRequest(BridgeImpl.java:112)
at javax.portlet.faces.GenericFacesPortlet.doView(GenericFacesPortlet.java:255)
at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:328)
at javax.portlet.faces.GenericFacesPortlet.doDispatch(GenericFacesPortlet.java:204)
at javax.portlet.GenericPortlet.render(GenericPortlet.java:233)
The reason why the NullPointerException is thrown is because ICEpush adds a <style>...</style> resource that is not based on a URL:
<style type="text/css">
.ice-blockui-overlay {position: absolute;background-color: white;z-index: 28000;opacity: 0.22;filter: alpha(opacity = 22);}
.ice-status-indicator-overlay {position: absolute;background-color: white;z-index: 28000;opacity: 0.22;filter: alpha(opacity = 22);}
</style>
- relates
-
FACES-1622 icefaces3-ipc-ajax-push-portlet not working
-
- Closed
-