[webbeans-issues] [JBoss JIRA] Updated: (WBX-33) Problem with webbeans event handling while compiling SE extension

Pete Muir (JIRA) jira-events at lists.jboss.org
Sat Apr 18 17:54:22 EDT 2009


     [ https://jira.jboss.org/jira/browse/WBX-33?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pete Muir updated WBX-33:
-------------------------

    Fix Version/s: Java SE 1.0.0.BETA1


> Problem with webbeans event handling while compiling SE extension
> -----------------------------------------------------------------
>
>                 Key: WBX-33
>                 URL: https://jira.jboss.org/jira/browse/WBX-33
>             Project: Web Beans Extensions
>          Issue Type: Bug
>          Components: Java SE
>         Environment: Windows XP+JDK6.12+Maven 2.0.9
>            Reporter: Benjamin Graf
>             Fix For: Java SE 1.0.0.BETA1
>
>
> I recognized an issue while compiling latest webbeans se extension. Two unit tests fails because of an NullPointerException. The reason for this exception is:
> SE Extension finally sends an shutdown event which is fired to all observers in EventManager.notifyObservers().
> Finally this method in WebBeans Core Impl invokes DependentContext.instance().setActive(false);
> And there is the problem. If you follow the invokationprocess you'll get an instance of the current introduced IsolatedStaticSingletonProvider whose internal object reference is already null. Maybe this instance was cleaned to early by the event processing?
> Take a look at ShutdownManager (bootstrap.shutdown())

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the weld-issues mailing list