[ 
https://issues.apache.org/jira/browse/MYFACES-3922?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14119744#comment-14119744
 ] 

Daniel Reznick commented on MYFACES-3922:
-----------------------------------------

Found the problem... although I don't really know why (do have some theories)

In that bean of mine there was a ManagedProperty...

@ManagedProperty(value = "#{error}")
private ErrorPageMBean error;  //with getter/setter
That managed property was there for years and wasn't even used. and again it 
all worked just fine in MyFaces 2.0.11...

The moment I removed it all started to works just fine...

Any idea whats wrong with that ManagedProperty ?

> Migrating from 2.0.11 to 2.2.x
> ------------------------------
>
>                 Key: MYFACES-3922
>                 URL: https://issues.apache.org/jira/browse/MYFACES-3922
>             Project: MyFaces Core
>          Issue Type: Bug
>          Components: General
>    Affects Versions: 2.2.3
>         Environment: Tomcat 7, Java 7, MyFaces 2.2.3
>            Reporter: Daniel Reznick
>            Assignee: Leonardo Uribe
>
> After upgrading from 2.0.11 to 2.2.x , I'm getting an exception caused by 
> <f:view locale="#{admin.userLocale}">, the same exception as in the 
> https://issues.apache.org/jira/browse/MYFACES-3907 bug, but even after the 
> proposed fix (which fixes the exception) my web app does not work, Again.... 
> it works perfectly with MyFaces 2.0.11.
> The flow is as follows, the locale ref' creating a new instance of the bean 
> and than in phaselistener the getApplication().evaluateExpressionGet trying 
> to create new Instance of that bean??? why? I mean it doesn't try to create a 
> new instance in the 2.0.11, I have asked the question in 
> http://stackoverflow.com/questions/25611687/getapplication-evaluateexpressionget-trying-to-create-new-instance-jsf-2-0
>  too (with additional info)
> Please let me know if additional information is needed
> Thanks ahead,
> Daniel



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to