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

Dennis Kieselhorst commented on OWB-1280:
-----------------------------------------

Hi Romain, it's not working. deployClasspath is not called during the tests. 
When I set it in deployWebapp it is working. Please see MEECROWAVE-182 for an 
additional comment regarding the naming of the config option.

> NPE in filterExcludedJars
> -------------------------
>
>                 Key: OWB-1280
>                 URL: https://issues.apache.org/jira/browse/OWB-1280
>             Project: OpenWebBeans
>          Issue Type: Bug
>    Affects Versions: 2.0.10
>            Reporter: Dennis Kieselhorst
>            Priority: Major
>             Fix For: 2.0.11
>
>         Attachments: OWB-1280_fix_NPE.patch, OWB-1280_fix_NPE.patch
>
>
> {{I'm seeing this during geronimo-openapi TCK test on Windows (yeah, 
> sometimes I have to work with this OS :)) for URL 
> war:file:/D:/dev/opensource-projects/geronimo-openapi/geronimo-openapi-impl/target/meecrowave/temp/ROOT.war*/WEB-INF/classes/}}
> {noformat}
> Caused by: org.apache.webbeans.exception.WebBeansDeploymentException: 
> java.lang.NullPointerException
>     at 
> org.apache.webbeans.corespi.scanner.AbstractMetaDataDiscovery.scan(AbstractMetaDataDiscovery.java:158)
>     at 
> org.apache.meecrowave.openwebbeans.OWBTomcatWebScannerService.scan(OWBTomcatWebScannerService.java:134)
>     at 
> org.apache.meecrowave.tomcat.MeecrowaveContextConfig.webConfig(MeecrowaveContextConfig.java:118)
>     at 
> org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:768)
>     at 
> org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:301)
>     at 
> org.apache.meecrowave.tomcat.MeecrowaveContextConfig.lifecycleEvent(MeecrowaveContextConfig.java:165)
>     at 
> org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123)
>     at 
> org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5029)
>     at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
>     ... 109 more
> Caused by: java.lang.NullPointerException
>     at 
> org.apache.webbeans.corespi.scanner.AbstractMetaDataDiscovery.filterExcludedJars(AbstractMetaDataDiscovery.java:270)
>     at 
> org.apache.meecrowave.openwebbeans.OWBTomcatWebScannerService.filterExcludedJars(OWBTomcatWebScannerService.java:271)
>     at 
> org.apache.webbeans.corespi.scanner.AbstractMetaDataDiscovery.registerBeanArchives(AbstractMetaDataDiscovery.java:216)
>     at 
> org.apache.webbeans.web.scanner.WebScannerService.configure(WebScannerService.java:61)
>     at 
> org.apache.webbeans.corespi.scanner.AbstractMetaDataDiscovery.scan(AbstractMetaDataDiscovery.java:153)
>     ... 117 more{noformat}
> Could we please add a null check?



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to