You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Laszlo Kishalmi (Jira)" <ji...@apache.org> on 2020/04/02 14:03:00 UTC

[jira] [Resolved] (NETBEANS-4101) Unexpected Error anytime I open or save build.gradle

     [ https://issues.apache.org/jira/browse/NETBEANS-4101?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Laszlo Kishalmi resolved NETBEANS-4101.
---------------------------------------
    Resolution: Information Provided

I think the issue here is Java 14 is not compatible with the Groovy in NetBeans 11.3. You would either downgrade to Java 13 or wait for NetBeans 12.0 beta3.

> Unexpected Error anytime I open or save build.gradle
> ----------------------------------------------------
>
>                 Key: NETBEANS-4101
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-4101
>             Project: NetBeans
>          Issue Type: Bug
>          Components: projects - Gradle
>    Affects Versions: 11.3
>         Environment: Product Version = Apache NetBeans IDE 11.3
> Operating System = Windows 10 version 10.0 running on amd64
> Java; VM; Vendor = 14; OpenJDK 64-Bit Server VM 14+36-1461; Oracle Corporation
> Runtime = OpenJDK Runtime Environment 14+36-1461
> Java Home = D:\Program Files\jdk-14
>            Reporter: Burabari Kpai
>            Assignee: Laszlo Kishalmi
>            Priority: Minor
>         Attachments: IDE Log.txt, UI Log.txt, build.gradle, exception.txt
>
>
> This error shows up anytime I open a build.gradle file. These files opened without problems in NetBeans 11.2
> {quote}{{java.lang.NoClassDefFoundError: Could not initialize class org.codehaus.groovy.classgen.Verifierjava.lang.NoClassDefFoundError: Could not initialize class org.codehaus.groovy.classgen.Verifier at org.codehaus.groovy.control.CompilationUnit.<init>(CompilationUnit.java:170) at org.netbeans.modules.groovy.editor.compiler.CompilationUnit.<init>(CompilationUnit.java:64) at org.netbeans.modules.groovy.editor.api.parser.GroovyParser.parseBuffer(GroovyParser.java:441) at org.netbeans.modules.groovy.editor.api.parser.GroovyParser.parse(GroovyParser.java:137) at org.netbeans.modules.parsing.impl.TaskProcessor.callParse(TaskProcessor.java:598) at org.netbeans.modules.parsing.impl.SourceCache.getResult(SourceCache.java:228) at org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.run(TaskProcessor.java:775) at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279) at org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.execute(TaskProcessor.java:702)[catch] at org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor.java:663) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418) at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45) at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)}}{quote}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

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