You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "David (JIRA)" <de...@myfaces.apache.org> on 2006/02/26 19:23:57 UTC
[jira] Commented: (MYFACES-1151) NullPointerException from
HtmlRendererUtils first time after logging into a servlet
[ http://issues.apache.org/jira/browse/MYFACES-1151?page=comments#action_12367848 ]
David commented on MYFACES-1151:
--------------------------------
I just realized this is a duplicate of
http://issues.apache.org/jira/browse/MYFACES-1121
Someone please mark it as a duplicate. I don't so how I can.
> NullPointerException from HtmlRendererUtils first time after logging into a servlet
> -----------------------------------------------------------------------------------
>
> Key: MYFACES-1151
> URL: http://issues.apache.org/jira/browse/MYFACES-1151
> Project: MyFaces Core
> Type: Bug
> Versions: 1.1.2-SNAPSHOT
> Environment: JBoss 4.0.4RC1
> MyFaces 1.1.2-SNAPSHOT
> Reporter: David
>
> I just installed JBoss 4.0.4RC1and am now getting an issue with myfaces. (I just upgraded from 4.0.3SP1) When I goto a page that you that is protected i get redirected to the form to login. I enter a login and then get a NullPointerException. Here is the output from the console:
> ....
> 20:57:04,681 ERROR [[Faces Servlet]] Servlet.service() for servlet Faces Servlet threw exception
> java.lang.NullPointerException
> at org.apache.myfaces.renderkit.html.HtmlRendererUtils.selectContentType(HtmlRendererUtils.java:995)
> at org.apache.myfaces.renderkit.html.util.DefaultAddResource.writeResponse(DefaultAddResource.java:791)
> at org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(ExtensionsFilter.java:142)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
> at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:54)
> at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:174)
> at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:514)
> at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
> 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:148)
> at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:868)
> at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:663)
> at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
> at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
> at java.lang.Thread.run(Thread.java:595)
> Once this happens if i reload the page everything is fine. Seems as if something isn't set that should be. This ONLY happens on the request that the login takes place on.
> If this is a JBoss issue please let me know. I will repost to them. Please provide me with some detail on what to tell them. (For example what is null but shouldn't be.)
> Thanks you.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira