Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-4101

Unexpected Error anytime I open or save build.gradle

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Information Provided
    • Affects Version/s: 11.3
    • Fix Version/s: None
    • Component/s: projects - Gradle
    • Labels:
      None
    • Environment:

      Description

      This error shows up anytime I open a build.gradle file. These files opened without problems in NetBeans 11.2

      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)

        Attachments

        1. build.gradle
          0.7 kB
          Burabari Kpai
        2. IDE Log.txt
          134 kB
          Burabari Kpai
        3. UI Log.txt
          4 kB
          Burabari Kpai
        4. exception.txt
          1 kB
          Burabari Kpai

          Issue Links

            Activity

              People

              • Assignee:
                lkishalmi Laszlo Kishalmi
                Reporter:
                burabari Burabari Kpai
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: