Skip to content

GraalVM Native Image Support #229

Open
@kaden-sharpin

Description

@kaden-sharpin

I am working on a spring boot project which uses Graal VM's native-image utility to compile to a native executable.

The application works correctly when run normally. However, when compiled with native-image and run, the following error is thrown:

2025-05-08T16:14:19.484-04:00  INFO 46010 --- [connect] [nio-8080-exec-2] com.intuit.oauth2                        : Unnable to find oauthclient.properties
2025-05-08T16:14:19.486-04:00 ERROR 46010 --- [connect] [nio-8080-exec-2] com.intuit.oauth2                        : Exception while calling discovery document

java.lang.NullPointerException: null
	at [email protected]/java.net.URI$Parser.parse(URI.java:3186) ~[na:na]
	at [email protected]/java.net.URI.<init>(URI.java:645) ~[server:na]
	at com.intuit.oauth2.http.Request.constructURL(Request.java:90) ~[na:na]
	at com.intuit.oauth2.http.HttpRequestClient.makeRequest(HttpRequestClient.java:183) ~[na:na]
	at com.intuit.oauth2.client.DiscoveryAPIClient.callDiscoveryAPI(DiscoveryAPIClient.java:76) ~[na:na]
	at com.intuit.oauth2.config.OAuth2Config$OAuth2ConfigBuilder.callDiscoveryAPI(OAuth2Config.java:173) ~[na:na]
	...

I'd be happy to add the metadata files for native compilation but it looks like the source is not up to date

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions