You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Mike Calmus (JIRA)" <de...@myfaces.apache.org> on 2012/09/12 21:56:09 UTC

[jira] [Updated] (TRINIDAD-2312) NullPointerException in CoreRenderKit.shortCircuitRenderView

     [ https://issues.apache.org/jira/browse/TRINIDAD-2312?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mike Calmus updated TRINIDAD-2312:
----------------------------------

    Status: Patch Available  (was: Open)
    
> NullPointerException in CoreRenderKit.shortCircuitRenderView
> ------------------------------------------------------------
>
>                 Key: TRINIDAD-2312
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-2312
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>          Components: Components
>    Affects Versions: 1.2.14-core 
>            Reporter: Mike Calmus
>   Original Estimate: 5m
>  Remaining Estimate: 5m
>
> When FINE logging is enabled a NullPointerException can be thrown during PPR.
> Caused by: java.lang.NullPointerException
> 	at org.apache.myfaces.trinidadinternal.renderkit.core.CoreRenderKit.shortCircuitRenderView(CoreRenderKit.java:371)
> 	at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:172)
> 	at org.springframework.faces.webflow.FlowViewHandler.renderView(FlowViewHandler.java:99)
> 	at org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:116)
> The code in question is this:
>           _LOG.fine("Page navigation to {0} happened during a PPR request " +
>                     "on {1};  Apache Trinidad is forcing a redirect.",
>                     new String[]{viewId, originalRoot.getViewId()});
> Changing to:
>           _LOG.fine("Page navigation to {0} happened during a PPR request " +
>                     "on {1};  Apache Trinidad is forcing a redirect.",
>                     new String[]{viewId, (originalRoot != null ? originalRoot.getViewId() : null)});
> should fix the problem.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira