[ https://issues.apache.org/jira/browse/OWB-1328?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17130589#comment-17130589 ]
Romain Manni-Bucau commented on OWB-1328: ----------------------------------------- Hi Thiago, I suspect for such a case - not handled OOTB - you need to implement your own scanner like we do for Arquillian/ShrinkWrap. Here is a basic impl: [https://github.com/apache/openwebbeans/blob/master/webbeans-arquillian/owb-arquillian-standalone/src/main/java/org/apache/webbeans/arquillian/standalone/OwbArquillianScannerService.java] Then just configure your ScannerService in META-INF/openwebbeans/openwebbeans.properties and it will work as expected. > NPE in AbstractMetaDataFactory > ------------------------------ > > Key: OWB-1328 > URL: https://issues.apache.org/jira/browse/OWB-1328 > Project: OpenWebBeans > Issue Type: Bug > Reporter: Thiago Henrique Hupner > Assignee: Gurkan Erdogdu > Priority: Minor > Fix For: 2.0.18 > > > [https://github.com/apache/openwebbeans/blob/master/webbeans-impl/src/main/java/org/apache/webbeans/corespi/scanner/AbstractMetaDataDiscovery.java#L286] > > If we have an URL that doesn't resolve to a File, we get a NPE -- This message was sent by Atlassian Jira (v8.3.4#803005)