Hi all I'm using ivy 6.3.0 with JSF + Primefaces, when i test my website with multiple users at the same time, i got this:
We also get this problem when i embed my page to another by using iframe We don't use any api from com.google.inject, it could come from ivy library i guess. Does anyone have any idea why this exception occurred? Thanks all asked 11.10.2016 at 04:12 trungdv Reguel Werme... ♦♦ |
I got the same problem when calling the following code
The full log:
answered 11.10.2016 at 05:59 nvhuong Can you share more informations about this class:
(11.10.2016 at 09:31)
Reguel Werme... ♦♦
inside this method, we call another method in order to obtain a managed bean using FacesContext.getCurrentInstance().getApplication().evaluateExpressionGet(context, "#{" + beanName + "}", clazz).
(11.10.2016 at 10:37)
nvhuong
However, we have a trick that if the result of finding the bean is null we retry to init manually a new instance of the bean by FacesContext.getCurrentInstance().getViewRoot().getViewMap().put(key, bean); (we actually have not yet understood why the managed bean is null sometimes). We just figured out that this implementation causes the problem as logged above in case we input a wrong bean name. This issue has been known and fixed by correcting the bean name.
(11.10.2016 at 10:37)
nvhuong
|
Once you sign in you will be able to subscribe for any updates here
By RSS:Markdown Basics
Tags:
Asked: 11.10.2016 at 04:12
Seen: 4,461 times
Last updated: 11.10.2016 at 15:09
Can you share more insights about this request. Do you have a stack-trace?