Latest Groovy update
Hi, today I've updated to the latest version of the JetGroovy plugin (1.5.xxx).
I don't know if I'm doing something wrong but I now can't add Groovy classes or scripts to the project. The Menu items in "New" menu are gone.
What am I doing wrong?
Regards,
Manfred
请先登录再写评论。
The menu items were suddenly there again.
Not sure what was wrong.
All good.
Btw: I'm very happy with IDEA and the Groovy Plugin (actually this was the reason to buy IDEA).
Manfred
Manfred: Have you installed scriptom to use with groovy? I'm having problem with it -- was wondering if you could shed some light on how if you did installed it. I'm getting unsatisfied link error.
Hi there!
IDEA 7.0.3 and JetGroovy plugin version 1.5.17497 is working fine for me, mostly.
However, sometimes I keep getting IDE Fatal Errors of type as follows. Does anyone in the community
or at JetBrains have any clue to what the reason for this is?
It keeps repeating periodically. It seams to help to close all editors and restart IDEA, but not every time.
Regards,
Robert
org/jetbrains/plugins/groovy/lang/psi/impl/statements/GrBlockStatement
java.lang.NoClassDefFoundError: org/jetbrains/plugins/groovy/lang/psi/impl/statements/GrBlockStatement
at com.siyeh.inspectorgroovy.confusing.GroovyEmptyStatementBodyInspection$Visitor.isEmpty(GroovyEmptyStatementBodyInspection.java:91)
at com.siyeh.inspectorgroovy.confusing.GroovyEmptyStatementBodyInspection$Visitor.visitIfStatement(GroovyEmptyStatementBodyInspection.java:76)
at org.jetbrains.plugins.groovy.lang.psi.impl.statements.GrIfStatementImpl.accept(GrIfStatementImpl.java:39)
at org.jetbrains.plugins.groovy.lang.psi.impl.GroovyPsiElementImpl.acceptChildren(GroovyPsiElementImpl.java:123)
at org.jetbrains.plugins.groovy.lang.psi.GroovyRecursiveElementVisitor.visitElement(GroovyRecursiveElementVisitor.java:9)
at org.jetbrains.plugins.groovy.lang.psi.GroovyElementVisitor.visitStatement(GroovyElementVisitor.java:50)
at org.jetbrains.plugins.groovy.lang.psi.GroovyElementVisitor.visitClosure(GroovyElementVisitor.java:54)
at org.jetbrains.plugins.groovy.lang.psi.impl.statements.blocks.GrClosableBlockImpl.accept(GrClosableBlockImpl.java:58)
at org.jetbrains.plugins.groovy.lang.psi.impl.GroovyPsiElementImpl.acceptChildren(GroovyPsiElementImpl.java:123)
at org.jetbrains.plugins.groovy.lang.psi.GroovyRecursiveElementVisitor.visitElement(GroovyRecursiveElementVisitor.java:9)
at org.jetbrains.plugins.groovy.lang.psi.GroovyElementVisitor.visitVariable(GroovyElementVisitor.java:406)
at org.jetbrains.plugins.groovy.lang.psi.GroovyElementVisitor.visitField(GroovyElementVisitor.java:326)
at org.jetbrains.plugins.groovy.lang.psi.impl.statements.GrFieldImpl.accept(GrFieldImpl.java:56)
at org.jetbrains.plugins.groovy.lang.psi.impl.GroovyPsiElementImpl.acceptChildren(GroovyPsiElementImpl.java:123)
at org.jetbrains.plugins.groovy.lang.psi.GroovyRecursiveElementVisitor.visitElement(GroovyRecursiveElementVisitor.java:9)
at org.jetbrains.plugins.groovy.lang.psi.GroovyElementVisitor.visitStatement(GroovyElementVisitor.java:50)
at org.jetbrains.plugins.groovy.lang.psi.GroovyElementVisitor.visitVariableDeclaration(GroovyElementVisitor.java:402)
at org.jetbrains.plugins.groovy.lang.psi.impl.statements.GrVariableDeclarationImpl.accept(GrVariableDeclarationImpl.java:34)
at org.jetbrains.plugins.groovy.lang.psi.impl.GroovyPsiElementImpl.acceptChildren(GroovyPsiElementImpl.java:123)
at org.jetbrains.plugins.groovy.lang.psi.GroovyRecursiveElementVisitor.visitElement(GroovyRecursiveElementVisitor.java:9)
at org.jetbrains.plugins.groovy.lang.psi.GroovyElementVisitor.visitTypeDefinitionBody(GroovyElementVisitor.java:330)
at org.jetbrains.plugins.groovy.lang.psi.impl.statements.typedef.bodies.GrTypeDefinitionBodyImpl.accept(GrTypeDefinitionBodyImpl.java:42)
at org.jetbrains.plugins.groovy.lang.psi.impl.GroovyPsiElementImpl.acceptChildren(GroovyPsiElementImpl.java:123)
at org.jetbrains.plugins.groovy.lang.psi.GroovyRecursiveElementVisitor.visitElement(GroovyRecursiveElementVisitor.java:9)
at org.jetbrains.plugins.groovy.lang.psi.GroovyElementVisitor.visitTypeDefinition(GroovyElementVisitor.java:242)
at org.jetbrains.plugins.groovy.lang.psi.impl.statements.typedef.GrTypeDefinitionImpl.accept(GrTypeDefinitionImpl.java:96)
at org.jetbrains.plugins.groovy.lang.psi.impl.GroovyFileBaseImpl.acceptChildren(GroovyFileBaseImpl.java:143)
at org.jetbrains.plugins.groovy.lang.psi.GroovyRecursiveElementVisitor.visitElement(GroovyRecursiveElementVisitor.java:9)
at org.jetbrains.plugins.groovy.lang.psi.GroovyElementVisitor.visitFile(GroovyElementVisitor.java:42)
at org.jetbrains.plugins.groovy.lang.psi.impl.GroovyFileBaseImpl.accept(GroovyFileBaseImpl.java:136)
at com.siyeh.inspectorgroovy.BaseInspection.checkFile(BaseInspection.java:81)
at com.intellij.codeInspection.LocalInspectionTool$1.visitFile(LocalInspectionTool.java:104)
at com.intellij.extapi.psi.PsiFileBase.accept(PsiFileBase.java:93)
at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass$1$1.run(LocalInspectionsPass.java:1)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:79)
at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass$1.run(LocalInspectionsPass.java:3)
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 com.intellij.concurrency.JobImpl.scheduleAndWaitForResults(JobImpl.java:29)
at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.a(LocalInspectionsPass.java:78)
at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.a(LocalInspectionsPass.java:127)
at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.collectInformationWithProgress(LocalInspectionsPass.java:37)
at com.intellij.codeInsight.daemon.impl.ProgressableTextEditorHighlightingPass.doCollectInformation(ProgressableTextEditorHighlightingPass.java:22)
at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:50)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1$1.run(PassExecutorService.java:1)
at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:110)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1.run(PassExecutorService.java:3)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:79)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:26)
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:885)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
at java.lang.Thread.run(Thread.java:619)
java.lang.NoClassDefFoundError: org/jetbrains/plugins/groovy/lang/psi/impl/statements/GrBlockStatement
at com.siyeh.inspectorgroovy.confusing.GroovyEmptyStatementBodyInspection$Visitor.isEmpty(GroovyEmptyStatementBodyInspection.java:91)
at com.siyeh.inspectorgroovy.confusing.GroovyEmptyStatementBodyInspection$Visitor.visitIfStatement(GroovyEmptyStatementBodyInspection.java:76)
at org.jetbrains.plugins.groovy.lang.psi.impl.statements.GrIfStatementImpl.accept(GrIfStatementImpl.java:39)
at org.jetbrains.plugins.groovy.lang.psi.impl.GroovyPsiElementImpl.acceptChildren(GroovyPsiElementImpl.java:123)
at org.jetbrains.plugins.groovy.lang.psi.GroovyRecursiveElementVisitor.visitElement(GroovyRecursiveElementVisitor.java:9)
at org.jetbrains.plugins.groovy.lang.psi.GroovyElementVisitor.visitStatement(GroovyElementVisitor.java:50)
at org.jetbrains.plugins.groovy.lang.psi.GroovyElementVisitor.visitClosure(GroovyElementVisitor.java:54)
at org.jetbrains.plugins.groovy.lang.psi.impl.statements.blocks.GrClosableBlockImpl.accept(GrClosableBlockImpl.java:58)
at org.jetbrains.plugins.groovy.lang.psi.impl.GroovyPsiElementImpl.acceptChildren(GroovyPsiElementImpl.java:123)
at org.jetbrains.plugins.groovy.lang.psi.GroovyRecursiveElementVisitor.visitElement(GroovyRecursiveElementVisitor.java:9)
at org.jetbrains.plugins.groovy.lang.psi.GroovyElementVisitor.visitVariable(GroovyElementVisitor.java:406)
at org.jetbrains.plugins.groovy.lang.psi.GroovyElementVisitor.visitField(GroovyElementVisitor.java:326)
at org.jetbrains.plugins.groovy.lang.psi.impl.statements.GrFieldImpl.accept(GrFieldImpl.java:56)
at org.jetbrains.plugins.groovy.lang.psi.impl.GroovyPsiElementImpl.acceptChildren(GroovyPsiElementImpl.java:123)
at org.jetbrains.plugins.groovy.lang.psi.GroovyRecursiveElementVisitor.visitElement(GroovyRecursiveElementVisitor.java:9)
at org.jetbrains.plugins.groovy.lang.psi.GroovyElementVisitor.visitStatement(GroovyElementVisitor.java:50)
at org.jetbrains.plugins.groovy.lang.psi.GroovyElementVisitor.visitVariableDeclaration(GroovyElementVisitor.java:402)
at org.jetbrains.plugins.groovy.lang.psi.impl.statements.GrVariableDeclarationImpl.accept(GrVariableDeclarationImpl.java:34)
at org.jetbrains.plugins.groovy.lang.psi.impl.GroovyPsiElementImpl.acceptChildren(GroovyPsiElementImpl.java:123)
at org.jetbrains.plugins.groovy.lang.psi.GroovyRecursiveElementVisitor.visitElement(GroovyRecursiveElementVisitor.java:9)
at org.jetbrains.plugins.groovy.lang.psi.GroovyElementVisitor.visitTypeDefinitionBody(GroovyElementVisitor.java:330)
at org.jetbrains.plugins.groovy.lang.psi.impl.statements.typedef.bodies.GrTypeDefinitionBodyImpl.accept(GrTypeDefinitionBodyImpl.java:42)
at org.jetbrains.plugins.groovy.lang.psi.impl.GroovyPsiElementImpl.acceptChildren(GroovyPsiElementImpl.java:123)
at org.jetbrains.plugins.groovy.lang.psi.GroovyRecursiveElementVisitor.visitElement(GroovyRecursiveElementVisitor.java:9)
at org.jetbrains.plugins.groovy.lang.psi.GroovyElementVisitor.visitTypeDefinition(GroovyElementVisitor.java:242)
at org.jetbrains.plugins.groovy.lang.psi.impl.statements.typedef.GrTypeDefinitionImpl.accept(GrTypeDefinitionImpl.java:96)
at org.jetbrains.plugins.groovy.lang.psi.impl.GroovyFileBaseImpl.acceptChildren(GroovyFileBaseImpl.java:143)
at org.jetbrains.plugins.groovy.lang.psi.GroovyRecursiveElementVisitor.visitElement(GroovyRecursiveElementVisitor.java:9)
at org.jetbrains.plugins.groovy.lang.psi.GroovyElementVisitor.visitFile(GroovyElementVisitor.java:42)
at org.jetbrains.plugins.groovy.lang.psi.impl.GroovyFileBaseImpl.accept(GroovyFileBaseImpl.java:136)
at com.siyeh.inspectorgroovy.BaseInspection.checkFile(BaseInspection.java:81)
at com.intellij.codeInspection.LocalInspectionTool$1.visitFile(LocalInspectionTool.java:104)
at com.intellij.extapi.psi.PsiFileBase.accept(PsiFileBase.java:93)
at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass$1$1.run(LocalInspectionsPass.java:1)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:79)
at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass$1.run(LocalInspectionsPass.java:3)
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:885)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
at java.lang.Thread.run(Thread.java:619)
Edited by: Robert Bjarum on Aug 13, 2008 2:36 PM
Sure,
just remove InspectorGroovy plugin - it is now bundled, and the version you have installed is incompatible.