myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Kočí (JIRA) <>
Subject [jira] [Created] (MYFACES-3105) Navigation with redirect after ViewExpiredExpcetion throws NPE
Date Thu, 07 Apr 2011 11:10:05 GMT
Navigation with redirect after ViewExpiredExpcetion throws NPE

                 Key: MYFACES-3105
             Project: MyFaces Core
          Issue Type: Bug
          Components: General
    Affects Versions: 2.0.6-SNAPSHOT
         Environment: myfaces trunk
            Reporter: Martin Kočí

MYFACES-3101 patch solves that for HTML request. 

For partial/ajax request/response new problems appear: if you try to use redirect like:


myfaces throw NPE in org.apache.myfaces.context.servlet.PartialViewContextImpl.getPartialResponseWriter(),

_facesContext.getRenderKit() returns null in this case (no view root is available)

Second easy to fix problem is line facesContext.getViewRoot().getViewId().equals(newViewId)
in NavigationHandlerImpl.handleNavigation(FacesContext, String, String) in case of navigationCase.isRedirect().

This message is automatically generated by JIRA.
For more information on JIRA, see:

View raw message