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

David Jencks commented on OWB-480:
----------------------------------

I chatted with Mark on IRC and IIUC he thinks that fixing the NPEs is a good 
idea even though geronimo should also fix the problems it is having not finding 
any openwebbeans.properties files.

> 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
>         Attachments: OWB-480.patch
>
>
> 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.

Reply via email to