]
Anton Belevich commented on RF-1555:
------------------------------------
pls provide page
NullPointerException
--------------------
Key: RF-1555
URL:
http://jira.jboss.com/jira/browse/RF-1555
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.1.2
Environment: Fedora Core 6
Sun JRE 1.5.0_11-b03
JBoss AP 4.2.0.GA CP01
RichFaces 3.1.2 (downloaded binaries)
FireFox 2.0.0.11
Reporter: Steven Shearer
Assigned To: Anton Belevich
Fix For: 3.2.0
I'm seeing the following NPE sporadically occur at web application startup when using
the RichFaces downloaded binaries.
13:21:07,788 INFO [Server] JBoss (MX MicroKernel) [4.2.0.GA_CP01 (build:
SVNTag=JBPAPP_4_2_0_GA_CP01 date=200709131706)] Started in 37s:806ms
13:22:14,746 WARN [SkinFactoryImpl] Init parameter for a skin name changed to
org.richfaces.SKIN
13:22:14,914 FATAL [lifecycle] JSF1054: (Phase ID: RENDER_RESPONSE 6, View ID: /view.jsp)
Exception thrown during phase execution:
javax.faces.event.PhaseEvent[source=com.sun.faces.lifecycle.LifecycleImpl@d377df]
13:22:14,914 ERROR [[FacesServlet]] Servlet.service() for servlet FacesServlet threw
exception
java.lang.NullPointerException
at
org.ajax4jsf.renderkit.HeaderResourcesRendererBase.getUrisSet(HeaderResourcesRendererBase.java:99)
at
org.ajax4jsf.renderkit.HeaderResourcesRendererBase.getHeaderScripts(HeaderResourcesRendererBase.java:52)
at
org.ajax4jsf.context.AjaxContextImpl.processHeadResources(AjaxContextImpl.java:442)
at
org.ajax4jsf.context.AjaxContextImpl.processHeadResources(AjaxContextImpl.java:459)
at
org.ajax4jsf.context.AjaxContextImpl.processHeadResources(AjaxContextImpl.java:366)
at org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:245)
at
com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:110)
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:141)
at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:281)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
at
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
at
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:595)
2007-12-07 14:44:17,492 DEBUG [org.ajax4jsf.webapp.BaseFilter] Filter start request
processing at 12/7/07 2:44 PM for uri: /richfaces-portlet/faces/view.jsp
2007-12-07 14:44:17,492 DEBUG [org.ajax4jsf.webapp.BaseFilter] Filter request output to
XML
2007-12-07 14:44:17,492 DEBUG [org.ajax4jsf.webapp.BaseXMLFilter] XML filter service
start processing request
2007-12-07 14:44:17,521 DEBUG [org.ajax4jsf.event.AjaxPhaseListener] Process before phase
RESTORE_VIEW 1
2007-12-07 14:44:17,521 DEBUG [org.ajax4jsf.event.InitPhaseListener] Perform additional
framework initialization on first request
2007-12-07 14:44:17,538 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository,
repository=org.jboss.mx.loading.HeirarchicalLoaderRepository3@e29127,
cl=org.jboss.mx.loading.HeirarchicalLoaderRepository3$CacheClassLoader@140b47a{ url=null
,addedOrder=0}
2007-12-07 14:44:17,568 DEBUG [org.ajax4jsf.event.InitPhaseListener] Remove init phase
listener from factories
2007-12-07 14:44:17,568 DEBUG [org.ajax4jsf.event.AjaxPhaseListener] Process after phase
RESTORE_VIEW 1
2007-12-07 14:44:17,570 DEBUG [org.ajax4jsf.event.AjaxPhaseListener] Process before phase
RENDER_RESPONSE 6
2007-12-07 14:44:17,570 DEBUG [org.ajax4jsf.event.AjaxPhaseListener] PhaseListener enter
Before RenderView Phase with ViewId /view.jsp and RenderKitId HTML_BASIC
2007-12-07 14:44:17,572 DEBUG [org.richfaces.skin.SkinFactory] Class name for SkinFactory
set to org.richfaces.skin.SkinFactoryImpl by META-INF/services
2007-12-07 14:44:17,576 WARN [org.richfaces.skin.SkinFactoryImpl] Init parameter for a
skin name changed to org.richfaces.SKIN
2007-12-07 14:44:17,577 DEBUG [org.richfaces.skin.SkinFactoryImpl] Create new Skin
instance for name blueSky
2007-12-07 14:44:17,588 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository,
repository=org.jboss.mx.loading.HeirarchicalLoaderRepository3@e29127,
cl=org.jboss.mx.loading.HeirarchicalLoaderRepository3$CacheClassLoader@17000ed{ url=null
,addedOrder=0}
2007-12-07 14:44:17,589 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository,
repository=org.jboss.mx.loading.HeirarchicalLoaderRepository3@e29127,
cl=org.jboss.mx.loading.HeirarchicalLoaderRepository3$CacheClassLoader@cc6798{ url=null
,addedOrder=0}
2007-12-07 14:44:17,589 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository,
repository=org.jboss.mx.loading.HeirarchicalLoaderRepository3@e29127,
cl=org.jboss.mx.loading.HeirarchicalLoaderRepository3$CacheClassLoader@1a52c90{ url=null
,addedOrder=0}
2007-12-07 14:44:17,589 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository,
repository=org.jboss.mx.loading.HeirarchicalLoaderRepository3@e29127,
cl=org.jboss.mx.loading.HeirarchicalLoaderRepository3$CacheClassLoader@110d926{ url=null
,addedOrder=0}
2007-12-07 14:44:17,597 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository,
repository=org.jboss.mx.loading.HeirarchicalLoaderRepository3@e29127,
cl=org.jboss.mx.loading.HeirarchicalLoaderRepository3$CacheClassLoader@1f5e42b{ url=null
,addedOrder=0}
2007-12-07 14:44:17,600 DEBUG [org.ajax4jsf.webapp.FilterServletResponseWrapper] Create
StringWriter for buffer servlet output
2007-12-07 14:44:17,623 DEBUG [org.ajax4jsf.webapp.BaseFilter] Filter start request
processing at 12/7/07 2:44 PM for uri: /richfaces-portlet/faces/view.jsp
2007-12-07 14:44:17,624 DEBUG [org.ajax4jsf.webapp.BaseFilter] Filter request output to
XML
2007-12-07 14:44:17,624 DEBUG [org.ajax4jsf.webapp.BaseXMLFilter] XML filter service
start processing request
2007-12-07 14:44:17,624 DEBUG [org.ajax4jsf.event.AjaxPhaseListener] Process before phase
RESTORE_VIEW 1
2007-12-07 14:44:17,624 DEBUG [org.ajax4jsf.event.AjaxPhaseListener] Process after phase
RESTORE_VIEW 1
2007-12-07 14:44:17,624 DEBUG [org.ajax4jsf.event.AjaxPhaseListener] Process before phase
RENDER_RESPONSE 6
2007-12-07 14:44:17,624 DEBUG [org.ajax4jsf.event.AjaxPhaseListener] PhaseListener enter
Before RenderView Phase with ViewId /view.jsp and RenderKitId HTML_BASIC
2007-12-07 14:44:17,625 DEBUG [org.ajax4jsf.webapp.FilterServletResponseWrapper] Create
StringWriter for buffer servlet output
2007-12-07 14:44:17,630 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository,
repository=org.jboss.mx.loading.HeirarchicalLoaderRepository3@e29127,
cl=org.jboss.mx.loading.HeirarchicalLoaderRepository3$CacheClassLoader@3b70c{ url=null
,addedOrder=0}
2007-12-07 14:44:17,696 DEBUG [org.ajax4jsf.renderkit.RendererBase] Start encoding of
component j_id_jsp_657808481_0 with class org.ajax4jsf.component.AjaxViewRoot
2007-12-07 14:44:17,696 DEBUG [org.ajax4jsf.renderkit.RendererBase] Start encoding of
component j_id_jsp_657808481_0 with class org.ajax4jsf.component.AjaxViewRoot
2007-12-07 14:44:17,696 DEBUG [org.ajax4jsf.renderkit.RendererBase] Start encoding of
component j_id_jsp_657808481_1 with class org.ajax4jsf.component.html.AjaxForm
2007-12-07 14:44:17,696 DEBUG [org.ajax4jsf.renderkit.RendererBase] Start encoding of
component j_id_jsp_657808481_1 with class org.ajax4jsf.component.html.AjaxForm
2007-12-07 14:44:17,706 DEBUG [org.ajax4jsf.renderkit.RendererBase] Start encoding of
component j_id_jsp_657808481_1:j_id_jsp_657808481_3 with class
org.ajax4jsf.component.html.HtmlAjaxCommandButton
2007-12-07 14:44:17,706 DEBUG [org.ajax4jsf.renderkit.RendererBase] Start encoding of
component j_id_jsp_657808481_1:j_id_jsp_657808481_3 with class
org.ajax4jsf.component.html.HtmlAjaxCommandButton
2007-12-07 14:44:17,709 DEBUG [org.ajax4jsf.renderkit.AjaxRendererUtils] Build onclick
string for component j_id_jsp_657808481_3 as
A4J.AJAX.Submit('j_id_jsp_657808481_0','j_id_jsp_657808481_1',event,{'parameters':{'j_id_jsp_657808481_1:j_id_jsp_657808481_3':'j_id_jsp_657808481_1:j_id_jsp_657808481_3'}
,'actionUrl':'/richfaces-portlet/faces/view.jsp'} )
2007-12-07 14:44:17,709 DEBUG [org.ajax4jsf.renderkit.AjaxRendererUtils] Build onclick
string for component j_id_jsp_657808481_3 as
A4J.AJAX.Submit('j_id_jsp_657808481_0','j_id_jsp_657808481_1',event,{'parameters':{'j_id_jsp_657808481_1:j_id_jsp_657808481_3':'j_id_jsp_657808481_1:j_id_jsp_657808481_3'}
,'actionUrl':'/richfaces-portlet/faces/view.jsp'} )
2007-12-07 14:44:17,710 DEBUG [org.ajax4jsf.renderkit.RendererBase] Finish encoding of
component j_id_jsp_657808481_1:j_id_jsp_657808481_3 with class
org.ajax4jsf.component.html.HtmlAjaxCommandButton
2007-12-07 14:44:17,710 DEBUG [org.ajax4jsf.renderkit.RendererBase] Finish encoding of
component j_id_jsp_657808481_1:j_id_jsp_657808481_3 with class
org.ajax4jsf.component.html.HtmlAjaxCommandButton
2007-12-07 14:44:17,712 DEBUG [org.ajax4jsf.renderkit.RendererBase] Finish encoding of
component j_id_jsp_657808481_1 with class org.ajax4jsf.component.html.AjaxForm
2007-12-07 14:44:17,712 DEBUG [org.ajax4jsf.renderkit.RendererBase] Finish encoding of
component j_id_jsp_657808481_0 with class org.ajax4jsf.component.AjaxViewRoot
2007-12-07 14:44:17,712 DEBUG [org.ajax4jsf.renderkit.RendererBase] Finish encoding of
component j_id_jsp_657808481_1 with class org.ajax4jsf.component.html.AjaxForm
2007-12-07 14:44:17,712 DEBUG [org.ajax4jsf.renderkit.RendererBase] Finish encoding of
component j_id_jsp_657808481_0 with class org.ajax4jsf.component.AjaxViewRoot
2007-12-07 14:44:17,717 DEBUG [org.ajax4jsf.component.AjaxRegionBrige] Save State of
UIAjaxComponent with Id j_id_jsp_657808481_0
2007-12-07 14:44:17,717 DEBUG [org.ajax4jsf.component.AjaxRegionBrige] Save State of
UIAjaxComponent with Id j_id_jsp_657808481_0
2007-12-07 14:44:17,718 DEBUG [org.ajax4jsf.application.AjaxStateManager] Write view
state to the response
2007-12-07 14:44:17,718 DEBUG [org.ajax4jsf.application.AjaxStateManager] Write view
state to the response
2007-12-07 14:44:17,718 DEBUG [org.ajax4jsf.context.AjaxContext] Process component tree
for collect used scripts and styles
2007-12-07 14:44:17,718 DEBUG [org.ajax4jsf.context.AjaxContext] Process component tree
for collect used scripts and styles
2007-12-07 14:44:17,720 DEBUG [org.ajax4jsf.resource.InternetResourceBuilder] Return
instance of internet resource builder org.ajax4jsf.resource.ResourceBuilderImpl@17485ac
2007-12-07 14:44:17,720 DEBUG [org.ajax4jsf.resource.ResourceBuilderImpl] Build URI for
Resource with key [org.ajax4jsf.javascript.AjaxScript] as :
/richfaces-portlet/faces/a4j_3_1_2.GAorg.ajax4jsf.javascript.AjaxScript
2007-12-07 14:44:17,720 DEBUG [org.ajax4jsf.resource.InternetResourceBuilder] Return
instance of internet resource builder org.ajax4jsf.resource.ResourceBuilderImpl@17485ac
2007-12-07 14:44:17,720 DEBUG [org.ajax4jsf.resource.ResourceBuilderImpl] Build URI for
Resource with key [org/ajax4jsf/javascript/scripts/form.js] as :
/richfaces-portlet/faces/a4j_3_1_2.GAorg/ajax4jsf/javascript/scripts/form.js
2007-12-07 14:44:17,720 DEBUG [org.ajax4jsf.resource.InternetResourceBuilder] Return
instance of internet resource builder org.ajax4jsf.resource.ResourceBuilderImpl@17485ac
2007-12-07 14:44:17,720 DEBUG [org.ajax4jsf.resource.InternetResourceBuilder] Return
instance of internet resource builder org.ajax4jsf.resource.ResourceBuilderImpl@17485ac
2007-12-07 14:44:17,720 DEBUG [org.ajax4jsf.resource.ResourceBuilderImpl] Build URI for
Resource with key [org.ajax4jsf.javascript.AjaxScript] as :
/richfaces-portlet/faces/a4j_3_1_2.GAorg.ajax4jsf.javascript.AjaxScript
2007-12-07 14:44:17,720 DEBUG [org.ajax4jsf.context.AjaxContext] Scripts for insert into
head :
/richfaces-portlet/faces/a4j_3_1_2.GAorg.ajax4jsf.javascript.AjaxScript
/richfaces-portlet/faces/a4j_3_1_2.GAorg/ajax4jsf/javascript/scripts/form.js
2007-12-07 14:44:17,720 DEBUG [org.ajax4jsf.event.AjaxPhaseListener] Process after phase
RENDER_RESPONSE 6
2007-12-07 14:44:17,720 FATAL [javax.enterprise.resource.webcontainer.jsf.lifecycle]
JSF1054: (Phase ID: RENDER_RESPONSE 6, View ID: /view.jsp) Exception thrown during phase
execution:
javax.faces.event.PhaseEvent[source=com.sun.faces.lifecycle.LifecycleImpl@1164721]
2007-12-07 14:44:17,721 DEBUG [org.ajax4jsf.event.AjaxPhaseListener] Process after phase
RENDER_RESPONSE 6
2007-12-07 14:44:17,721 DEBUG [org.ajax4jsf.webapp.BaseXMLFilter] create HTML/XML parser
for content type: text/html
2007-12-07 14:44:17,721 ERROR
[org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/richfaces-portlet].[FacesServlet]]
Servlet.service() for servlet FacesServlet threw exception
java.lang.NullPointerException
at
org.ajax4jsf.renderkit.HeaderResourcesRendererBase.getUrisSet(HeaderResourcesRendererBase.java:99)
at
org.ajax4jsf.renderkit.HeaderResourcesRendererBase.getHeaderScripts(HeaderResourcesRendererBase.java:52)
at org.ajax4jsf.context.AjaxContextImpl.processHeadResources(AjaxContextImpl.java:442)
at org.ajax4jsf.context.AjaxContextImpl.processHeadResources(AjaxContextImpl.java:459)
at org.ajax4jsf.context.AjaxContextImpl.processHeadResources(AjaxContextImpl.java:366)
at org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:245)
at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:110)
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:141)
at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:281)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
at
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:595)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: