You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Andrej Konkow (JIRA)" <de...@myfaces.apache.org> on 2006/01/30 22:57:34 UTC

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

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


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

Posted by "Martin Marinschek (JIRA)" <de...@myfaces.apache.org>.
    [ 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


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

Posted by "Martin Marinschek (JIRA)" <de...@myfaces.apache.org>.
     [ http://issues.apache.org/jira/browse/MYFACES-1075?page=all ]
     
Martin Marinschek closed MYFACES-1075:
--------------------------------------

    Fix Version: Nightly
     Resolution: Fixed
      Assign To: Martin Marinschek

> 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
>     Assignee: Martin Marinschek
>      Fix For: Nightly

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


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

Posted by "Martin Marinschek (JIRA)" <de...@myfaces.apache.org>.
    [ http://issues.apache.org/jira/browse/MYFACES-1075?page=comments#action_12365528 ] 

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

Andrej testet - looks good he said.

thanks,

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
>      Fix For: Nightly

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