[ https://issues.apache.org/jira/browse/OWB-1280?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16764770#comment-16764770 ]
Romain Manni-Bucau commented on OWB-1280: ----------------------------------------- [~deki] we can through a tomcat configurer add listeners on tomcat to do it as well. Short term we'd need 1. to ensure it is the cause and a valid fix (you can fork the class in geronimo project by copying/pasting it and patching it to test) and then I can try to help to do the fix next week if ok (this week will be too harsh on my side) > 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)