myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Leonardo Uribe (JIRA)" <...@myfaces.apache.org>
Subject [jira] [Resolved] (MYFACES-3907) NullPointerException in ManagedBeanBuilder after server restart
Date Wed, 23 Jul 2014 01:45:39 GMT

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

Leonardo Uribe resolved MYFACES-3907.
-------------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 2.2.5-SNAPSHOT)
                   2.2.5
                   2.1.16
                   2.0.22
         Assignee: Leonardo Uribe

> NullPointerException in ManagedBeanBuilder after server restart
> ---------------------------------------------------------------
>
>                 Key: MYFACES-3907
>                 URL: https://issues.apache.org/jira/browse/MYFACES-3907
>             Project: MyFaces Core
>          Issue Type: Bug
>    Affects Versions: 2.2.4
>            Reporter: Dennis Kieselhorst
>            Assignee: Leonardo Uribe
>             Fix For: 2.0.22, 2.1.16, 2.2.5
>
>
> After server restart we sometimes get a NullPointerException in ManagedBeanBuilder when
resolving a managed bean property. This should be avoided.
> {noformat}
> java.lang.NullPointerException: null
> 	at org.apache.myfaces.config.ManagedBeanBuilder.getScope(ManagedBeanBuilder.java:560)
> 	at org.apache.myfaces.config.ManagedBeanBuilder.getNarrowestScope(ManagedBeanBuilder.java:464)
> 	at org.apache.myfaces.config.ManagedBeanBuilder.isInValidScope(ManagedBeanBuilder.java:435)
> 	at org.apache.myfaces.config.ManagedBeanBuilder.initializeProperties(ManagedBeanBuilder.java:319)
> 	at org.apache.myfaces.config.ManagedBeanBuilder.buildManagedBean(ManagedBeanBuilder.java:163)
> 	at org.apache.myfaces.el.unified.resolver.ManagedBeanResolver.createManagedBean(ManagedBeanResolver.java:333)
> 	at org.apache.myfaces.el.unified.resolver.ManagedBeanResolver.getValue(ManagedBeanResolver.java:296)
> 	at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:188)
> 	at org.apache.myfaces.el.unified.resolver.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:179)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message