java.lang.NoSuchMethodError: org.eclipse.jdt.groovy.search.VariableScope.clonedList()Lorg/codehaus/groovy/ast/ClassNode;

SpringSource Issue Tracker | John Underwood | 5 years ago
  1. 0

    -- Error Message -- An internal error occurred during: "Requesting Java AST from selection". org.eclipse.jdt.groovy.search.VariableScope.clonedList()Lorg/codehaus/groovy/ast/ClassNode; -- User Notes -- I only started seeing this happen after updating STS to v2.7.0 (via the udpate mechanism) The error dialog pops up almost incessantly, making development next to impossible. -- Configuration Details -- Product: SpringSource Tool Suite 2.7.0.201107041000-RELEASE (com.springsource.sts.ide) Installed Features: com.springsource.sts 2.7.0.201107041000-RELEASE -- Session Data from Error Log-- eclipse.buildId=2.7.0.201107041000-RELEASE java.version=1.6.0_24 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US Framework arguments: -product com.springsource.sts.ide Command-line arguments: -os win32 -ws win32 -arch x86_64 -product com.springsource.sts.ide -- Stack Trace from Error Log -- java.lang.NoSuchMethodError: org.eclipse.jdt.groovy.search.VariableScope.clonedList()Lorg/codehaus/groovy/ast/ClassNode; at com.springsource.sts.grails.editor.groovy.types.PerProjectMemberCache.getDynamicDomainMembers(PerProjectMemberCache.java:186) at com.springsource.sts.grails.editor.groovy.elements.DomainClass.lookupTypeAndDeclaration(DomainClass.java:241) at com.springsource.sts.grails.editor.groovy.types.GrailsTypeLookup.lookupTypeAndDeclaration(GrailsTypeLookup.java:40) at org.eclipse.jdt.groovy.search.AbstractSimplifiedTypeLookup.lookupType(AbstractSimplifiedTypeLookup.java:76) at org.eclipse.jdt.groovy.search.TypeInferencingVisitorWithRequestor.handleExpression(TypeInferencingVisitorWithRequestor.java:753) at org.eclipse.jdt.groovy.search.TypeInferencingVisitorWithRequestor.visitVariableExpression(TypeInferencingVisitorWithRequestor.java:858) at org.codehaus.groovy.ast.expr.VariableExpression.visit(VariableExpression.java:68) at org.eclipse.jdt.groovy.search.TypeInferencingVisitorWithRequestor.visitMethodCallExpression(TypeInferencingVisitorWithRequestor.java:1268) at org.codehaus.groovy.ast.expr.MethodCallExpression.visit(MethodCallExpression.java:75) at org.codehaus.groovy.ast.CodeVisitorSupport.visitExpressionStatement(CodeVisitorSupport.java:69) at org.codehaus.groovy.ast.ClassCodeVisitorSupport.visitExpressionStatement(ClassCodeVisitorSupport.java:209) at org.codehaus.groovy.ast.stmt.ExpressionStatement.visit(ExpressionStatement.java:40) at org.codehaus.groovy.ast.CodeVisitorSupport.visitBlockStatement(CodeVisitorSupport.java:35) at org.codehaus.groovy.ast.ClassCodeVisitorSupport.visitBlockStatement(ClassCodeVisitorSupport.java:179) at org.eclipse.jdt.groovy.search.TypeInferencingVisitorWithRequestor.visitBlockStatement(TypeInferencingVisitorWithRequestor.java:1068) at org.codehaus.groovy.ast.stmt.BlockStatement.visit(BlockStatement.java:69) at org.codehaus.groovy.ast.CodeVisitorSupport.visitClosureExpression(CodeVisitorSupport.java:174) at org.eclipse.jdt.groovy.search.TypeInferencingVisitorWithRequestor.visitClosureExpression(TypeInferencingVisitorWithRequestor.java:1025) at org.codehaus.groovy.ast.expr.ClosureExpression.visit(ClosureExpression.java:45) at org.eclipse.jdt.groovy.search.TypeInferencingVisitorWithRequestor.visitClassInternal(TypeInferencingVisitorWithRequestor.java:472) at org.eclipse.jdt.groovy.search.TypeInferencingVisitorWithRequestor.visitJDT(TypeInferencingVisitorWithRequestor.java:225) at org.eclipse.jdt.groovy.search.TypeInferencingVisitorWithRequestor.visitCompilationUnit(TypeInferencingVisitorWithRequestor.java:192) at org.codehaus.groovy.eclipse.codebrowsing.requestor.CodeSelectHelper.selectASTNode(CodeSelectHelper.java:99) at org.codehaus.groovy.eclipse.search.GroovyOccurrencesFinder.initialize(GroovyOccurrencesFinder.java:208) at org.codehaus.groovy.eclipse.editor.GroovyEditor.updateOccurrenceAnnotations(GroovyEditor.java:1151) at org.eclipse.jdt.internal.ui.javaeditor.JavaEditor$ActivationListener.windowActivated(JavaEditor.java:1256) at org.eclipse.ui.internal.Workbench$14.run(Workbench.java:999) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.ui.internal.Workbench.fireWindowActivated(Workbench.java:997) at org.eclipse.ui.internal.WorkbenchWindow$28.shellActivated(WorkbenchWindow.java:3110) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:88) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1077) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1058) at org.eclipse.swt.widgets.Decorations.WM_ACTIVATE(Decorations.java:1635) at org.eclipse.swt.widgets.Shell.WM_ACTIVATE(Shell.java:2114) at org.eclipse.swt.widgets.Control.windowProc(Control.java:4159) at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:341) at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.java:1598) at org.eclipse.swt.widgets.Shell.windowProc(Shell.java:2038) at org.eclipse.swt.widgets.Display.windowProc(Display.java:4873) at org.eclipse.swt.internal.win32.OS.SetFocus(Native Method) at org.eclipse.swt.widgets.Control.forceFocus(Control.java:995) at org.eclipse.swt.widgets.Control.setFocus(Control.java:3000) at org.eclipse.ui.internal.views.log.LogView.setFocus(LogView.java:1089) at org.eclipse.ui.internal.PartPane.setFocus(PartPane.java:332) at org.eclipse.ui.internal.WorkbenchPage$3.run(WorkbenchPage.java:629) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.core.runtime.Platform.run(Platform.java:888) at org.eclipse.ui.internal.WorkbenchPage.activatePart(WorkbenchPage.java:624) at org.eclipse.ui.internal.WorkbenchPage.setActivePart(WorkbenchPage.java:3533) at org.eclipse.ui.internal.WorkbenchPage.requestActivation(WorkbenchPage.java:3077) at org.eclipse.ui.internal.PartPane.requestActivation(PartPane.java:279) at org.eclipse.ui.internal.PartPane.setFocus(PartPane.java:325) at org.eclipse.ui.internal.FastViewPane.showView(FastViewPane.java:500) at org.eclipse.ui.internal.Perspective.showFastView(Perspective.java:2193) at org.eclipse.ui.internal.Perspective.setActiveFastView(Perspective.java:1939) at org.eclipse.ui.internal.Perspective.setActiveFastView(Perspective.java:1952) at org.eclipse.ui.internal.Perspective.bringToTop(Perspective.java:225) at org.eclipse.ui.internal.WorkbenchPage.internalBringToTop(WorkbenchPage.java:799) at org.eclipse.ui.internal.WorkbenchPage.bringToTop(WorkbenchPage.java:860) at org.eclipse.ui.internal.views.log.LogView$25.run(LogView.java:1076) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4041) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3660) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438) at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:620) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575) at org.eclipse.equinox.launcher.Main.run(Main.java:1408) at org.eclipse.equinox.launcher.Main.main(Main.java:1384)

    SpringSource Issue Tracker | 5 years ago | John Underwood
    java.lang.NoSuchMethodError: org.eclipse.jdt.groovy.search.VariableScope.clonedList()Lorg/codehaus/groovy/ast/ClassNode;
  2. 0

    -- Error Message -- An internal error occurred during: "Requesting Java AST from selection". org.eclipse.jdt.groovy.search.VariableScope.clonedList()Lorg/codehaus/groovy/ast/ClassNode; -- User Notes -- I only started seeing this happen after updating STS to v2.7.0 (via the udpate mechanism) The error dialog pops up almost incessantly, making development next to impossible. -- Configuration Details -- Product: SpringSource Tool Suite 2.7.0.201107041000-RELEASE (com.springsource.sts.ide) Installed Features: com.springsource.sts 2.7.0.201107041000-RELEASE -- Session Data from Error Log-- eclipse.buildId=2.7.0.201107041000-RELEASE java.version=1.6.0_24 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US Framework arguments: -product com.springsource.sts.ide Command-line arguments: -os win32 -ws win32 -arch x86_64 -product com.springsource.sts.ide -- Stack Trace from Error Log -- java.lang.NoSuchMethodError: org.eclipse.jdt.groovy.search.VariableScope.clonedList()Lorg/codehaus/groovy/ast/ClassNode; at com.springsource.sts.grails.editor.groovy.types.PerProjectMemberCache.getDynamicDomainMembers(PerProjectMemberCache.java:186) at com.springsource.sts.grails.editor.groovy.elements.DomainClass.lookupTypeAndDeclaration(DomainClass.java:241) at com.springsource.sts.grails.editor.groovy.types.GrailsTypeLookup.lookupTypeAndDeclaration(GrailsTypeLookup.java:40) at org.eclipse.jdt.groovy.search.AbstractSimplifiedTypeLookup.lookupType(AbstractSimplifiedTypeLookup.java:76) at org.eclipse.jdt.groovy.search.TypeInferencingVisitorWithRequestor.handleExpression(TypeInferencingVisitorWithRequestor.java:753) at org.eclipse.jdt.groovy.search.TypeInferencingVisitorWithRequestor.visitVariableExpression(TypeInferencingVisitorWithRequestor.java:858) at org.codehaus.groovy.ast.expr.VariableExpression.visit(VariableExpression.java:68) at org.eclipse.jdt.groovy.search.TypeInferencingVisitorWithRequestor.visitMethodCallExpression(TypeInferencingVisitorWithRequestor.java:1268) at org.codehaus.groovy.ast.expr.MethodCallExpression.visit(MethodCallExpression.java:75) at org.codehaus.groovy.ast.CodeVisitorSupport.visitExpressionStatement(CodeVisitorSupport.java:69) at org.codehaus.groovy.ast.ClassCodeVisitorSupport.visitExpressionStatement(ClassCodeVisitorSupport.java:209) at org.codehaus.groovy.ast.stmt.ExpressionStatement.visit(ExpressionStatement.java:40) at org.codehaus.groovy.ast.CodeVisitorSupport.visitBlockStatement(CodeVisitorSupport.java:35) at org.codehaus.groovy.ast.ClassCodeVisitorSupport.visitBlockStatement(ClassCodeVisitorSupport.java:179) at org.eclipse.jdt.groovy.search.TypeInferencingVisitorWithRequestor.visitBlockStatement(TypeInferencingVisitorWithRequestor.java:1068) at org.codehaus.groovy.ast.stmt.BlockStatement.visit(BlockStatement.java:69) at org.codehaus.groovy.ast.CodeVisitorSupport.visitClosureExpression(CodeVisitorSupport.java:174) at org.eclipse.jdt.groovy.search.TypeInferencingVisitorWithRequestor.visitClosureExpression(TypeInferencingVisitorWithRequestor.java:1025) at org.codehaus.groovy.ast.expr.ClosureExpression.visit(ClosureExpression.java:45) at org.eclipse.jdt.groovy.search.TypeInferencingVisitorWithRequestor.visitClassInternal(TypeInferencingVisitorWithRequestor.java:472) at org.eclipse.jdt.groovy.search.TypeInferencingVisitorWithRequestor.visitJDT(TypeInferencingVisitorWithRequestor.java:225) at org.eclipse.jdt.groovy.search.TypeInferencingVisitorWithRequestor.visitCompilationUnit(TypeInferencingVisitorWithRequestor.java:192) at org.codehaus.groovy.eclipse.codebrowsing.requestor.CodeSelectHelper.selectASTNode(CodeSelectHelper.java:99) at org.codehaus.groovy.eclipse.search.GroovyOccurrencesFinder.initialize(GroovyOccurrencesFinder.java:208) at org.codehaus.groovy.eclipse.editor.GroovyEditor.updateOccurrenceAnnotations(GroovyEditor.java:1151) at org.eclipse.jdt.internal.ui.javaeditor.JavaEditor$ActivationListener.windowActivated(JavaEditor.java:1256) at org.eclipse.ui.internal.Workbench$14.run(Workbench.java:999) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.ui.internal.Workbench.fireWindowActivated(Workbench.java:997) at org.eclipse.ui.internal.WorkbenchWindow$28.shellActivated(WorkbenchWindow.java:3110) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:88) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1077) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1058) at org.eclipse.swt.widgets.Decorations.WM_ACTIVATE(Decorations.java:1635) at org.eclipse.swt.widgets.Shell.WM_ACTIVATE(Shell.java:2114) at org.eclipse.swt.widgets.Control.windowProc(Control.java:4159) at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:341) at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.java:1598) at org.eclipse.swt.widgets.Shell.windowProc(Shell.java:2038) at org.eclipse.swt.widgets.Display.windowProc(Display.java:4873) at org.eclipse.swt.internal.win32.OS.SetFocus(Native Method) at org.eclipse.swt.widgets.Control.forceFocus(Control.java:995) at org.eclipse.swt.widgets.Control.setFocus(Control.java:3000) at org.eclipse.ui.internal.views.log.LogView.setFocus(LogView.java:1089) at org.eclipse.ui.internal.PartPane.setFocus(PartPane.java:332) at org.eclipse.ui.internal.WorkbenchPage$3.run(WorkbenchPage.java:629) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.core.runtime.Platform.run(Platform.java:888) at org.eclipse.ui.internal.WorkbenchPage.activatePart(WorkbenchPage.java:624) at org.eclipse.ui.internal.WorkbenchPage.setActivePart(WorkbenchPage.java:3533) at org.eclipse.ui.internal.WorkbenchPage.requestActivation(WorkbenchPage.java:3077) at org.eclipse.ui.internal.PartPane.requestActivation(PartPane.java:279) at org.eclipse.ui.internal.PartPane.setFocus(PartPane.java:325) at org.eclipse.ui.internal.FastViewPane.showView(FastViewPane.java:500) at org.eclipse.ui.internal.Perspective.showFastView(Perspective.java:2193) at org.eclipse.ui.internal.Perspective.setActiveFastView(Perspective.java:1939) at org.eclipse.ui.internal.Perspective.setActiveFastView(Perspective.java:1952) at org.eclipse.ui.internal.Perspective.bringToTop(Perspective.java:225) at org.eclipse.ui.internal.WorkbenchPage.internalBringToTop(WorkbenchPage.java:799) at org.eclipse.ui.internal.WorkbenchPage.bringToTop(WorkbenchPage.java:860) at org.eclipse.ui.internal.views.log.LogView$25.run(LogView.java:1076) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4041) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3660) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438) at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:620) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575) at org.eclipse.equinox.launcher.Main.run(Main.java:1408) at org.eclipse.equinox.launcher.Main.main(Main.java:1384)

    SpringSource Issue Tracker | 5 years ago | John Underwood
    java.lang.NoSuchMethodError: org.eclipse.jdt.groovy.search.VariableScope.clonedList()Lorg/codehaus/groovy/ast/ClassNode;
  3. 0

    [groovy-user] TestNG and Groovy

    Google Groups | 7 years ago | Roger Studner
    java.lang.NoSuchMethodError: org.codehaus.groovy.ast.ModuleNode.getImport(Ljava/lang/String;)Lorg/codehaus/groovy/ast/ClassNode;
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Groovy annotated classes fail to compile - IDEA 9 with Groovy 1.7

    YouTrack | 7 years ago
    java.lang.NoSuchMethodError: org.codehaus.groovy.ast.ModuleNode.getImport(Ljava/lang/String;)Lorg/codehaus/groovy/ast/ClassNode;
  6. 0

    I get a fatal java.lang.NoSuchMethodError error when trying to instrument my Groovy code, running a multi-module build with Maven 2. I've tried this with 3.0.0-m3 and 3.0.0-m4r3. The command line is: {code} mvn clover2:setup test clover2:aggregate clover2:clover {code} The error details: {code} [INFO] ------------------------------------------------------------------------ [ERROR] FATAL ERROR [INFO] ------------------------------------------------------------------------ [INFO] org.codehaus.groovy.ast.stmt.TryCatchStatement.setFinallyStatement(Lorg/codehaus/groovy/ast/stmt/Statement;)V [INFO] ------------------------------------------------------------------------ [INFO] Trace java.lang.NoSuchMethodError: org.codehaus.groovy.ast.stmt.TryCatchStatement.setFinallyStatement(Lorg/codehaus/groovy/ast /stmt/Statement;)V at com.atlassian.clover.instr.groovy.InstrumentingCodeVisitor.visitTryCatchFinally(InstrumentingCodeVisitor.java :813) at org.codehaus.groovy.ast.stmt.TryCatchStatement.visit(TryCatchStatement.java:42) at org.codehaus.groovy.ast.CodeVisitorSupport.visitBlockStatement(CodeVisitorSupport.java:38) at org.codehaus.groovy.ast.ClassCodeVisitorSupport.visitBlockStatement(ClassCodeVisitorSupport.java:129) at com.atlassian.clover.instr.groovy.InstrumentingCodeVisitor.visitBlockStatement(InstrumentingCodeVisitor.java: 834) at org.codehaus.groovy.ast.stmt.BlockStatement.visit(BlockStatement.java:52) at org.codehaus.groovy.ast.ClassCodeVisitorSupport.visitClassCodeContainer(ClassCodeVisitorSupport.java:73) at com.atlassian.clover.instr.groovy.InstrumentingCodeVisitor.visitConstructorOrMethod(InstrumentingCodeVisitor. java:242) at org.codehaus.groovy.ast.ClassCodeVisitorSupport.visitMethod(ClassCodeVisitorSupport.java:88) at org.codehaus.groovy.ast.ClassNode.visitContents(ClassNode.java:965) at org.codehaus.groovy.ast.ClassCodeVisitorSupport.visitClass(ClassCodeVisitorSupport.java:48) at com.atlassian.clover.instr.groovy.InstrumentingCodeVisitor.visitClass(InstrumentingCodeVisitor.java:220) at com.atlassian.clover.instr.groovy.Grover.visit(Grover.java:215) at com.atlassian.clover.instr.groovy.Grover.visit(Grover.java:119) at org.codehaus.groovy.transform.ASTTransformationVisitor$3.call(ASTTransformationVisitor.java:268) at org.codehaus.groovy.control.CompilationUnit.applyToSourceUnits(CompilationUnit.java:801) at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:466) at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:445) at org.codehaus.groovy.maven.runtime.v1_6.ClassCompilerFeature$ClassCompilerImpl.compile(ClassCompilerFeature.ja va:158) at org.codehaus.groovy.maven.plugin.compile.AbstractCompileMojo.compile(AbstractCompileMojo.java:200) at org.codehaus.groovy.maven.plugin.compile.AbstractCompileMojo.process(AbstractCompileMojo.java:164) at org.codehaus.groovy.maven.plugin.ComponentMojoSupport.doExecute(ComponentMojoSupport.java:60) at org.codehaus.groovy.maven.plugin.MojoSupport.execute(MojoSupport.java:69) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:453) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:559) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:50 0) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:479) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.jav a:331) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:292) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129) at org.apache.maven.cli.MavenCli.main(MavenCli.java:301) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) {code}

    Atlassian JIRA | 7 years ago | Alex McManus
    java.lang.NoSuchMethodError: org.codehaus.groovy.ast.stmt.TryCatchStatement.setFinallyStatement(Lorg/codehaus/groovy/ast /stmt/Statement;)V

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      org.eclipse.jdt.groovy.search.VariableScope.clonedList()Lorg/codehaus/groovy/ast/ClassNode;

      at com.springsource.sts.grails.editor.groovy.types.PerProjectMemberCache.getDynamicDomainMembers()
    2. com.springsource.sts
      GrailsTypeLookup.lookupTypeAndDeclaration
      1. com.springsource.sts.grails.editor.groovy.types.PerProjectMemberCache.getDynamicDomainMembers(PerProjectMemberCache.java:186)
      2. com.springsource.sts.grails.editor.groovy.elements.DomainClass.lookupTypeAndDeclaration(DomainClass.java:241)
      3. com.springsource.sts.grails.editor.groovy.types.GrailsTypeLookup.lookupTypeAndDeclaration(GrailsTypeLookup.java:40)
      3 frames
    3. Groovy-Eclipse Batch Compiler
      TypeInferencingVisitorWithRequestor.visitVariableExpression
      1. org.eclipse.jdt.groovy.search.AbstractSimplifiedTypeLookup.lookupType(AbstractSimplifiedTypeLookup.java:76)
      2. org.eclipse.jdt.groovy.search.TypeInferencingVisitorWithRequestor.handleExpression(TypeInferencingVisitorWithRequestor.java:753)
      3. org.eclipse.jdt.groovy.search.TypeInferencingVisitorWithRequestor.visitVariableExpression(TypeInferencingVisitorWithRequestor.java:858)
      3 frames
    4. Groovy
      VariableExpression.visit
      1. org.codehaus.groovy.ast.expr.VariableExpression.visit(VariableExpression.java:68)
      1 frame
    5. Groovy-Eclipse Batch Compiler
      TypeInferencingVisitorWithRequestor.visitMethodCallExpression
      1. org.eclipse.jdt.groovy.search.TypeInferencingVisitorWithRequestor.visitMethodCallExpression(TypeInferencingVisitorWithRequestor.java:1268)
      1 frame
    6. Groovy
      ClassCodeVisitorSupport.visitBlockStatement
      1. org.codehaus.groovy.ast.expr.MethodCallExpression.visit(MethodCallExpression.java:75)
      2. org.codehaus.groovy.ast.CodeVisitorSupport.visitExpressionStatement(CodeVisitorSupport.java:69)
      3. org.codehaus.groovy.ast.ClassCodeVisitorSupport.visitExpressionStatement(ClassCodeVisitorSupport.java:209)
      4. org.codehaus.groovy.ast.stmt.ExpressionStatement.visit(ExpressionStatement.java:40)
      5. org.codehaus.groovy.ast.CodeVisitorSupport.visitBlockStatement(CodeVisitorSupport.java:35)
      6. org.codehaus.groovy.ast.ClassCodeVisitorSupport.visitBlockStatement(ClassCodeVisitorSupport.java:179)
      6 frames
    7. Groovy-Eclipse Batch Compiler
      TypeInferencingVisitorWithRequestor.visitBlockStatement
      1. org.eclipse.jdt.groovy.search.TypeInferencingVisitorWithRequestor.visitBlockStatement(TypeInferencingVisitorWithRequestor.java:1068)
      1 frame
    8. Groovy
      CodeVisitorSupport.visitClosureExpression
      1. org.codehaus.groovy.ast.stmt.BlockStatement.visit(BlockStatement.java:69)
      2. org.codehaus.groovy.ast.CodeVisitorSupport.visitClosureExpression(CodeVisitorSupport.java:174)
      2 frames
    9. Groovy-Eclipse Batch Compiler
      TypeInferencingVisitorWithRequestor.visitClosureExpression
      1. org.eclipse.jdt.groovy.search.TypeInferencingVisitorWithRequestor.visitClosureExpression(TypeInferencingVisitorWithRequestor.java:1025)
      1 frame
    10. Groovy
      ClosureExpression.visit
      1. org.codehaus.groovy.ast.expr.ClosureExpression.visit(ClosureExpression.java:45)
      1 frame
    11. Groovy-Eclipse Batch Compiler
      TypeInferencingVisitorWithRequestor.visitCompilationUnit
      1. org.eclipse.jdt.groovy.search.TypeInferencingVisitorWithRequestor.visitClassInternal(TypeInferencingVisitorWithRequestor.java:472)
      2. org.eclipse.jdt.groovy.search.TypeInferencingVisitorWithRequestor.visitJDT(TypeInferencingVisitorWithRequestor.java:225)
      3. org.eclipse.jdt.groovy.search.TypeInferencingVisitorWithRequestor.visitCompilationUnit(TypeInferencingVisitorWithRequestor.java:192)
      3 frames
    12. org.codehaus.groovy
      GroovyEditor.updateOccurrenceAnnotations
      1. org.codehaus.groovy.eclipse.codebrowsing.requestor.CodeSelectHelper.selectASTNode(CodeSelectHelper.java:99)
      2. org.codehaus.groovy.eclipse.search.GroovyOccurrencesFinder.initialize(GroovyOccurrencesFinder.java:208)
      3. org.codehaus.groovy.eclipse.editor.GroovyEditor.updateOccurrenceAnnotations(GroovyEditor.java:1151)
      3 frames
    13. Java Development Tools UI
      JavaEditor$ActivationListener.windowActivated
      1. org.eclipse.jdt.internal.ui.javaeditor.JavaEditor$ActivationListener.windowActivated(JavaEditor.java:1256)
      1 frame
    14. Eclipse UI
      Workbench$14.run
      1. org.eclipse.ui.internal.Workbench$14.run(Workbench.java:999)
      1 frame
    15. Eclipse Core
      SafeRunner.run
      1. org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      1 frame
    16. Eclipse UI
      WorkbenchWindow$28.shellActivated
      1. org.eclipse.ui.internal.Workbench.fireWindowActivated(Workbench.java:997)
      2. org.eclipse.ui.internal.WorkbenchWindow$28.shellActivated(WorkbenchWindow.java:3110)
      2 frames
    17. RWT
      Display.windowProc
      1. org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:88)
      2. org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      3. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
      4. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1077)
      5. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1058)
      6. org.eclipse.swt.widgets.Decorations.WM_ACTIVATE(Decorations.java:1635)
      7. org.eclipse.swt.widgets.Shell.WM_ACTIVATE(Shell.java:2114)
      8. org.eclipse.swt.widgets.Control.windowProc(Control.java:4159)
      9. org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:341)
      10. org.eclipse.swt.widgets.Decorations.windowProc(Decorations.java:1598)
      11. org.eclipse.swt.widgets.Shell.windowProc(Shell.java:2038)
      12. org.eclipse.swt.widgets.Display.windowProc(Display.java:4873)
      12 frames
    18. org.eclipse.swt
      OS.SetFocus
      1. org.eclipse.swt.internal.win32.OS.SetFocus(Native Method)
      1 frame
    19. RWT
      Control.setFocus
      1. org.eclipse.swt.widgets.Control.forceFocus(Control.java:995)
      2. org.eclipse.swt.widgets.Control.setFocus(Control.java:3000)
      2 frames
    20. org.eclipse.ui
      LogView.setFocus
      1. org.eclipse.ui.internal.views.log.LogView.setFocus(LogView.java:1089)
      1 frame
    21. Eclipse UI
      WorkbenchPage$3.run
      1. org.eclipse.ui.internal.PartPane.setFocus(PartPane.java:332)
      2. org.eclipse.ui.internal.WorkbenchPage$3.run(WorkbenchPage.java:629)
      2 frames
    22. Eclipse Core
      Platform.run
      1. org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      2. org.eclipse.core.runtime.Platform.run(Platform.java:888)
      2 frames
    23. Eclipse UI
      WorkbenchPage.bringToTop
      1. org.eclipse.ui.internal.WorkbenchPage.activatePart(WorkbenchPage.java:624)
      2. org.eclipse.ui.internal.WorkbenchPage.setActivePart(WorkbenchPage.java:3533)
      3. org.eclipse.ui.internal.WorkbenchPage.requestActivation(WorkbenchPage.java:3077)
      4. org.eclipse.ui.internal.PartPane.requestActivation(PartPane.java:279)
      5. org.eclipse.ui.internal.PartPane.setFocus(PartPane.java:325)
      6. org.eclipse.ui.internal.FastViewPane.showView(FastViewPane.java:500)
      7. org.eclipse.ui.internal.Perspective.showFastView(Perspective.java:2193)
      8. org.eclipse.ui.internal.Perspective.setActiveFastView(Perspective.java:1939)
      9. org.eclipse.ui.internal.Perspective.setActiveFastView(Perspective.java:1952)
      10. org.eclipse.ui.internal.Perspective.bringToTop(Perspective.java:225)
      11. org.eclipse.ui.internal.WorkbenchPage.internalBringToTop(WorkbenchPage.java:799)
      12. org.eclipse.ui.internal.WorkbenchPage.bringToTop(WorkbenchPage.java:860)
      12 frames
    24. org.eclipse.ui
      LogView$25.run
      1. org.eclipse.ui.internal.views.log.LogView$25.run(LogView.java:1076)
      1 frame
    25. RWT
      Display.readAndDispatch
      1. org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
      2. org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
      3. org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4041)
      4. org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3660)
      4 frames
    26. Eclipse UI
      Workbench$7.run
      1. org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640)
      2. org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604)
      3. org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
      4. org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
      4 frames
    27. Databinding
      Realm.runWithDefault
      1. org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
      1 frame
    28. Eclipse UI
      Workbench.createAndRunWorkbench
      1. org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)
      1 frame
    29. Eclipse UI
      PlatformUI.createAndRunWorkbench
      1. org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
      1 frame
    30. Eclipse IDE
      IDEApplication.start
      1. org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
      1 frame
    31. Equinox Container
      EclipseAppHandle.run
      1. org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
      1 frame
    32. Eclipse OSGi
      EclipseStarter.run
      1. org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
      2. org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
      3. org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
      4. org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
      4 frames
    33. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    34. Equinox
      Main.main
      1. org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:620)
      2. org.eclipse.equinox.launcher.Main.basicRun(Main.java:575)
      3. org.eclipse.equinox.launcher.Main.run(Main.java:1408)
      4. org.eclipse.equinox.launcher.Main.main(Main.java:1384)
      4 frames