MartinBalin opened a new issue, #6535:
URL: https://github.com/apache/netbeans/issues/6535

   ### Apache NetBeans version
   
   Apache NetBeans 19
   
   ### What happened
   
   Open Micronaut Core from branch 4.1.x with disabled MS Java. I have NetBeans 
javalsp enabled and Groovy disabled. Using GraalVM JDK17.
   Everything looks OK, at the end I've seen I have to do priming build for 
this kotlin project and it failed with message 
   `Priming build failed for Project micronaut-core:test-suite-kotlin-ksp: NULL`
   In the log I can see following weird error:
   ```
   INFO [org.netbeans.modules.maven.modelcache.MavenProjectCache]: Runtime 
exception thrown while loading maven project at /Users/mbalin/pom.xml
   java.lang.SecurityException: setContextClassLoader
        at 
java.base/java.util.concurrent.ForkJoinWorkerThread$InnocuousForkJoinWorkerThread.setContextClassLoader(ForkJoinWorkerThread.java:210)
        at 
org.apache.maven.project.DefaultProjectBuildingHelper.selectProjectRealm(DefaultProjectBuildingHelper.java:257)
        at 
org.apache.maven.project.DefaultModelBuildingListener.buildExtensionsAssembled(DefaultModelBuildingListener.java:103)
        at 
org.apache.maven.model.building.ModelBuildingEventCatapult$1.fire(ModelBuildingEventCatapult.java:40)
        at 
org.apache.maven.model.building.DefaultModelBuilder.fireEvent(DefaultModelBuilder.java:1269)
        at 
org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:474)
        at 
org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:410)
   ```
   I really had by some mistake pom.xml in the root of my home dir.
   
   
   ### How to reproduce
   
   _No response_
   
   ### Did this work correctly in an earlier version?
   
   No / Don't know
   
   ### Operating System
   
   macOS 13.3.1 (a)
   
   ### JDK
   
   JDK17 GraalVM 23.0
   
   ### Apache NetBeans packaging
   
   Apache VSNetBeans for VSCode
   
   ### Anything else
   
   NBLS 19.0.301
   
   ### Are you willing to submit a pull request?
   
   No


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to