Hi.,
  Yes I saw the OutOfMemoryError but i don't no why it occurs only if with
some pages and moreover it occurs only when I use a form with enctype like
this

<h:form enctype="multipart/form-data">

Also could you plz tell me how you solved this problem with
OutOfMemoryError?

Thanks
Lisa



H. Swaczinna wrote:
> 
> Hi,
> 
> have you seen the OutOfMemoryError at the end of the stacktrace?
> 
> Regards
> Helmut
> 
> 
>>
>>Hi.,
>>
>>  I have the same problem. 
>>
>>Did you find any solution for this?
>>
>>Envirnoment:  Seam 1.1.6, ajax4jsf1.1.0rc1, MyFaces 1.1.4, Tomahawk 1.1.3 
>>
>>
>>Thanks.
>>
>>
>>Madhav Bhargava-2 wrote:
>>> 
>>> 
>>> Hi All,
>>> 
>>> 
>>> 
>>> 
>>> Till now the application was working fine. Since 3 hrs I have been
>>> getting the following exception when navigating to different pages. The
>>> exception is thrown at any arbitrary JSF page so I am unable to trace
>>> anything.
>>> 
>>> I googled this exception and found that there was a patch released in
>>> the nightly build sometime back.  I took the latest nightly build out
>>> but I am still getting the same exception.
>>> 
>>> 
>>> 
>>> 
>>> Stack Trace:
>>> 
>>> 
>>> 
>>> 
>>> 929975 ERROR [http-0.0.0.0-8080-2]
>>> org.apache.myfaces.lifecycle.PhaseListenerManager       - Exception in
>>> PhaseListener RESTORE_VIEW(1) afterPhase
>>> 
>>>  java.lang.NullPointerException
>>> 
>>>             at
>>> org.apache.shale.remoting.faces.RemotingPhaseListener.afterPhase(Remotin
>>> gPhaseListener.java:87)
>>> 
>>>             at
>>> org.apache.myfaces.lifecycle.PhaseListenerManager.informPhaseListenersAf
>>> ter(PhaseListenerManager.java:92)
>>> 
>>>             at
>>> org.apache.myfaces.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.ja
>>> va:99)
>>> 
>>>             at
>>> org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:70
>>> )
>>> 
>>>             at
>>> javax.faces.webapp.FacesServlet.service(FacesServlet.java:139)
>>> 
>>>             at
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
>>> tionFilterChain.java:252)
>>> 
>>>             at
>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
>>> erChain.java:173)
>>> 
>>>             at
>>> org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFil
>>> ter.java:100)
>>> 
>>>             at
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
>>> tionFilterChain.java:202)
>>> 
>>>             at
>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
>>> erChain.java:173)
>>> 
>>>             at
>>> org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFil
>>> ter.java:190)
>>> 
>>>             at
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
>>> tionFilterChain.java:202)
>>> 
>>>             at
>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
>>> erChain.java:173)
>>> 
>>>             at
>>> org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilte
>>> r.java:81)
>>> 
>>>             at
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
>>> tionFilterChain.java:202)
>>> 
>>>             at
>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
>>> erChain.java:173)
>>> 
>>>             at
>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
>>> e.java:213)
>>> 
>>>             at
>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
>>> e.java:178)
>>> 
>>>             at
>>> org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipa
>>> lValve.java:39)
>>> 
>>>             at
>>> org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAs
>>> sociationValve.java:159)
>>> 
>>>             at
>>> org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.j
>>> ava:59)
>>> 
>>>             at
>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
>>> :126)
>>> 
>>>             at
>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
>>> :105)
>>> 
>>>             at
>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
>>> java:107)
>>> 
>>>             at
>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:1
>>> 48)
>>> 
>>>             at
>>> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:85
>>> 6)
>>> 
>>>             at
>>> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processC
>>> onnection(Http11Protocol.java:744)
>>> 
>>>             at
>>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint
>>> .java:527)
>>> 
>>>             at
>>> org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorker
>>> Thread.java:112)
>>> 
>>>             at java.lang.Thread.run(Thread.java:595)
>>> 
>>> 929975 ERROR [http-0.0.0.0-8080-2]
>>> org.apache.myfaces.lifecycle.PhaseListenerManager       - Exception in
>>> PhaseListener RESTORE_VIEW(1) afterPhase
>>> 
>>>  java.lang.NullPointerException
>>> 
>>>             at
>>> com.sun.j2ee.blueprints.ui.util.ResourcePhaseListener.afterPhase(Resourc
>>> ePhaseListener.java:127)
>>> 
>>>             at
>>> org.apache.myfaces.lifecycle.PhaseListenerManager.informPhaseListenersAf
>>> ter(PhaseListenerManager.java:92)
>>> 
>>>             at
>>> org.apache.myfaces.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.ja
>>> va:99)
>>> 
>>>             at
>>> org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:70
>>> )
>>> 
>>>             at
>>> javax.faces.webapp.FacesServlet.service(FacesServlet.java:139)
>>> 
>>>             at
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
>>> tionFilterChain.java:252)
>>> 
>>>             at
>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
>>> erChain.java:173)
>>> 
>>>             at
>>> org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFil
>>> ter.java:100)
>>> 
>>>             at
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
>>> tionFilterChain.java:202)
>>> 
>>>             at
>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
>>> erChain.java:173)
>>> 
>>>             at
>>> org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFil
>>> ter.java:190)
>>> 
>>>             at
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
>>> tionFilterChain.java:202)
>>> 
>>>             at
>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
>>> erChain.java:173)
>>> 
>>>             at
>>> org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilte
>>> r.java:81)
>>> 
>>>             at
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
>>> tionFilterChain.java:202)
>>> 
>>>             at
>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
>>> erChain.java:173)
>>> 
>>>             at
>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
>>> e.java:213)
>>> 
>>>             at
>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
>>> e.java:178)
>>> 
>>>             at
>>> org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipa
>>> lValve.java:39)
>>> 
>>>             at
>>> org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAs
>>> sociationValve.java:159)
>>> 
>>>             at
>>> org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.j
>>> ava:59)
>>> 
>>>             at
>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
>>> :126)
>>> 
>>>             at
>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
>>> :105)
>>> 
>>>             at
>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
>>> java:107)
>>> 
>>>             at
>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:1
>>> 48)
>>> 
>>>             at
>>> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:85
>>> 6)
>>> 
>>>             at
>>> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processC
>>> onnection(Http11Protocol.java:744)
>>> 
>>>             at
>>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint
>>> .java:527)
>>> 
>>>             at
>>> org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorker
>>> Thread.java:112)
>>> 
>>>             at java.lang.Thread.run(Thread.java:595)
>>> 
>>> 929990 ERROR [http-0.0.0.0-8080-2]
>>> org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/ehr].[F
>>> aces Servlet]       - Servlet.service() for servlet Faces Servlet threw
>>> exception
>>> 
>>>  java.lang.OutOfMemoryError: Java heap space
>>> 
>>> 
>>> 
>>> 
>>> What can be the reason for this exception? Any help will be appreciated.
>>> 
>>> 
>>> 
>>> 
>>> Rgds,
>>> 
>>> madhav
>>> 
>>> 
>>> 
>>> **************** CAUTION - Disclaimer *****************
>>> This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended
>>> solely for the use of the addressee(s). If you are not the intended
>>> recipient, please notify the sender by e-mail and delete the original
>>> message. Further, you are not to copy, disclose, or distribute this
>>> e-mail
>>> or its contents to any other person and any such actions are unlawful.
>>> This e-mail may contain viruses. Infosys has taken every reasonable
>>> precaution to minimize this risk, but is not liable for any damage you
>>> may
>>> sustain as a result of any virus in this e-mail. You should carry out
>>> your
>>> own virus checks before opening the e-mail or attachment. Infosys
>>> reserves
>>> the right to monitor and review the content of all messages sent to or
>>> from this e-mail address. Messages sent to or from this e-mail address
>>> may
>>> be stored on the Infosys e-mail system.
>>> ***INFOSYS******** End of Disclaimer ********INFOSYS***
>>> 
>>
>>-- 
>>View this message in context: 
>>http://www.nabble.com/NullPointerException-in-org.apache.myfaces.lifecycle.Phas
>>eListenerManager-during--RESTORE_STATE-tf2960249.html#a9617409
>>Sent from the MyFaces - Users mailing list archive at Nabble.com.
>>
> 
> 

-- 
View this message in context: 
http://www.nabble.com/NullPointerException-in-org.apache.myfaces.lifecycle.PhaseListenerManager-during--RESTORE_STATE-tf2960249.html#a9630471
Sent from the MyFaces - Users mailing list archive at Nabble.com.

Reply via email to