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 2010/10/21 23:12:16 UTC

[jira] Commented: (OWB-480) Avoid a couple NPEs

    [ https://issues.apache.org/jira/browse/OWB-480?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12923639#action_12923639 ] 

Mark Struberg commented on OWB-480:
-----------------------------------

agree with 2. But we always provide a openwebbeans.properties in webbeans-impl.jar. We just rely on it to know which SPI Impls we should use. Which part is not correct in guessing this?

> Avoid a couple NPEs
> -------------------
>
>                 Key: OWB-480
>                 URL: https://issues.apache.org/jira/browse/OWB-480
>             Project: OpenWebBeans
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.1.0
>            Reporter: David Jencks
>            Assignee: Gurkan Erdogdu
>
> I've found 2 possible NPE;s:
> 1. in an OSGI environment, its quite possible that no openwebbeans.properties files will be located, so you get a null properties object and OpenWebBeansConfiguration will have a null Properties leading to big problems.
> 2. in WebContainerLifecycle, the claim that it's a jsp app by configuration might be wrong.  If there's no jsp factory, no need to throw an NPE.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.