tjwatson commented on issue #68:
URL: https://github.com/apache/felix-atomos/issues/68#issuecomment-1255219884

   That line withthe NPE is:
   
   ```java
                        byte[] bytes = 
StorageUtil.getBytes(MultiplexingFactory.class.getResource("SetAccessible.bytes").openStream(),
 -1, 4000); //$NON-NLS-1$
   ```
   
   It appears the `SetAccessible.bytes` resource isn't included.  The 
`org.eclipse.osgi` JAR should have a file 
`META-INF/native-image/resource-config.json`.  This file 
`{"pattern":"org/eclipse/osgi/internal/url/SetAccessible.bytes"}` which should 
cause the resource to be included.  Regardless, IIRC URL handlers in substrate 
are not supportable because they do not let any other protocols be enabled 
besides what they build into the executable.  So this error is benign.  It is a 
print stacktrace from where we catch all exceptions in 
`MultiplexingFactory.<clinit>`


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@felix.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to