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

   ### Apache NetBeans version
   
   Apache NetBeans 18 release candidate
   
   ### What happened
   
   Clone micronaut-core from GH, this gets you to default branch 4.0.x
   Install VSNetBeans 18.0.0 RC2 
https://nightlies.apache.org/netbeans/candidate/vsix/ use GraalVM 22.3.0 JDK17.
   In VSNetBeans enable JavaLSP and Groovy support, both are Enabled.
   Open cloned micronaut-core.
   later you will see following exception thrown several times and shown also 
in VSCode dialog during project background scanning.
   ```Failed to retrieve project information for: 
/Users/mbalin/micronaut/micronaut-core/aop
   Reason: groovy.lang.MissingPropertyException: Could not get unknown property 
'sourceCompatibility' for task ':aop:compileKotlin' of type 
org.jetbrains.kotlin.gradle.tasks.KotlinCompile.
   groovy.lang.MissingPropertyException: Could not get unknown property 
'sourceCompatibility' for task ':aop:compileKotlin' of type 
org.jetbrains.kotlin.gradle.tasks.KotlinCompile.
        at 
org.gradle.internal.metaobject.AbstractDynamicObject.getMissingProperty(AbstractDynamicObject.java:85)
        at 
org.gradle.internal.metaobject.AbstractDynamicObject.getProperty(AbstractDynamicObject.java:62)
        at org.gradle.api.internal.AbstractTask.property(AbstractTask.java:571)
        at org.gradle.api.DefaultTask.property(DefaultTask.java:169)
        at 
org.netbeans.modules.gradle.tooling.NbProjectInfoBuilder.detectSources(NbProjectInfoBuilder.java:1088)
        at```
   see attachement for the full stack trace.
   This DOES NOT happen when Groovy is Disabled.
   
   ### How to reproduce
   
   See steps above.
   
[groovy.lang.MissingProperyExc.txt](https://github.com/apache/netbeans/files/11347233/groovy.lang.MissingProperyExc.txt)
   
   
   
   ### Did this work correctly in an earlier version?
   
   No / Don't know
   
   ### Operating System
   
   macOS venture
   
   ### JDK
   
   GraalVM 22.3.0 JDK17
   
   ### Apache NetBeans packaging
   
   Apache VSNetBeans for VSCode
   
   ### Anything else
   
   _No response_
   
   ### 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