jamesfredley commented on PR #15541: URL: https://github.com/apache/grails-core/pull/15541#issuecomment-4200854902
## Known Issue: asset-pipeline NPE on JDK 21 The `grails-test-examples/micronaut` module's `assetCompile` task throws a `NullPointerException` when running on JDK 21 via the Gradle toolchain: ``` Exception in thread "main" java.lang.NullPointerException: Cannot invoke "Object.hashCode()" because "key" is null ``` This is a pre-existing asset-pipeline compatibility issue with JDK 21, not related to the Micronaut 5 upgrade. The Micronaut test app itself compiles and runs correctly - only the asset compilation step fails. The other Micronaut-dependent modules (`micronaut-groovy-only`, `issue-11767`, `plugins/issue-11767`, `plugins/micronaut-singleton`) all build successfully with JDK 21 toolchain. This should be tracked and fixed in the asset-pipeline plugin (`cloud.wondrify.asset-pipeline`) separately. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
