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)
Added code to detect the lack of a parent form, and then do the standard behavior of throwing an appropriate FacesException, which results in the debug page showing what's wrong. So now it's much more clear what's wrong.
Subversion 24119