jamesnetherton commented on issue #4633:
URL: https://github.com/apache/camel-quarkus/issues/4633#issuecomment-1461467110

   A classpath resource is attempted to be read and silently fails:
   
   
https://github.com/atlasmap/atlasmap/blob/7f8feba99eee59d409ab96bd4f080b1a14823250/lib/core/src/main/java/io/atlasmap/core/DefaultAtlasContextFactory.java#L120
   
   With the debug log level enabled we see:
   
   ```
   2023-03-09 07:18:26,649 DEBUG [io.atl.cor.DefaultAtlasContextFactory] (main) 
Failed to read atlasmap.properties: java.lang.NullPointerException: inStream 
parameter is null
           at 
java.base@17.0.6/java.util.Objects.requireNonNull(Objects.java:233)
           at java.base@17.0.6/java.util.Properties.load(Properties.java:407)
           at 
io.atlasmap.core.DefaultAtlasContextFactory.init(DefaultAtlasContextFactory.java:116)
           at 
io.atlasmap.core.DefaultAtlasContextFactory.init(DefaultAtlasContextFactory.java:102)
           at 
io.atlasmap.core.DefaultAtlasContextFactory.getInstance(DefaultAtlasContextFactory.java:92)
           at 
io.atlasmap.core.DefaultAtlasContextFactory.getInstance(DefaultAtlasContextFactory.java:77)
   ```
   
   Try adding `atlasmap.properties` to `quarkus.native.resources.includes`.


-- 
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: commits-unsubscr...@camel.apache.org

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

Reply via email to