voyent
InputFile actionlistner is not calling  XML
Forum Index -> Components
Author Message
nsanagari

Joined: 19/Oct/2008 00:00:00
Messages: 80
Offline


hi

i am using the ICEFaces 1.8.1.when i am trying to upload a file i am getting the following exception

11:49:48,044 INFO [STDOUT] *********** In Side Progress Listener *************8
11:49:48,045 INFO [STDOUT] inputFileComponentcom.icesoft.faces.component.inputfile.InputFile@25303
11:49:48,045 INFO [STDOUT] inputFileComponent.getFileInfo()FileInfo: {
percent=0,
preUpload=false,
postUpload=false,
exception=null,
fileName=null,
file=null,
physicalPath=null,
contentType=null,
size=0,
status=1
}
11:49:48,045 INFO [STDOUT] percent0
11:49:48,104 INFO [STDOUT] percentafterRender0
11:49:48,105 INFO [STDOUT] ---------------End of Progress Listener ------------------
11:49:48,105 WARN [lifecycle] executePhase(RENDER_RESPONSE 6,com.icesoft.faces.context.BridgeFacesContext@14be8c5) threw exception
java.lang.NullPointerException
at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:83)
at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
at com.icesoft.faces.webapp.xmlhttp.PersistentFacesState.render(PersistentFacesState.java:176)
at com.icesoft.faces.webapp.xmlhttp.PersistentFacesState.executeAndRender(PersistentFacesState.java:301)
at com.icesoft.faces.webapp.xmlhttp.PersistentFacesState.setupAndExecuteAndRender(PersistentFacesState.java:312)
at com.icesoft.faces.webapp.xmlhttp.PersistentFacesState$RenderRunner.run(PersistentFacesState.java:431)
at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
at java.lang.Thread.run(Thread.java:595)

11:49:48,193 INFO [STDOUT] percentafterRender100
11:49:48,193 INFO [STDOUT] ---------------End of Progress Listener ------------------
11:49:48,193 WARN [lifecycle] executePhase(INVOKE_APPLICATION 5,com.icesoft.faces.context.BridgeFacesContext@14be8c5) threw exception
javax.faces.FacesException
at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:105)
at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
at com.icesoft.faces.webapp.xmlhttp.PersistentFacesState.execute(PersistentFacesState.java:279)
at com.icesoft.faces.webapp.xmlhttp.PersistentFacesState.executeAndRender(PersistentFacesState.java:300)
at com.icesoft.faces.webapp.xmlhttp.PersistentFacesState.setupAndExecuteAndRender(PersistentFacesState.java:312)
at com.icesoft.faces.webapp.xmlhttp.PersistentFacesState$RenderRunner.run(PersistentFacesState.java:431)
at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.NullPointerException
at javax.faces.event.MethodExpressionActionListener.processAction(MethodExpressionActionListener.java:87)
at javax.faces.event.ActionEvent.processListener(ActionEvent.java:77)
at javax.faces.component.UIComponentBase.broadcast(UIComponentBase.java:776)
at javax.faces.component.UICommand.broadcast(UICommand.java:368)
at com.icesoft.faces.component.inputfile.InputFile.broadcast(InputFile.java:150)
at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:450)
at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:759)
at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:97)
... 9 more


i am using actionListener and progressListener. ProgressListener is working properly but when comes to actionListener it is giving the above exception.And more importently i am calling any valuechangeListener then that actionListener is getting called at that instant.
what is the problem i cant understand plz help

thanks in adnvance

regards
nsanagari
 
Forum Index -> Components
Go to:   
Powered by JForum 2.1.7ice © JForum Team