groovy-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aurélien Pupier (JIRA) <j...@apache.org>
Subject [jira] [Commented] (GROOVY-8315) Looping in GroovyRecognizer.enumConstants during compilation
Date Mon, 25 Sep 2017 07:21:01 GMT

    [ https://issues.apache.org/jira/browse/GROOVY-8315?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16178660#comment-16178660
] 

Aurélien Pupier commented on GROOVY-8315:
-----------------------------------------

{quote}can you supply the enum that is being processed by your stack trace? {quote}
Unfortunately, I can't provide the enum that is processed, the UI is frozen when i try to
import the "Groovy" project.

{quote}
When you compile with gradle (aka groovyc), is this looping happening? I think this is likely
going to need to be an issue opened against groovy-eclipse.{quote}

I have not tried with this specific version, I was blocked during my investigation.
I don't have the project anymore and moved on another thing right now. not sure when i will
have time to get back to that.




> Looping in GroovyRecognizer.enumConstants during compilation
> ------------------------------------------------------------
>
>                 Key: GROOVY-8315
>                 URL: https://issues.apache.org/jira/browse/GROOVY-8315
>             Project: Groovy
>          Issue Type: Bug
>          Components: Compiler
>    Affects Versions: 2.4.12
>            Reporter: Aurélien Pupier
>
> i tried to import the Groovy project in Eclipse using Buildship (so without using gradlew
jar eclipse which is not working) and with Groovy-eclipse installed.  It is blocked in "Compilation".
> This stack is roundtripping from l.6825 to 6835
> {noformat}
> Name: Worker-3
> State: RUNNABLE
> Total blocked: 1,686  Total waited: 1,206
> Stack trace: 
> org.codehaus.groovy.antlr.parser.GroovyRecognizer.enumConstants(GroovyRecognizer.java:6825)
> org.codehaus.groovy.antlr.parser.GroovyRecognizer.enumBlock(GroovyRecognizer.java:5878)
> org.codehaus.groovy.antlr.parser.GroovyRecognizer.enumDefinition(GroovyRecognizer.java:2422)
> org.codehaus.groovy.antlr.parser.GroovyRecognizer.typeDefinitionInternal(GroovyRecognizer.java:2134)
> org.codehaus.groovy.antlr.parser.GroovyRecognizer.classField(GroovyRecognizer.java:6368)
> org.codehaus.groovy.antlr.parser.GroovyRecognizer.enumConstants(GroovyRecognizer.java:6868)
> org.codehaus.groovy.antlr.parser.GroovyRecognizer.enumBlock(GroovyRecognizer.java:5878)
> org.codehaus.groovy.antlr.parser.GroovyRecognizer.enumDefinition(GroovyRecognizer.java:2422)
> org.codehaus.groovy.antlr.parser.GroovyRecognizer.typeDefinitionInternal(GroovyRecognizer.java:2134)
> org.codehaus.groovy.antlr.parser.GroovyRecognizer.statement(GroovyRecognizer.java:1473)
> org.codehaus.groovy.antlr.parser.GroovyRecognizer.compilationUnit(GroovyRecognizer.java:772)
> org.codehaus.groovy.antlr.ErrorRecoveredCSTParserPlugin.transformCSTIntoAST(ErrorRecoveredCSTParserPlugin.java:64)
> org.codehaus.groovy.antlr.AntlrParserPlugin.parseCST(AntlrParserPlugin.java:113)
> org.codehaus.groovy.control.SourceUnit.parse(SourceUnit.java:248)
> org.codehaus.groovy.control.CompilationUnit$8.call(CompilationUnit.java:182)
> org.codehaus.groovy.control.CompilationUnit.applyToSourceUnits(CompilationUnit.java:966)
> org.codehaus.groovy.control.CompilationUnit.doPhaseOperation(CompilationUnit.java:622)
> org.codehaus.groovy.control.CompilationUnit.processPhaseOperations(CompilationUnit.java:598)
> org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:575)
> org.codehaus.jdt.groovy.internal.compiler.ast.GroovyCompilationUnitDeclaration.processToPhase(GroovyCompilationUnitDeclaration.java:220)
> org.codehaus.jdt.groovy.internal.compiler.ast.GroovyParser.dietParse(GroovyParser.java:388)
> org.codehaus.jdt.groovy.integration.internal.MultiplexingParser.dietParse(MultiplexingParser.java:53)
> org.eclipse.jdt.internal.compiler.Compiler.internalBeginToCompile(Compiler.java:827)
> org.eclipse.jdt.internal.compiler.Compiler.beginToCompile(Compiler.java:395)
> org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:441)
> org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:427)
> org.eclipse.jdt.internal.core.builder.AbstractImageBuilder.compile(AbstractImageBuilder.java:392)
> org.eclipse.jdt.internal.core.builder.BatchImageBuilder.compile(BatchImageBuilder.java:192)
> org.eclipse.jdt.internal.core.builder.AbstractImageBuilder.compile(AbstractImageBuilder.java:329)
> org.eclipse.jdt.internal.core.builder.BatchImageBuilder.build(BatchImageBuilder.java:63)
> org.eclipse.jdt.internal.core.builder.JavaBuilder.buildAll(JavaBuilder.java:256)
> org.eclipse.jdt.internal.core.builder.JavaBuilder.build(JavaBuilder.java:175)
> org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:735)
> org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
> org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:206)
> org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:246)
> org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:301)
> org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
> org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:304)
> org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:360)
> org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:383)
> org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:142)
> org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:232)
> org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)
> {noformat}
> it seems to be related to the groovy compiler itself (currently using the 2.4.12 embedded
in Groovy-eclipse)



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message