Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 2.0.0
-
Fix Version/s: 2.0.1
-
Component/s: ACE-Components
-
Labels:None
-
Environment:ICEfaces
Description
The following stack trace may be observed:
java.lang.NullPointerException
at org.icefaces.component.fileentry.PushUtils.getProgressResourcePath(PushUtils.java:88)
at org.icefaces.component.fileentry.FileEntry.storeConfigForNextLifecycle(FileEntry.java:117)
at org.icefaces.component.fileentry.FileEntryRenderer.encodeBegin(FileEntryRenderer.java:43)
at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:824)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1641)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1646)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1646)
at com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:389)
at com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:127)
at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:117)
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:97)
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:135)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:309)
java.lang.NullPointerException
at org.icefaces.component.fileentry.PushUtils.getProgressResourcePath(PushUtils.java:88)
at org.icefaces.component.fileentry.FileEntry.storeConfigForNextLifecycle(FileEntry.java:117)
at org.icefaces.component.fileentry.FileEntryRenderer.encodeBegin(FileEntryRenderer.java:43)
at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:824)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1641)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1646)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1646)
at com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:389)
at com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:127)
at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:117)
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:97)
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:135)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:309)
This exception is displayed if fileEntry is not included within a form. The lack of a form should not block rendering of the entire page, but should disable the fileEntry component. In development mode a facesMessage should indicate that fileEntry requires a form.