You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Martin Marinschek (JIRA)" <de...@myfaces.apache.org> on 2006/02/06 15:44:08 UTC

[jira] Commented: (MYFACES-1075) NullPointerException after Session expiration

    [ http://issues.apache.org/jira/browse/MYFACES-1075?page=comments#action_12365295 ] 

Martin Marinschek commented on MYFACES-1075:
--------------------------------------------

Can you try with the current SVN head sources?

on line 919, there is no nullpointer possible anymore ;)

regards,

Martin

> NullPointerException after Session expiration
> ---------------------------------------------
>
>          Key: MYFACES-1075
>          URL: http://issues.apache.org/jira/browse/MYFACES-1075
>      Project: MyFaces
>         Type: Bug
>   Components: General
>  Environment: java5, Tomcat5.5, MyFaces 1.1.1
>     Reporter: Andrej Konkow

>
> After Sessionexpiration or restarting Tomcat: If clicking on any link on the JSF Page I get the following Exception:
> java.lang.NullPointerException
>         at org.apache.myfaces.renderkit.html.HtmlRendererUtils.selectContentType(HtmlRendererUtils.java:919)
>         at org.apache.myfaces.component.html.util.AddResource.writeWithFullHeader(AddResource.java:443)
>         at org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(ExtensionsFilter.java:132)
>         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>         ........
> I am using ServerState-Saving. I also read on the internet that using jscookmenu might be the problem but anyway: The Nullpointer shouldn't be thrown...

-- 
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