You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltaspike.apache.org by "Gerhard Petracek (JIRA)" <ji...@apache.org> on 2013/02/24 00:58:12 UTC

[jira] [Resolved] (DELTASPIKE-317) NPE if CdiContainer#getContextControl gets called without #boot

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

Gerhard Petracek resolved DELTASPIKE-317.
-----------------------------------------

    Resolution: Fixed
    
> NPE if CdiContainer#getContextControl gets called without #boot
> ---------------------------------------------------------------
>
>                 Key: DELTASPIKE-317
>                 URL: https://issues.apache.org/jira/browse/DELTASPIKE-317
>             Project: DeltaSpike
>          Issue Type: Bug
>          Components: CdiControl
>    Affects Versions: 0.3-incubating
>            Reporter: Gerhard Petracek
>            Assignee: Mark Struberg
>            Priority: Minor
>             Fix For: 0.4-incubating
>
>
> javadoc of #getContextControl:
> @return ContextControl for the started Container. <code>null</code> if the container is not yet started
> but a NPE occurs if the container wasn't started via boot
> workaround:
> resolve ContextControl manually

--
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