New compiler exception running GRECLIPSE Version: 2.7.1.xx-20120727-1400-e42 (snapshot): Internal groovy compiler error

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

New compiler exception running GRECLIPSE Version: 2.7.1.xx-20120727-1400-e42 (snapshot): Internal groovy compiler error

John Bito
I don't have much information yet, but I wanted to let folks know that I'm seeing a new problem using the current snapshot with Juno and Groovy 1.8.6. If gather something substantive, I'll add an issue in Jira. I've included the error log entry below. Please let me know if you thing of something that could help isolate this problem.

Thanks!
John

eclipse.buildId=I20120608-1400
java.version=1.6.0_31
java.vendor=Apple Inc.
BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US
Framework arguments:  -keyring /Users/johnbito/.eclipse_keyring -showlocation
Command-line arguments:  -os macosx -ws cocoa -arch x86_64 -keyring /Users/johnbito/.eclipse_keyring -showlocation

Error
Tue Jul 31 09:13:29 PDT 2012
Internal groovy compiler error.

BUG! exception in phase 'semantic analysis' in source unit '/workspace/12JulyTest2/main/src-test/com/bobberinteractive/env/NamespaceFilterTest.groovy' Queuing new source whilst already iterating.  Queued source is '/workspace/12JulyTest2/main/src-test/com/bobberinteractive/env/NamespaceFilterTest.groovy'
    at org.codehaus.groovy.control.CompilationUnit.addSource(CompilationUnit.java:433)
    at org.codehaus.jdt.groovy.internal.compiler.ast.GroovyParser.dietParse(GroovyParser.java:443)
    at org.codehaus.jdt.groovy.integration.internal.MultiplexingParser.dietParse(MultiplexingParser.java:44)
    at org.eclipse.jdt.internal.compiler.Compiler.accept(Compiler.java:338)
    at org.eclipse.jdt.internal.compiler.lookup.LookupEnvironment.askForType(LookupEnvironment.java:155)
    at org.eclipse.jdt.internal.compiler.lookup.PackageBinding.getTypeOrPackage(PackageBinding.java:197)
    at org.eclipse.jdt.internal.compiler.lookup.Scope.getType(Scope.java:2546)
    at org.codehaus.jdt.groovy.internal.compiler.ast.GroovyCompilationUnitScope.lookupClassNodeForSource(GroovyCompilationUnitScope.java:231)
    at org.codehaus.jdt.groovy.internal.compiler.ast.JDTResolver.resolveFromCompileUnit(JDTResolver.java:194)
    at org.codehaus.groovy.control.ResolveVisitor.resolveNestedClass(ResolveVisitor.java:388)
    at org.codehaus.groovy.control.ResolveVisitor.resolve(ResolveVisitor.java:361)
    at org.codehaus.jdt.groovy.internal.compiler.ast.JDTResolver.resolve(JDTResolver.java:386)
    at org.codehaus.groovy.control.ResolveVisitor.visitClass(ResolveVisitor.java:1401)
    at org.codehaus.groovy.control.ResolveVisitor.startResolving(ResolveVisitor.java:200)
    at org.codehaus.jdt.groovy.internal.compiler.ast.JDTResolver.startResolving(JDTResolver.java:752)
    at org.codehaus.groovy.control.CompilationUnit$1.call(CompilationUnit.java:677)
    at org.codehaus.groovy.control.CompilationUnit.applyToSourceUnits(CompilationUnit.java:940)
    at org.codehaus.groovy.control.CompilationUnit.doPhaseOperation(CompilationUnit.java:612)
    at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:561)
    at org.codehaus.jdt.groovy.internal.compiler.ast.GroovyCompilationUnitDeclaration.processToPhase(GroovyCompilationUnitDeclaration.java:171)
    at org.codehaus.jdt.groovy.internal.compiler.ast.GroovyCompilationUnitDeclaration.resolve(GroovyCompilationUnitDeclaration.java:1994)
    at org.eclipse.jdt.internal.compiler.Compiler.process(Compiler.java:827)
    at org.eclipse.jdt.internal.compiler.ProcessTaskManager.run(ProcessTaskManager.java:137)
    at java.lang.Thread.run(Thread.java:680)


Reply | Threaded
Open this post in threaded view
|

Re: New compiler exception running GRECLIPSE Version: 2.7.1.xx-20120727-1400-e42 (snapshot): Internal groovy compiler error

Andy Clement
Hi,

