[seam-issues] [JBoss JIRA] Resolved: (SEAMCRON-22) NPE stopping scheduler under Weld

Peter Royle (JIRA) jira-events at lists.jboss.org
Mon May 30 00:50:00 EDT 2011


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

Peter Royle resolved SEAMCRON-22.
---------------------------------

    Resolution: Done


Solved by SEAMCRON-23 as described in the link

> NPE stopping scheduler under Weld
> ---------------------------------
>
>                 Key: SEAMCRON-22
>                 URL: https://issues.jboss.org/browse/SEAMCRON-22
>             Project: Seam Cron
>          Issue Type: Bug
>            Reporter: Peter Royle
>            Assignee: Peter Royle
>             Fix For: 3.0.0.Alpha1
>
>
> Notice in the tests since switching to Weld Arquillian and when redeploying on JBoss AS there is a NPE during undeployment. I have been relying on provider implementations being @ApplicationScoped which seems to work in OWB but not in Weld. Think it's to do with the way in which I'm looking up the instances using CdiUtils.getInstanceByType(). That's probably returning a different version to the one returned during shutdown, so the shutdown provider's aren't properly initialised, and the ones which are properly initialised never get shutdown.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the seam-issues mailing list