You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2011/03/18 06:47:46 UTC

DO NOT REPLY [Bug 50944] New: JSF: java.lang.NullPointerException at com.sun.faces.context.flash.ELFlash.loggingGetPhaseMapForWriting

https://issues.apache.org/bugzilla/show_bug.cgi?id=50944

           Summary: JSF: java.lang.NullPointerException at
                    com.sun.faces.context.flash.ELFlash.loggingGetPhaseMap
                    ForWriting
           Product: Tomcat 7
           Version: 7.0.10
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: blocker
          Priority: P2
         Component: Integration
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: ydkalyan@gmail.com


hi, 
I am facing this below issue in JSF 2.0 + Spring + Hibernate + Apache Tomcat
7.x environment. can you anybody help me to fix it. 
java.lang.NullPointerException 
at
com.sun.faces.context.flash.ELFlash.loggingGetPhaseMapForWriting(ELFlash.java:749) 
at com.sun.faces.context.flash.ELFlash.getPhaseMapForWriting(ELFlash.java:783) 
at com.sun.faces.context.flash.ELFlash.isEmpty(ELFlash.java:482) 
at com.sun.faces.facelets.util.DevTools.writeVariables(DevTools.java:322) 
at com.sun.faces.facelets.util.DevTools.writeVariables(DevTools.java:212) 
at com.sun.faces.facelets.util.DevTools.debugHtml(DevTools.java:127) 
at
com.sun.faces.renderkit.RenderKitUtils.renderHtmlErrorPage(RenderKitUtils.java:1139) 
at
com.sun.faces.context.ExceptionHandlerImpl.throwIt(ExceptionHandlerImpl.java:249) 
at
com.sun.faces.context.ExceptionHandlerImpl.handle(ExceptionHandlerImpl.java:136) 
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:115) 
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:135) 
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:335) 
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304) 
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) 
at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684) 
at
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:471) 
at
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:402) 
at
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:329) 
at
com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:542) 
at
com.sun.faces.application.view.JspViewHandlingStrategy.executePageToBuildView(JspViewHandlingStrategy.java:359) 
at
com.sun.faces.application.view.JspViewHandlingStrategy.buildView(JspViewHandlingStrategy.java:150) 
at
com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:96) 
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:335) 
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304) 
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) 
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:240) 
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:164) 
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164) 
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100) 
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:562) 
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) 
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:394) 
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:243) 
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:188) 
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:166) 
at
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:302) 
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) 
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) 
at java.lang.Thread.run(Thread.java:619)

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 50944] JSF: java.lang.NullPointerException at com.sun.faces.context.flash.ELFlash.loggingGetPhaseMapForWriting

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=50944

sherry slover <sh...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |VERIFIED

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


DO NOT REPLY [Bug 50944] JSF: java.lang.NullPointerException at com.sun.faces.context.flash.ELFlash.loggingGetPhaseMapForWriting

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=50944

--- Comment #1 from ydkalyan <yd...@gmail.com> 2011-03-18 01:53:42 EDT ---
java.lang.NullPointerException at
com.sun.faces.context.flash.ELFlash.loggingGetPhaseMapForWriting


it is not allowing me to see the index page. all the code is based on JSF and
Spring. as of i know tomcat 7.0.10 is supporting JSF and Spring integration.
when i added some navigation rules in the faces-config.xml and some jsp changes
in the index.jsp. i was stuck up with the above specified exception and it is
continues 2 mins as long as i hit the URL in the browser. finally i result with
the above exception.


please help me to fix it. thanks in advance for any kind of help.

regards,
kalyan

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


DO NOT REPLY [Bug 50944] JSF: java.lang.NullPointerException at com.sun.faces.context.flash.ELFlash.loggingGetPhaseMapForWriting

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=50944

Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID

--- Comment #2 from Mark Thomas <ma...@apache.org> 2011-03-19 06:32:44 EDT ---
Bugzilla is not a support forum. Please use the appropriate users mailing list.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


DO NOT REPLY [Bug 50944] JSF: java.lang.NullPointerException at com.sun.faces.context.flash.ELFlash.loggingGetPhaseMapForWriting

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=50944

Hemanth <ve...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |venkatahemanthyad@gmail.com

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org