The diagnostics there (the "Queuing new source whilst already
iterating.") were added a couple of years ago for bugs like
https://jira.codehaus.org/browse/GRECLIPSE-1037.

You seem to have found another route to triggering it - if you can tie
it down to a simple testcase, that would be great.  It appears related
to the use of inner classes.

Andy

On 1 August 2012 08:12, John Bito <[hidden email]> wrote:

> I don't have much information yet, but I wanted to let folks know that I'm
> seeing a new problem using the current snapshot with Juno and Groovy 1.8.6.
> If gather something substantive, I'll add an issue in Jira. I've included
> the error log entry below. Please let me know if you thing of something that
> could help isolate this problem.
>
> Thanks!
> John
>
> eclipse.buildId=I20120608-1400
> java.version=1.6.0_31
> java.vendor=Apple Inc.
> BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US
> Framework arguments:  -keyring /Users/johnbito/.eclipse_keyring
> -showlocation
> Command-line arguments:  -os macosx -ws cocoa -arch x86_64 -keyring
> /Users/johnbito/.eclipse_keyring -showlocation
>
> Error
> Tue Jul 31 09:13:29 PDT 2012
> Internal groovy compiler error.
>
> BUG! exception in phase 'semantic analysis' in source unit
> '/workspace/12JulyTest2/main/src-test/com/bobberinteractive/env/NamespaceFilterTest.groovy'
> Queuing new source whilst already iterating.  Queued source is
> '/workspace/12JulyTest2/main/src-test/com/bobberinteractive/env/NamespaceFilterTest.groovy'
>     at
> org.codehaus.groovy.control.CompilationUnit.addSource(CompilationUnit.java:433)
>     at
> org.codehaus.jdt.groovy.internal.compiler.ast.GroovyParser.dietParse(GroovyParser.java:443)
>     at
> org.codehaus.jdt.groovy.integration.internal.MultiplexingParser.dietParse(MultiplexingParser.java:44)
>     at org.eclipse.jdt.internal.compiler.Compiler.accept(Compiler.java:338)
>     at
> org.eclipse.jdt.internal.compiler.lookup.LookupEnvironment.askForType(LookupEnvironment.java:155)
>     at
> org.eclipse.jdt.internal.compiler.lookup.PackageBinding.getTypeOrPackage(PackageBinding.java:197)
>     at
> org.eclipse.jdt.internal.compiler.lookup.Scope.getType(Scope.java:2546)
>     at
> org.codehaus.jdt.groovy.internal.compiler.ast.GroovyCompilationUnitScope.lookupClassNodeForSource(GroovyCompilationUnitScope.java:231)
>     at
> org.codehaus.jdt.groovy.internal.compiler.ast.JDTResolver.resolveFromCompileUnit(JDTResolver.java:194)
>     at
> org.codehaus.groovy.control.ResolveVisitor.resolveNestedClass(ResolveVisitor.java:388)
>     at
> org.codehaus.groovy.control.ResolveVisitor.resolve(ResolveVisitor.java:361)
>     at
> org.codehaus.jdt.groovy.internal.compiler.ast.JDTResolver.resolve(JDTResolver.java:386)
>     at
> org.codehaus.groovy.control.ResolveVisitor.visitClass(ResolveVisitor.java:1401)
>     at
> org.codehaus.groovy.control.ResolveVisitor.startResolving(ResolveVisitor.java:200)
>     at
> org.codehaus.jdt.groovy.internal.compiler.ast.JDTResolver.startResolving(JDTResolver.java:752)
>     at
> org.codehaus.groovy.control.CompilationUnit$1.call(CompilationUnit.java:677)
>     at
> org.codehaus.groovy.control.CompilationUnit.applyToSourceUnits(CompilationUnit.java:940)
>     at
> org.codehaus.groovy.control.CompilationUnit.doPhaseOperation(CompilationUnit.java:612)
>     at
> org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:561)
>     at
> org.codehaus.jdt.groovy.internal.compiler.ast.GroovyCompilationUnitDeclaration.processToPhase(GroovyCompilationUnitDeclaration.java:171)
>     at
> org.codehaus.jdt.groovy.internal.compiler.ast.GroovyCompilationUnitDeclaration.resolve(GroovyCompilationUnitDeclaration.java:1994)
>     at org.eclipse.jdt.internal.compiler.Compiler.process(Compiler.java:827)
>     at
> org.eclipse.jdt.internal.compiler.ProcessTaskManager.run(ProcessTaskManager.java:137)
>     at java.lang.Thread.run(Thread.java:680)
>
>

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email