I'm using jboss as 7 and I noticed that after an hot redeploy, if I try to reload the page I was browsing
that is served by a jsf managedbean, I got a NullPointerException since a reference that should be injected
thanks to the @EJB annotation to my managed bean is null.
I handled the issue, catching the NPE and logging it properly. It only happens once, the second time the property
is accessed everything works fine. How am I supposed to handle correctly this situation?
Retrieving data ...