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

Thiago Henrique Hupner commented on OWB-1328:
---------------------------------------------

Thanks!

I was trying to add the OpenWebBeans to our new server application, Piranha, 
that uses the Shrinkwrap protocol to handle the deployments. Instead of reading 
a JAR or a File directly, it read the file in memory, thus cannot be 
represented as a file. An the class "Files" currently only supports the JAR and 
File  protocols.

> 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)

Reply via email to