deltaspike-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Struberg (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (DELTASPIKE-206) NPE in OpenWebBeansContainerControl#getBeanManager
Date Wed, 15 Aug 2012 09:17:38 GMT

     [ https://issues.apache.org/jira/browse/DELTASPIKE-206?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Mark Struberg resolved DELTASPIKE-206.
--------------------------------------

    Resolution: Fixed
    
> NPE in OpenWebBeansContainerControl#getBeanManager
> --------------------------------------------------
>
>                 Key: DELTASPIKE-206
>                 URL: https://issues.apache.org/jira/browse/DELTASPIKE-206
>             Project: DeltaSpike
>          Issue Type: Bug
>          Components: CdiControl
>    Affects Versions: 0.2-incubating
>            Reporter: Gerhard Petracek
>            Assignee: Mark Struberg
>             Fix For: 0.3-incubating
>
>
> if owb is started at the beginning of an application or via
>   CdiContainerLoader.getCdiContainer().boot();
> and e.g. for a batch a call like
>   CdiContainerLoader.getCdiContainer().getContextControl().startContext(RequestScoped.class);
> is needed, a NPE is the result:
> Exception in thread "main" java.lang.NullPointerException
> 	at org.apache.deltaspike.cdise.owb.OpenWebBeansContainerControl.getBeanManager(OpenWebBeansContainerControl.java:46)
> 	at org.apache.deltaspike.cdise.owb.OpenWebBeansContainerControl.getContextControl(OpenWebBeansContainerControl.java:75)
> ...

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message