You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openwebbeans.apache.org by "Mark Struberg (JIRA)" <ji...@apache.org> on 2011/03/21 10:43:05 UTC

[jira] [Created] (OWB-547) WebContextsService throws NPE on asynchronous app startup

WebContextsService throws NPE on asynchronous app startup
---------------------------------------------------------

                 Key: OWB-547
                 URL: https://issues.apache.org/jira/browse/OWB-547
             Project: OpenWebBeans
          Issue Type: Bug
          Components: Lifecycle
    Affects Versions: 1.0.0
            Reporter: Mark Struberg
            Assignee: Mark Struberg
             Fix For: 1.1.0


If our webbeans-web plugin is present when starting our test lifecycle, we get a NPE because our WebContextsService always expects a Session. But in case of unit tests on the frontend the session is actually null. Same is true for asynchronous operations inside a web server and e.g. for MessageDriven Beans.

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

[jira] [Resolved] (OWB-547) WebContextsService throws NPE on asynchronous app startup

Posted by "Mark Struberg (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OWB-547?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mark Struberg resolved OWB-547.
-------------------------------

    Resolution: Fixed

fixed in r1083717

> WebContextsService throws NPE on asynchronous app startup
> ---------------------------------------------------------
>
>                 Key: OWB-547
>                 URL: https://issues.apache.org/jira/browse/OWB-547
>             Project: OpenWebBeans
>          Issue Type: Bug
>          Components: Lifecycle
>    Affects Versions: 1.0.0
>            Reporter: Mark Struberg
>            Assignee: Mark Struberg
>             Fix For: 1.1.0
>
>
> If our webbeans-web plugin is present when starting our test lifecycle, we get a NPE because our WebContextsService always expects a Session. But in case of unit tests on the frontend the session is actually null. Same is true for asynchronous operations inside a web server and e.g. for MessageDriven Beans.

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