myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Nicolucci (JIRA)" <>
Subject [jira] [Created] (MYFACES-4184) NullPointerException in markRenderedResources
Date Thu, 21 Dec 2017 16:27:00 GMT
Paul Nicolucci created MYFACES-4184:

             Summary: NullPointerException in markRenderedResources
                 Key: MYFACES-4184
             Project: MyFaces Core
          Issue Type: Bug
          Components: JSR-372
    Affects Versions: 2.3.0-beta
            Reporter: Paul Nicolucci
            Assignee: Paul Nicolucci

The following exception can occur:

at org.apache.myfaces.view.facelets.util.FaceletsViewDeclarationLanguageUtils.markRenderedResources(
at org.apache.myfaces.view.facelets.FaceletViewDeclarationLanguage.restoreView(
at org.apache.myfaces.application.ViewHandlerImpl.restoreView(
at org.apache.myfaces.lifecycle.RestoreViewExecutor.execute(
at org.apache.myfaces.lifecycle.LifecycleImpl.executePhase(
at org.apache.myfaces.lifecycle.LifecycleImpl.execute(
at javax.faces.webapp.FacesServlet.service(

This happens when the view is null, which can happen for a variety of reasons, for example
if you drive a request to a page, let the session timeout and then click on a ajaxified button
we would get the NPE rather than a ViewExpiredException. The change is trivial I'll upload
a patch.

This message was sent by Atlassian JIRA

View raw message