Philipp Potisk commented on Bug WELD-1020

I experienced the same exception in a slightly different context. I am using Weblogic 12.1.1, which I assume uses WELD 1.1.10.Final. Furthermore, I am not using an asynchron-context.
In my case the NullPointerException appears if I include jsp-files from other modules and having security-constraints enabled.

I got rid of the exception by adding following null-check to method deactivate() in class AbstractBoundContext:

public void deactivate() {
if (getBeanStore() != null )

{ getBeanStore().detach(); super.deactivate(); }

}

As a matter of fact, this quick-fix also fixes the problem in the asynchron-context as mentioned above.

My question now is: Is my solution save to use or should I expect any side effects?

I am thankful for any suggestions.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
weld-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/weld-issues

Reply via email to