Groovy plugin unusable in build 10633

This exception is popping up every couple seconds or so, can't do anything with the IDE:

2009-08-07 11:39:24,796 [1587781]  ERROR - currency.PrioritizedFutureTask - IntelliJ IDEA (Maia) #10633  Build #10633
2009-08-07 11:39:24,796 [1587781]  ERROR - currency.PrioritizedFutureTask - JDK: 1.6.0_14
2009-08-07 11:39:24,796 [1587781]  ERROR - currency.PrioritizedFutureTask - VM: Java HotSpot(TM) Client VM
2009-08-07 11:39:24,796 [1587781]  ERROR - currency.PrioritizedFutureTask - Vendor: Sun Microsystems Inc.
2009-08-07 11:39:24,796 [1587781]  ERROR - currency.PrioritizedFutureTask - OS: Windows XP
2009-08-07 11:39:24,796 [1587781]  ERROR - currency.PrioritizedFutureTask - Last Action: $SelectAll
2009-08-07 11:39:24,796 [1587781]  ERROR - currency.PrioritizedFutureTask - Original exception: 
java.lang.NoSuchMethodError: org.codehaus.groovy.runtime.GroovyCategorySupport.getCategoryNameUsage(Ljava/lang/String;)Ljava/util/concurrent/atomic/AtomicInteger;
    at org.codehaus.groovy.runtime.callsite.AbstractCallSite.<init>(AbstractCallSite.java:46)
    at org.codehaus.groovy.runtime.callsite.CallSiteArray.<init>(CallSiteArray.java:35)
    at org.jetbrains.plugins.groovy.dsl.GroovyDslExecutor.$createCallSiteArray(GroovyDslExecutor.groovy)
    at org.jetbrains.plugins.groovy.dsl.GroovyDslExecutor.$getCallSiteArray(GroovyDslExecutor.groovy)
    at org.jetbrains.plugins.groovy.dsl.GroovyDslExecutor.<init>(GroovyDslExecutor.groovy)
    at org.jetbrains.plugins.groovy.dsl.GroovyDslFileIndex$1.compute(GroovyDslFileIndex.java:111)
    at com.intellij.psi.impl.CachedValueImpl.getValue(CachedValueImpl.java:103)
    at org.jetbrains.plugins.groovy.dsl.GroovyDslFileIndex.processExecutors(GroovyDslFileIndex.java:121)
    at org.jetbrains.plugins.groovy.lang.psi.impl.GroovyFileImpl.processScriptEnhancements(GroovyFileImpl.java:161)
    at org.jetbrains.plugins.groovy.lang.psi.impl.GroovyFileImpl.processDeclarations(GroovyFileImpl.java:115)
    at org.jetbrains.plugins.groovy.lang.resolve.ResolveUtil.treeWalkUp(ResolveUtil.java:58)
    at org.jetbrains.plugins.groovy.lang.psi.impl.statements.expressions.GrReferenceExpressionImpl$OurResolver.resolveImpl(GrReferenceExpressionImpl.java:414)
    at org.jetbrains.plugins.groovy.lang.psi.impl.statements.expressions.GrReferenceExpressionImpl$OurResolver.resolve(GrReferenceExpressionImpl.java:395)
    at org.jetbrains.plugins.groovy.lang.psi.impl.statements.expressions.GrReferenceExpressionImpl$OurResolver.resolve(GrReferenceExpressionImpl.java:389)
    at com.intellij.psi.impl.source.resolve.ResolveCache.a(ResolveCache.java:0)
    at com.intellij.psi.impl.source.resolve.ResolveCache.resolveWithCaching(ResolveCache.java:107)
    at org.jetbrains.plugins.groovy.lang.psi.impl.statements.expressions.GrReferenceExpressionImpl.advancedResolve(GrReferenceExpressionImpl.java:628)
    at org.jetbrains.plugins.groovy.lang.psi.impl.statements.expressions.GrReferenceExpressionImpl.getNominalTypeImpl(GrReferenceExpressionImpl.java:205)
    at org.jetbrains.plugins.groovy.lang.psi.impl.statements.expressions.GrReferenceExpressionImpl.access$200(GrReferenceExpressionImpl.java:72)
    at org.jetbrains.plugins.groovy.lang.psi.impl.statements.expressions.GrReferenceExpressionImpl$OurTypesCalculator.fun(GrReferenceExpressionImpl.java:344)
    at org.jetbrains.plugins.groovy.lang.psi.impl.statements.expressions.GrReferenceExpressionImpl$OurTypesCalculator.fun(GrReferenceExpressionImpl.java:341)
    at org.jetbrains.plugins.groovy.lang.psi.impl.GroovyPsiManager.getType(GroovyPsiManager.java:226)
    at org.jetbrains.plugins.groovy.lang.psi.impl.statements.expressions.GrReferenceExpressionImpl.getType(GrReferenceExpressionImpl.java:368)
    at org.jetbrains.plugins.groovy.lang.psi.dataFlow.types.TypeDfaInstance$1.compute(TypeDfaInstance.java:104)
    at org.jetbrains.plugins.groovy.lang.psi.dataFlow.types.TypeDfaInstance$1.compute(TypeDfaInstance.java:102)
    at org.jetbrains.plugins.groovy.lang.psi.impl.TypeInferenceHelper.doInference(TypeInferenceHelper.java:110)
    at org.jetbrains.plugins.groovy.lang.psi.dataFlow.types.TypeDfaInstance.fun(TypeDfaInstance.java:52)
    at org.jetbrains.plugins.groovy.lang.psi.dataFlow.types.TypeDfaInstance.fun(TypeDfaInstance.java:43)
    at org.jetbrains.plugins.groovy.lang.psi.dataFlow.DFAEngine.performDFA(DFAEngine.java:85)
    at org.jetbrains.plugins.groovy.lang.psi.impl.TypeInferenceHelper.inferTypes(TypeInferenceHelper.java:135)
    at org.jetbrains.plugins.groovy.lang.psi.impl.TypeInferenceHelper.getInferredType(TypeInferenceHelper.java:87)
    at org.jetbrains.plugins.groovy.lang.psi.impl.statements.expressions.GrReferenceExpressionImpl$OurTypesCalculator.fun(GrReferenceExpressionImpl.java:343)
    at org.jetbrains.plugins.groovy.lang.psi.impl.statements.expressions.GrReferenceExpressionImpl$OurTypesCalculator.fun(GrReferenceExpressionImpl.java:341)
    at org.jetbrains.plugins.groovy.lang.psi.impl.GroovyPsiManager.getType(GroovyPsiManager.java:226)
    at org.jetbrains.plugins.groovy.lang.psi.impl.statements.expressions.GrReferenceExpressionImpl.getType(GrReferenceExpressionImpl.java:368)
    at org.jetbrains.plugins.groovy.lang.psi.impl.statements.expressions.GrReferenceExpressionImpl.getThisType(GrReferenceExpressionImpl.java:540)
    at org.jetbrains.plugins.groovy.lang.psi.impl.statements.expressions.GrReferenceExpressionImpl.getMethodOrPropertyResolveProcessor(GrReferenceExpressionImpl.java:528)
    at org.jetbrains.plugins.groovy.lang.psi.impl.statements.expressions.GrReferenceExpressionImpl.access$300(GrReferenceExpressionImpl.java:72)
    at org.jetbrains.plugins.groovy.lang.psi.impl.statements.expressions.GrReferenceExpressionImpl$OurResolver.resolve(GrReferenceExpressionImpl.java:393)
    at org.jetbrains.plugins.groovy.lang.psi.impl.statements.expressions.GrReferenceExpressionImpl$OurResolver.resolve(GrReferenceExpressionImpl.java:389)
    at com.intellij.psi.impl.source.resolve.ResolveCache.a(ResolveCache.java:0)
    at com.intellij.psi.impl.source.resolve.ResolveCache.a(ResolveCache.java:69)
    at com.intellij.psi.impl.source.resolve.ResolveCache.resolveWithCaching(ResolveCache.java:107)
    at org.jetbrains.plugins.groovy.lang.psi.impl.statements.expressions.GrReferenceExpressionImpl.multiResolve(GrReferenceExpressionImpl.java:634)
    at org.jetbrains.plugins.groovy.lang.psi.patterns.GroovyElementPattern$1.accepts(GroovyElementPattern.java:54)
    at org.jetbrains.plugins.groovy.lang.psi.patterns.GroovyElementPattern$1.accepts(GroovyElementPattern.java:43)
    at com.intellij.patterns.ElementPatternCondition.accepts(ElementPatternCondition.java:28)
    at com.intellij.patterns.ObjectPattern.accepts(ObjectPattern.java:40)
    at org.intellij.plugins.intelliLang.inject.config.BaseInjection.acceptsPsiElement(BaseInjection.java:142)
    at org.intellij.plugins.intelliLang.inject.DefaultLanguageInjector.getLanguagesToInject(DefaultLanguageInjector.java:61)
    at com.intellij.psi.impl.source.tree.injected.InjectedPsiCachedValueProvider$MyInjProcessor.process(InjectedPsiCachedValueProvider.java:3)
    at com.intellij.psi.impl.source.tree.injected.InjectedLanguageManagerImpl.processInPlaceInjectorsFor(InjectedLanguageManagerImpl.java:146)
    at com.intellij.psi.impl.source.tree.injected.InjectedPsiCachedValueProvider.doCompute(InjectedPsiCachedValueProvider.java:17)
    at com.intellij.psi.impl.source.tree.injected.InjectedLanguageUtil.a(InjectedLanguageUtil.java:43)
    at com.intellij.psi.impl.source.tree.injected.InjectedLanguageUtil.enumerate(InjectedLanguageUtil.java:138)
    at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.inspectInjectedPsi(LocalInspectionsPass.java:110)
    at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.a(LocalInspectionsPass.java:143)
    at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.a(LocalInspectionsPass.java:46)
    at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.collectInformationWithProgress(LocalInspectionsPass.java:136)
    at com.intellij.codeInsight.daemon.impl.ProgressableTextEditorHighlightingPass.doCollectInformation(ProgressableTextEditorHighlightingPass.java:15)
    at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:5)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1$1.run(PassExecutorService.java:3)
    at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:257)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1.run(PassExecutorService.java:1)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:44)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:25)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
    at java.util.concurrent.FutureTask.run(FutureTask.java:138)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    at java.lang.Thread.run(Thread.java:619)

4 comments
Comment actions Permalink

Invalidating all cached fixed it.

0
Comment actions Permalink

Oops, spoke too soon. The moment I opened a groovy script it started again.

0
Comment actions Permalink

Looks like IDEA needs a different Groovy version than the one you have.

0
Comment actions Permalink

Please check your IntelliJ IDEA's lib directory, there should be only
one groovy-related jar, namely groovy-all-1.6.3.jar.

0

Please sign in to leave a comment.