General error during semantic analysis: nyi class

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

General error during semantic analysis: nyi class

Jeffery Finley

Using Eclipse 

Version: Juno Service Release 2

Build id: 20130225-0426


def gaeVersion = '1.8.0'

def groovyVersion = '2.1.3'


my code is: ///////////////////


package com.tndegrees.model


import groovyx.gaelyk.datastore.Entity

import groovyx.gaelyk.datastore.Key

import groovyx.gaelyk.datastore.Unindexed


@Entity(unindexed=false)

class Person {

  String id

  String firstName

  String lastName

}


I receive the following error and stacktrace:

General error during semantic analysis: nyi class 

 org.eclipse.jdt.internal.compiler.lookup.UnresolvedReferenceBinding java.lang.IllegalStateException: nyi class 

 org.eclipse.jdt.internal.compiler.lookup.UnresolvedReferenceBinding at 

 org.codehaus.jdt.groovy.internal.compiler.ast.JDTClassNodeBuilder.configureType(JDTClassNodeBuilder.java:68) 

 at org.codehaus.jdt.groovy.internal.compiler.ast.JDTResolver.createJDTClassNode(JDTResolver.java:470) at 

 org.codehaus.jdt.groovy.internal.compiler.ast.JDTResolver.convertToClassNode(JDTResolver.java:449) at 

 org.codehaus.jdt.groovy.internal.compiler.ast.JDTAnnotationNode.createExpressionFor(JDTAnnotationNode.java:

 179) at 

 org.codehaus.jdt.groovy.internal.compiler.ast.JDTAnnotationNode.createExpressionFor(JDTAnnotationNode.java:

 158) at 

 org.codehaus.jdt.groovy.internal.compiler.ast.JDTAnnotationNode.ensureMembersInitialized(JDTAnnotationNode.j

 ava:143) at 

 org.codehaus.jdt.groovy.internal.compiler.ast.JDTAnnotationNode.getMember(JDTAnnotationNode.java:67) at 

 org.codehaus.groovy.transform.ASTTransformationCollectorCodeVisitor.getTransformClassNames(ASTTransforma

 tionCollectorCodeVisitor.java:102) at 

 org.codehaus.groovy.transform.ASTTransformationCollectorCodeVisitor.visitAnnotations(ASTTransformationColle

 ctorCodeVisitor.java:212) at 

 org.codehaus.groovy.ast.ClassCodeVisitorSupport.visitClass(ClassCodeVisitorSupport.java:48) at 

 org.codehaus.groovy.transform.ASTTransformationCollectorCodeVisitor.visitClass(ASTTransformationCollectorCo

 deVisitor.java:76) at org.codehaus.groovy.transform.ASTTransformationVisitor

 $1.call(ASTTransformationVisitor.java:204) at 

 org.codehaus.groovy.control.CompilationUnit.applyToPrimaryClassNodes(CompilationUnit.java:1191) at 

 org.codehaus.groovy.control.CompilationUnit.doPhaseOperation(CompilationUnit.java:623) at 

 org.codehaus.groovy.control.CompilationUnit.processPhaseOperations(CompilationUnit.java:601) at 

 org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:578) at 

 org.codehaus.jdt.groovy.internal.compiler.ast.GroovyCompilationUnitDeclaration.processToPhase(GroovyCompilat

 ionUnitDeclaration.java:171) at 

 org.codehaus.jdt.groovy.internal.compiler.ast.GroovyCompilationUnitDeclaration.resolve(GroovyCompilationUnitD

 eclaration.java:2015) 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:722)

Reply | Threaded
Open this post in threaded view
|

Re: General error during semantic analysis: nyi class

Andrew Eisenberg
What version of groovy-eclipse are you using?

On Tue, Jun 4, 2013 at 6:44 PM, Jeffery Finley <[hidden email]> wrote:

> Using Eclipse
>
> Version: Juno Service Release 2
>
> Build id: 20130225-0426
>
>
> def gaeVersion = '1.8.0'
>
> def groovyVersion = '2.1.3'
>
>
> my code is: ///////////////////
>
>
> package com.tndegrees.model
>
>
> import groovyx.gaelyk.datastore.Entity
>
> import groovyx.gaelyk.datastore.Key
>
> import groovyx.gaelyk.datastore.Unindexed
>
>
> @Entity(unindexed=false)
>
> class Person {
>
>   String id
>
>   String firstName
>
>   String lastName
>
> }
>
>
> I receive the following error and stacktrace:
>
> General error during semantic analysis: nyi class
>
>  org.eclipse.jdt.internal.compiler.lookup.UnresolvedReferenceBinding
> java.lang.IllegalStateException: nyi class
>
>  org.eclipse.jdt.internal.compiler.lookup.UnresolvedReferenceBinding at
>
>
> org.codehaus.jdt.groovy.internal.compiler.ast.JDTClassNodeBuilder.configureType(JDTClassNodeBuilder.java:68)
>
>  at
> org.codehaus.jdt.groovy.internal.compiler.ast.JDTResolver.createJDTClassNode(JDTResolver.java:470)
> at
>
>
> org.codehaus.jdt.groovy.internal.compiler.ast.JDTResolver.convertToClassNode(JDTResolver.java:449)
> at
>
>
> org.codehaus.jdt.groovy.internal.compiler.ast.JDTAnnotationNode.createExpressionFor(JDTAnnotationNode.java:
>
>  179) at
>
>
> org.codehaus.jdt.groovy.internal.compiler.ast.JDTAnnotationNode.createExpressionFor(JDTAnnotationNode.java:
>
>  158) at
>
>
> org.codehaus.jdt.groovy.internal.compiler.ast.JDTAnnotationNode.ensureMembersInitialized(JDTAnnotationNode.j
>
>  ava:143) at
>
>
> org.codehaus.jdt.groovy.internal.compiler.ast.JDTAnnotationNode.getMember(JDTAnnotationNode.java:67)
> at
>
>
> org.codehaus.groovy.transform.ASTTransformationCollectorCodeVisitor.getTransformClassNames(ASTTransforma
>
>  tionCollectorCodeVisitor.java:102) at
>
>
> org.codehaus.groovy.transform.ASTTransformationCollectorCodeVisitor.visitAnnotations(ASTTransformationColle
>
>  ctorCodeVisitor.java:212) at
>
>
> org.codehaus.groovy.ast.ClassCodeVisitorSupport.visitClass(ClassCodeVisitorSupport.java:48)
> at
>
>
> org.codehaus.groovy.transform.ASTTransformationCollectorCodeVisitor.visitClass(ASTTransformationCollectorCo
>
>  deVisitor.java:76) at
> org.codehaus.groovy.transform.ASTTransformationVisitor
>
>  $1.call(ASTTransformationVisitor.java:204) at
>
>
> org.codehaus.groovy.control.CompilationUnit.applyToPrimaryClassNodes(CompilationUnit.java:1191)
> at
>
>
> org.codehaus.groovy.control.CompilationUnit.doPhaseOperation(CompilationUnit.java:623)
> at
>
>
> org.codehaus.groovy.control.CompilationUnit.processPhaseOperations(CompilationUnit.java:601)
> at
>
>
> org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:578)
> at
>
>
> org.codehaus.jdt.groovy.internal.compiler.ast.GroovyCompilationUnitDeclaration.processToPhase(GroovyCompilat
>
>  ionUnitDeclaration.java:171) at
>
>
> org.codehaus.jdt.groovy.internal.compiler.ast.GroovyCompilationUnitDeclaration.resolve(GroovyCompilationUnitD
>
>  eclaration.java:2015) 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:722)

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

    http://xircles.codehaus.org/manage_email


Reply | Threaded
Open this post in threaded view
|

Re: General error during semantic analysis: nyi class

Jeffery Finley
Groovy version 2.0.6.xx-RELEASE-20121219-0800-e42
Groovy Eclipse is up to date with Groovy-Eclipse for Juno.  I can't say specifically what the plug-in version is from the market place page.


On Tue, Jun 4, 2013 at 9:39 PM, Andrew Eisenberg <[hidden email]> wrote:
What version of groovy-eclipse are you using?

On Tue, Jun 4, 2013 at 6:44 PM, Jeffery Finley <[hidden email]> wrote:
> Using Eclipse
>
> Version: Juno Service Release 2
>
> Build id: 20130225-0426
>
>
> def gaeVersion = '1.8.0'
>
> def groovyVersion = '2.1.3'
>
>
> my code is: ///////////////////
>
>
> package com.tndegrees.model
>
>
> import groovyx.gaelyk.datastore.Entity
>
> import groovyx.gaelyk.datastore.Key
>
> import groovyx.gaelyk.datastore.Unindexed
>
>
> @Entity(unindexed=false)
>
> class Person {
>
>   String id
>
>   String firstName
>
>   String lastName
>
> }
>
>
> I receive the following error and stacktrace:
>
> General error during semantic analysis: nyi class
>
>  org.eclipse.jdt.internal.compiler.lookup.UnresolvedReferenceBinding
> java.lang.IllegalStateException: nyi class
>
>  org.eclipse.jdt.internal.compiler.lookup.UnresolvedReferenceBinding at
>
>
> org.codehaus.jdt.groovy.internal.compiler.ast.JDTClassNodeBuilder.configureType(JDTClassNodeBuilder.java:68)
>
>  at
> org.codehaus.jdt.groovy.internal.compiler.ast.JDTResolver.createJDTClassNode(JDTResolver.java:470)
> at
>
>
> org.codehaus.jdt.groovy.internal.compiler.ast.JDTResolver.convertToClassNode(JDTResolver.java:449)
> at
>
>
> org.codehaus.jdt.groovy.internal.compiler.ast.JDTAnnotationNode.createExpressionFor(JDTAnnotationNode.java:
>
>  179) at
>
>
> org.codehaus.jdt.groovy.internal.compiler.ast.JDTAnnotationNode.createExpressionFor(JDTAnnotationNode.java:
>
>  158) at
>
>
> org.codehaus.jdt.groovy.internal.compiler.ast.JDTAnnotationNode.ensureMembersInitialized(JDTAnnotationNode.j
>
>  ava:143) at
>
>
> org.codehaus.jdt.groovy.internal.compiler.ast.JDTAnnotationNode.getMember(JDTAnnotationNode.java:67)
> at
>
>
> org.codehaus.groovy.transform.ASTTransformationCollectorCodeVisitor.getTransformClassNames(ASTTransforma
>
>  tionCollectorCodeVisitor.java:102) at
>
>
> org.codehaus.groovy.transform.ASTTransformationCollectorCodeVisitor.visitAnnotations(ASTTransformationColle
>
>  ctorCodeVisitor.java:212) at
>
>
> org.codehaus.groovy.ast.ClassCodeVisitorSupport.visitClass(ClassCodeVisitorSupport.java:48)
> at
>
>
> org.codehaus.groovy.transform.ASTTransformationCollectorCodeVisitor.visitClass(ASTTransformationCollectorCo
>
>  deVisitor.java:76) at
> org.codehaus.groovy.transform.ASTTransformationVisitor
>
>  $1.call(ASTTransformationVisitor.java:204) at
>
>
> org.codehaus.groovy.control.CompilationUnit.applyToPrimaryClassNodes(CompilationUnit.java:1191)
> at
>
>
> org.codehaus.groovy.control.CompilationUnit.doPhaseOperation(CompilationUnit.java:623)
> at
>
>
> org.codehaus.groovy.control.CompilationUnit.processPhaseOperations(CompilationUnit.java:601)
> at
>
>
> org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:578)
> at
>
>
> org.codehaus.jdt.groovy.internal.compiler.ast.GroovyCompilationUnitDeclaration.processToPhase(GroovyCompilat
>
>  ionUnitDeclaration.java:171) at
>
>
> org.codehaus.jdt.groovy.internal.compiler.ast.GroovyCompilationUnitDeclaration.resolve(GroovyCompilationUnitD
>
>  eclaration.java:2015) 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:722)

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

    http://xircles.codehaus.org/manage_email



Reply | Threaded
Open this post in threaded view
|

General error during semantic analysis: nyi class

Andrew Eisenberg
I can't get th same failure that you do when I try this out.  Can you update to the latest milestone build? I may have been fixed already.

If you still see the problem, thn can you attach a complete project that fails?

Update to the latest milestone version.  The update site is available here:
http://dist.springsource.org/milestone/GRECLIPSE/e4.2/

This version has groovy 2.0.7 included in it.  Go to help -> Install new software...  and paste the URL in the "Work with" box.

On Wed, Jun 5, 2013 at 6:59 PM, Jeffery Finley <<a href="javascript:;" onclick="_e(event, &#39;cvml&#39;, &#39;jeff@jefferyfinley.com&#39;)">jeff@...> wrote:
> Groovy version 2.0.6.xx-RELEASE-20121219-0800-e42
> Groovy Eclipse is up to date with Groovy-Eclipse for Juno.  I can't say
> specifically what the plug-in version is from the market place page.
>
>
> On Tue, Jun 4, 2013 at 9:39 PM, Andrew Eisenberg <<a href="javascript:;" onclick="_e(event, &#39;cvml&#39;, &#39;andrew@eisenberg.as&#39;)">andrew@...>
> wrote:
>>
>> What version of groovy-eclipse are you using?
>>
>> On Tue, Jun 4, 2013 at 6:44 PM, Jeffery Finley <<a href="javascript:;" onclick="_e(event, &#39;cvml&#39;, &#39;jeff@jefferyfinley.com&#39;)">jeff@...>
>> wrote:
>> > Using Eclipse
>> >
>> > Version: Juno Service Release 2
>> >
>> > Build id: 20130225-0426
>> >
>> >
>> > def gaeVersion = '1.8.0'
>> >
>> > def groovyVersion = '2.1.3'
>> >
>> >
>> > my code is: ///////////////////
>> >
>> >
>> > package com.tndegrees.model
>> >
>> >
>> > import groovyx.gaelyk.datastore.Entity
>> >
>> > import groovyx.gaelyk.datastore.Key
>> >
>> > import groovyx.gaelyk.datastore.Unindexed
>> >
>> >
>> > @Entity(unindexed=false)
>> >
>> > class Person {
>> >
>> >   String id
>> >
>> >   String firstName
>> >
>> >   String lastName
>> >
>> > }
>> >
>> >
>> > I receive the following error and stacktrace:
>> >
>> > General error during semantic analysis: nyi class
>> >
>> >  org.eclipse.jdt.internal.compiler.lookup.UnresolvedReferenceBinding
>> > java.lang.IllegalStateException: nyi class
>> >
>> >  org.eclipse.jdt.internal.compiler.lookup.UnresolvedReferenceBinding at
>> >
>> >
>> >
>> > org.codehaus.jdt.groovy.internal.compiler.ast.JDTClassNodeBuilder.configureType(JDTClassNodeBuilder.java:68)
>> >
>> >  at
>> >
>> > org.codehaus.jdt.groovy.internal.compiler.ast.JDTResolver.createJDTClassNode(JDTResolver.java:470)
>> > at
>> >
>> >
>> >
>> > org.codehaus.jdt.groovy.internal.compiler.ast.JDTResolver.convertToClassNode(JDTResolver.java:449)
>> > at
>> >
>> >
>> >
>> > org.codehaus.jdt.groovy.internal.compiler.ast.JDTAnnotationNode.createExpressionFor(JDTAnnotationNode.java:
>> >
>> >  179) at
>> >
>> >
>> >
>> > org.codehaus.jdt.groovy.internal.compiler.ast.JDTAnnotationNode.createExpressionFor(JDTAnnotationNode.java:
>> >
>> >  158) at
>> >
>> >
>> >
>> > org.codehaus.jdt.groovy.internal.compiler.ast.JDTAnnotationNode.ensureMembersInitialized(JDTAnnotationNode.j
>> >
>> >  ava:143) at
>> >
>> >
>> >
>> > org.codehaus.jdt.groovy.internal.compiler.ast.JDTAnnotationNode.getMember(JDTAnnotationNode.java:67)
>> > at
>> >
>> >
>> >
>> > org.codehaus.groovy.transform.ASTTransformationCollectorCodeVisitor.getTransformClassNames(ASTTransforma
>> >
>> >  tionCollectorCodeVisitor.java:102) at
>> >
>> >
>> >
>> > org.codehaus.groovy.transform.ASTTransformationCollectorCodeVisitor.visitAnnotations(ASTTransformationColle
>> >
>> >  ctorCodeVisitor.java:212) at
>> >
>> >
>> >
>> > org.codehaus.groovy.ast.ClassCodeVisitorSupport.visitClass(ClassCodeVisitorSupport.java:48)
>> > at
>> >
>> >
>> >
>> > org.codehaus.groovy.transform.ASTTransformationCollectorCodeVisitor.visitClass(ASTTransformationCollectorCo
>> >
>> >  deVisitor.java:76) at
>> > org.codehaus.groovy.transform.ASTTransformationVisitor
>> >
>> >  $1.call(ASTTransformationVisitor.java:204) at
>> >
>> >
>> >
>> > org.codehaus.groovy.control.CompilationUnit.applyToPrimaryClassNodes(CompilationUnit.java:1191)
>> > at
>> >
>> >
>> >
>> > org.codehaus.groovy.control.CompilationUnit.doPhaseOperation(CompilationUnit.java:623)
>> > at
>> >
>> >
>> >
>> > org.codehaus.groovy.control.CompilationUnit.processPhaseOperations(CompilationUnit.java:601)
>> > at
>> >
>> >
>> >
>> > org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:578)
>> > at
>> >
>> >
>> >
>> > org.codehaus.jdt.groovy.internal.compiler.ast.GroovyCompilationUnitDeclaration.processToPhase(GroovyCompilat
>> >
>> >  ionUnitDeclaration.java:171) at
>> >
>> >
>> >
>> > org.codehaus.jdt.groovy.internal.compiler.ast.GroovyCompilationUnitDeclaration.resolve(GroovyCompilationUnitD
>> >
>> >  eclaration.java:2015) 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:722)
>>
>> ---------------------------------------------------------------------
>> To unsubscribe from this list, please visit:
>>
>>     http://xircles.codehaus.org/manage_email
>>
>>
>



--
Sent while on the go.
Reply | Threaded
Open this post in threaded view
|

Re: General error during semantic analysis: nyi class

Jeffery Finley
Gar!  I was so hopeful but it didn't work.  The interesting thing is that the error shows up on a random class that's open in the editor.  If you delete the class that has the error, it will move to another that's open.
This class is the failure right now:

package com.tndegrees.model

class Avatar{

String id

URI image

String words

}

and the marker is on the last line of the file for the error where as in previous renderings of the problem it was on the first line of the file.

Here's the current list of installed software (now that I figured out that you can get the installed software under the new software menu item):
  Eclipse EGit 2.3.1.201302201838-r org.eclipse.egit.feature.group Eclipse EGit
  Eclipse IDE for Java Developers 1.5.2.20130211-1820 epp.package.java null
  Eclipse JGit 2.3.1.201302201838-r org.eclipse.jgit.feature.group Eclipse JGit
  Google App Engine Java SDK 1.8.0 1.8.0 com.google.appengine.eclipse.sdkbundle.feature.feature.group Google, Inc.
  Google Plugin for Eclipse 4.2 3.2.3.v201304260926-rel-r42 com.google.gdt.eclipse.suite.e42.feature.feature.group Google, Inc.
  Google Web Toolkit SDK 2.5.1 2.5.1 com.google.gwt.eclipse.sdkbundle.feature.feature.group Google, Inc.
  Gradle IDE 3.2.0.201303060652-RELEASE org.springsource.ide.eclipse.gradle.feature.feature.group SpringSource, a division of VMware, Inc.
  Groovy Compiler 1.8 Feature 2.8.0.xx-20130531-0900-e42 org.codehaus.groovy18.feature.feature.group Codehaus.org
  Groovy Compiler 2.0 Feature 2.8.0.xx-20130531-0900-e42 org.codehaus.groovy20.feature.feature.group Codehaus.org
  Groovy Compiler 2.1 Feature 2.8.0.xx-20130531-0900-e42 org.codehaus.groovy21.feature.feature.group Codehaus.org
  Groovy-Eclipse Feature 2.8.0.xx-20130531-0900-e42 org.codehaus.groovy.eclipse.feature.feature.group Codehaus.org
  Groovy-Eclipse JDT Patch Sources Feature 2.8.0.xx-20130531-0900-e42 org.codehaus.groovy.jdt.patch.source.feature.group Codehaus.org
  Groovy-Eclipse Sources Feature 2.8.0.xx-20130531-0900-e42 org.codehaus.groovy.eclipse.feature.source.feature.group Codehaus.org
  Groovy-Eclipse Test Sources Feature 2.8.0.xx-20130531-0900-e42 org.codehaus.groovy.alltests.feature.source.feature.group Codehaus.org
  Groovy-Eclipse Tests Feature 2.8.0.xx-20130531-0900-e42 org.codehaus.groovy.alltests.feature.feature.group Codehaus.org
  JDT Core patch for Groovy-Eclipse plugin 2.8.0.xx-20130531-0900-e42 org.codehaus.groovy.jdt.patch.feature.group Codehaus.org


On Thu, Jun 6, 2013 at 12:48 AM, Andrew Eisenberg <[hidden email]> wrote:
I can't get th same failure that you do when I try this out.  Can you update to the latest milestone build? I may have been fixed already.

If you still see the problem, thn can you attach a complete project that fails?

Update to the latest milestone version.  The update site is available here:
http://dist.springsource.org/milestone/GRECLIPSE/e4.2/

This version has groovy 2.0.7 included in it.  Go to help -> Install new software...  and paste the URL in the "Work with" box.


On Wed, Jun 5, 2013 at 6:59 PM, Jeffery Finley <[hidden email]> wrote:
> Groovy version 2.0.6.xx-RELEASE-20121219-0800-e42
> Groovy Eclipse is up to date with Groovy-Eclipse for Juno.  I can't say
> specifically what the plug-in version is from the market place page.
>
>
> On Tue, Jun 4, 2013 at 9:39 PM, Andrew Eisenberg <[hidden email]>
> wrote:
>>
>> What version of groovy-eclipse are you using?
>>
>> On Tue, Jun 4, 2013 at 6:44 PM, Jeffery Finley <[hidden email]>
>> wrote:
>> > Using Eclipse
>> >
>> > Version: Juno Service Release 2
>> >
>> > Build id: 20130225-0426
>> >
>> >
>> > def gaeVersion = '1.8.0'
>> >
>> > def groovyVersion = '2.1.3'
>> >
>> >
>> > my code is: ///////////////////
>> >
>> >
>> > package com.tndegrees.model
>> >
>> >
>> > import groovyx.gaelyk.datastore.Entity
>> >
>> > import groovyx.gaelyk.datastore.Key
>> >
>> > import groovyx.gaelyk.datastore.Unindexed
>> >
>> >
>> > @Entity(unindexed=false)
>> >
>> > class Person {
>> >
>> >   String id
>> >
>> >   String firstName
>> >
>> >   String lastName
>> >
>> > }
>> >
>> >
>> > I receive the following error and stacktrace:
>> >
>> > General error during semantic analysis: nyi class
>> >
>> >  org.eclipse.jdt.internal.compiler.lookup.UnresolvedReferenceBinding
>> > java.lang.IllegalStateException: nyi class
>> >
>> >  org.eclipse.jdt.internal.compiler.lookup.UnresolvedReferenceBinding at
>> >
>> >
>> >
>> > org.codehaus.jdt.groovy.internal.compiler.ast.JDTClassNodeBuilder.configureType(JDTClassNodeBuilder.java:68)
>> >
>> >  at
>> >
>> > org.codehaus.jdt.groovy.internal.compiler.ast.JDTResolver.createJDTClassNode(JDTResolver.java:470)
>> > at
>> >
>> >
>> >
>> > org.codehaus.jdt.groovy.internal.compiler.ast.JDTResolver.convertToClassNode(JDTResolver.java:449)
>> > at
>> >
>> >
>> >
>> > org.codehaus.jdt.groovy.internal.compiler.ast.JDTAnnotationNode.createExpressionFor(JDTAnnotationNode.java:
>> >
>> >  179) at
>> >
>> >
>> >
>> > org.codehaus.jdt.groovy.internal.compiler.ast.JDTAnnotationNode.createExpressionFor(JDTAnnotationNode.java:
>> >
>> >  158) at
>> >
>> >
>> >
>> > org.codehaus.jdt.groovy.internal.compiler.ast.JDTAnnotationNode.ensureMembersInitialized(JDTAnnotationNode.j
>> >
>> >  ava:143) at
>> >
>> >
>> >
>> > org.codehaus.jdt.groovy.internal.compiler.ast.JDTAnnotationNode.getMember(JDTAnnotationNode.java:67)
>> > at
>> >
>> >
>> >
>> > org.codehaus.groovy.transform.ASTTransformationCollectorCodeVisitor.getTransformClassNames(ASTTransforma
>> >
>> >  tionCollectorCodeVisitor.java:102) at
>> >
>> >
>> >
>> > org.codehaus.groovy.transform.ASTTransformationCollectorCodeVisitor.visitAnnotations(ASTTransformationColle
>> >
>> >  ctorCodeVisitor.java:212) at
>> >
>> >
>> >
>> > org.codehaus.groovy.ast.ClassCodeVisitorSupport.visitClass(ClassCodeVisitorSupport.java:48)
>> > at
>> >
>> >
>> >
>> > org.codehaus.groovy.transform.ASTTransformationCollectorCodeVisitor.visitClass(ASTTransformationCollectorCo
>> >
>> >  deVisitor.java:76) at
>> > org.codehaus.groovy.transform.ASTTransformationVisitor
>> >
>> >  $1.call(ASTTransformationVisitor.java:204) at
>> >
>> >
>> >
>> > org.codehaus.groovy.control.CompilationUnit.applyToPrimaryClassNodes(CompilationUnit.java:1191)
>> > at
>> >
>> >
>> >
>> > org.codehaus.groovy.control.CompilationUnit.doPhaseOperation(CompilationUnit.java:623)
>> > at
>> >
>> >
>> >
>> > org.codehaus.groovy.control.CompilationUnit.processPhaseOperations(CompilationUnit.java:601)
>> > at
>> >
>> >
>> >
>> > org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:578)
>> > at
>> >
>> >
>> >
>> > org.codehaus.jdt.groovy.internal.compiler.ast.GroovyCompilationUnitDeclaration.processToPhase(GroovyCompilat
>> >
>> >  ionUnitDeclaration.java:171) at
>> >
>> >
>> >
>> > org.codehaus.jdt.groovy.internal.compiler.ast.GroovyCompilationUnitDeclaration.resolve(GroovyCompilationUnitD
>> >
>> >  eclaration.java:2015) 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:722)
>>
>> ---------------------------------------------------------------------
>> To unsubscribe from this list, please visit:
>>
>>     http://xircles.codehaus.org/manage_email
>>
>>
>



--
Sent while on the go.

Reply | Threaded
Open this post in threaded view
|

Re: General error during semantic analysis: nyi class

Jeffery Finley
If I do get rid of all references of 

@Entity(unindexed=false) and @Key and the following imports the error goes away.

import groovyx.gaelyk.datastore.Entity

import groovyx.gaelyk.datastore.Key

import groovyx.gaelyk.datastore.Unindexed



On Thu, Jun 6, 2013 at 9:59 PM, Jeffery Finley <[hidden email]> wrote:
Gar!  I was so hopeful but it didn't work.  The interesting thing is that the error shows up on a random class that's open in the editor.  If you delete the class that has the error, it will move to another that's open.
This class is the failure right now:

package com.tndegrees.model

class Avatar{

String id

URI image

String words

}

and the marker is on the last line of the file for the error where as in previous renderings of the problem it was on the first line of the file.

Here's the current list of installed software (now that I figured out that you can get the installed software under the new software menu item):
  Eclipse EGit 2.3.1.201302201838-r org.eclipse.egit.feature.group Eclipse EGit
  Eclipse IDE for Java Developers 1.5.2.20130211-1820 epp.package.java null
  Eclipse JGit 2.3.1.201302201838-r org.eclipse.jgit.feature.group Eclipse JGit
  Google App Engine Java SDK 1.8.0 1.8.0 com.google.appengine.eclipse.sdkbundle.feature.feature.group Google, Inc.
  Google Plugin for Eclipse 4.2 3.2.3.v201304260926-rel-r42 com.google.gdt.eclipse.suite.e42.feature.feature.group Google, Inc.
  Google Web Toolkit SDK 2.5.1 2.5.1 com.google.gwt.eclipse.sdkbundle.feature.feature.group Google, Inc.
  Gradle IDE 3.2.0.201303060652-RELEASE org.springsource.ide.eclipse.gradle.feature.feature.group SpringSource, a division of VMware, Inc.
  Groovy Compiler 1.8 Feature 2.8.0.xx-20130531-0900-e42 org.codehaus.groovy18.feature.feature.group Codehaus.org
  Groovy Compiler 2.0 Feature 2.8.0.xx-20130531-0900-e42 org.codehaus.groovy20.feature.feature.group Codehaus.org
  Groovy Compiler 2.1 Feature 2.8.0.xx-20130531-0900-e42 org.codehaus.groovy21.feature.feature.group Codehaus.org
  Groovy-Eclipse Feature 2.8.0.xx-20130531-0900-e42 org.codehaus.groovy.eclipse.feature.feature.group Codehaus.org
  Groovy-Eclipse JDT Patch Sources Feature 2.8.0.xx-20130531-0900-e42 org.codehaus.groovy.jdt.patch.source.feature.group Codehaus.org
  Groovy-Eclipse Sources Feature 2.8.0.xx-20130531-0900-e42 org.codehaus.groovy.eclipse.feature.source.feature.group Codehaus.org
  Groovy-Eclipse Test Sources Feature 2.8.0.xx-20130531-0900-e42 org.codehaus.groovy.alltests.feature.source.feature.group Codehaus.org
  Groovy-Eclipse Tests Feature 2.8.0.xx-20130531-0900-e42 org.codehaus.groovy.alltests.feature.feature.group Codehaus.org
  JDT Core patch for Groovy-Eclipse plugin 2.8.0.xx-20130531-0900-e42 org.codehaus.groovy.jdt.patch.feature.group Codehaus.org


On Thu, Jun 6, 2013 at 12:48 AM, Andrew Eisenberg <[hidden email]> wrote:
I can't get th same failure that you do when I try this out.  Can you update to the latest milestone build? I may have been fixed already.

If you still see the problem, thn can you attach a complete project that fails?

Update to the latest milestone version.  The update site is available here:
http://dist.springsource.org/milestone/GRECLIPSE/e4.2/

This version has groovy 2.0.7 included in it.  Go to help -> Install new software...  and paste the URL in the "Work with" box.


On Wed, Jun 5, 2013 at 6:59 PM, Jeffery Finley <[hidden email]> wrote:
> Groovy version 2.0.6.xx-RELEASE-20121219-0800-e42
> Groovy Eclipse is up to date with Groovy-Eclipse for Juno.  I can't say
> specifically what the plug-in version is from the market place page.
>
>
> On Tue, Jun 4, 2013 at 9:39 PM, Andrew Eisenberg <[hidden email]>
> wrote:
>>
>> What version of groovy-eclipse are you using?
>>
>> On Tue, Jun 4, 2013 at 6:44 PM, Jeffery Finley <[hidden email]>
>> wrote:
>> > Using Eclipse
>> >
>> > Version: Juno Service Release 2
>> >
>> > Build id: 20130225-0426
>> >
>> >
>> > def gaeVersion = '1.8.0'
>> >
>> > def groovyVersion = '2.1.3'
>> >
>> >
>> > my code is: ///////////////////
>> >
>> >
>> > package com.tndegrees.model
>> >
>> >
>> > import groovyx.gaelyk.datastore.Entity
>> >
>> > import groovyx.gaelyk.datastore.Key
>> >
>> > import groovyx.gaelyk.datastore.Unindexed
>> >
>> >
>> > @Entity(unindexed=false)
>> >
>> > class Person {
>> >
>> >   String id
>> >
>> >   String firstName
>> >
>> >   String lastName
>> >
>> > }
>> >
>> >
>> > I receive the following error and stacktrace:
>> >
>> > General error during semantic analysis: nyi class
>> >
>> >  org.eclipse.jdt.internal.compiler.lookup.UnresolvedReferenceBinding
>> > java.lang.IllegalStateException: nyi class
>> >
>> >  org.eclipse.jdt.internal.compiler.lookup.UnresolvedReferenceBinding at
>> >
>> >
>> >
>> > org.codehaus.jdt.groovy.internal.compiler.ast.JDTClassNodeBuilder.configureType(JDTClassNodeBuilder.java:68)
>> >
>> >  at
>> >
>> > org.codehaus.jdt.groovy.internal.compiler.ast.JDTResolver.createJDTClassNode(JDTResolver.java:470)
>> > at
>> >
>> >
>> >
>> > org.codehaus.jdt.groovy.internal.compiler.ast.JDTResolver.convertToClassNode(JDTResolver.java:449)
>> > at
>> >
>> >
>> >
>> > org.codehaus.jdt.groovy.internal.compiler.ast.JDTAnnotationNode.createExpressionFor(JDTAnnotationNode.java:
>> >
>> >  179) at
>> >
>> >
>> >
>> > org.codehaus.jdt.groovy.internal.compiler.ast.JDTAnnotationNode.createExpressionFor(JDTAnnotationNode.java:
>> >
>> >  158) at
>> >
>> >
>> >
>> > org.codehaus.jdt.groovy.internal.compiler.ast.JDTAnnotationNode.ensureMembersInitialized(JDTAnnotationNode.j
>> >
>> >  ava:143) at
>> >
>> >
>> >
>> > org.codehaus.jdt.groovy.internal.compiler.ast.JDTAnnotationNode.getMember(JDTAnnotationNode.java:67)
>> > at
>> >
>> >
>> >
>> > org.codehaus.groovy.transform.ASTTransformationCollectorCodeVisitor.getTransformClassNames(ASTTransforma
>> >
>> >  tionCollectorCodeVisitor.java:102) at
>> >
>> >
>> >
>> > org.codehaus.groovy.transform.ASTTransformationCollectorCodeVisitor.visitAnnotations(ASTTransformationColle
>> >
>> >  ctorCodeVisitor.java:212) at
>> >
>> >
>> >
>> > org.codehaus.groovy.ast.ClassCodeVisitorSupport.visitClass(ClassCodeVisitorSupport.java:48)
>> > at
>> >
>> >
>> >
>> > org.codehaus.groovy.transform.ASTTransformationCollectorCodeVisitor.visitClass(ASTTransformationCollectorCo
>> >
>> >  deVisitor.java:76) at
>> > org.codehaus.groovy.transform.ASTTransformationVisitor
>> >
>> >  $1.call(ASTTransformationVisitor.java:204) at
>> >
>> >
>> >
>> > org.codehaus.groovy.control.CompilationUnit.applyToPrimaryClassNodes(CompilationUnit.java:1191)
>> > at
>> >
>> >
>> >
>> > org.codehaus.groovy.control.CompilationUnit.doPhaseOperation(CompilationUnit.java:623)
>> > at
>> >
>> >
>> >
>> > org.codehaus.groovy.control.CompilationUnit.processPhaseOperations(CompilationUnit.java:601)
>> > at
>> >
>> >
>> >
>> > org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:578)
>> > at
>> >
>> >
>> >
>> > org.codehaus.jdt.groovy.internal.compiler.ast.GroovyCompilationUnitDeclaration.processToPhase(GroovyCompilat
>> >
>> >  ionUnitDeclaration.java:171) at
>> >
>> >
>> >
>> > org.codehaus.jdt.groovy.internal.compiler.ast.GroovyCompilationUnitDeclaration.resolve(GroovyCompilationUnitD
>> >
>> >  eclaration.java:2015) 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:722)
>>
>> ---------------------------------------------------------------------
>> To unsubscribe from this list, please visit:
>>
>>     http://xircles.codehaus.org/manage_email
>>
>>
>



--
Sent while on the go.


Reply | Threaded
Open this post in threaded view
|

Re: General error during semantic analysis: nyi class

Jeffery Finley
*update again*

package com.tndegrees.model


import groovyx.gaelyk.datastore.Entity

import groovyx.gaelyk.datastore.Key

import groovyx.gaelyk.datastore.Unindexed

class Avatar{

String id

URI image

String words

}

does not generate the error but the following does:

package com.tndegrees.model


import groovyx.gaelyk.datastore.Entity

import groovyx.gaelyk.datastore.Key

import groovyx.gaelyk.datastore.Unindexed

@Entity(unindexed=false)

class Avatar{

String id

URI image

String words

}

so it appears to be a conflict on the implementation of the @Entity



On Thu, Jun 6, 2013 at 10:12 PM, Jeffery Finley <[hidden email]> wrote:
If I do get rid of all references of 

@Entity(unindexed=false) and @Key and the following imports the error goes away.

import groovyx.gaelyk.datastore.Entity

import groovyx.gaelyk.datastore.Key

import groovyx.gaelyk.datastore.Unindexed



On Thu, Jun 6, 2013 at 9:59 PM, Jeffery Finley <[hidden email]> wrote:
Gar!  I was so hopeful but it didn't work.  The interesting thing is that the error shows up on a random class that's open in the editor.  If you delete the class that has the error, it will move to another that's open.
This class is the failure right now:

package com.tndegrees.model

class Avatar{

String id

URI image

String words

}

and the marker is on the last line of the file for the error where as in previous renderings of the problem it was on the first line of the file.

Here's the current list of installed software (now that I figured out that you can get the installed software under the new software menu item):
  Eclipse EGit 2.3.1.201302201838-r org.eclipse.egit.feature.group Eclipse EGit
  Eclipse IDE for Java Developers 1.5.2.20130211-1820 epp.package.java null
  Eclipse JGit 2.3.1.201302201838-r org.eclipse.jgit.feature.group Eclipse JGit
  Google App Engine Java SDK 1.8.0 1.8.0 com.google.appengine.eclipse.sdkbundle.feature.feature.group Google, Inc.
  Google Plugin for Eclipse 4.2 3.2.3.v201304260926-rel-r42 com.google.gdt.eclipse.suite.e42.feature.feature.group Google, Inc.
  Google Web Toolkit SDK 2.5.1 2.5.1 com.google.gwt.eclipse.sdkbundle.feature.feature.group Google, Inc.
  Gradle IDE 3.2.0.201303060652-RELEASE org.springsource.ide.eclipse.gradle.feature.feature.group SpringSource, a division of VMware, Inc.
  Groovy Compiler 1.8 Feature 2.8.0.xx-20130531-0900-e42 org.codehaus.groovy18.feature.feature.group Codehaus.org
  Groovy Compiler 2.0 Feature 2.8.0.xx-20130531-0900-e42 org.codehaus.groovy20.feature.feature.group Codehaus.org
  Groovy Compiler 2.1 Feature 2.8.0.xx-20130531-0900-e42 org.codehaus.groovy21.feature.feature.group Codehaus.org
  Groovy-Eclipse Feature 2.8.0.xx-20130531-0900-e42 org.codehaus.groovy.eclipse.feature.feature.group Codehaus.org
  Groovy-Eclipse JDT Patch Sources Feature 2.8.0.xx-20130531-0900-e42 org.codehaus.groovy.jdt.patch.source.feature.group Codehaus.org
  Groovy-Eclipse Sources Feature 2.8.0.xx-20130531-0900-e42 org.codehaus.groovy.eclipse.feature.source.feature.group Codehaus.org
  Groovy-Eclipse Test Sources Feature 2.8.0.xx-20130531-0900-e42 org.codehaus.groovy.alltests.feature.source.feature.group Codehaus.org
  Groovy-Eclipse Tests Feature 2.8.0.xx-20130531-0900-e42 org.codehaus.groovy.alltests.feature.feature.group Codehaus.org
  JDT Core patch for Groovy-Eclipse plugin 2.8.0.xx-20130531-0900-e42 org.codehaus.groovy.jdt.patch.feature.group Codehaus.org


On Thu, Jun 6, 2013 at 12:48 AM, Andrew Eisenberg <[hidden email]> wrote:
I can't get th same failure that you do when I try this out.  Can you update to the latest milestone build? I may have been fixed already.

If you still see the problem, thn can you attach a complete project that fails?

Update to the latest milestone version.  The update site is available here:
http://dist.springsource.org/milestone/GRECLIPSE/e4.2/

This version has groovy 2.0.7 included in it.  Go to help -> Install new software...  and paste the URL in the "Work with" box.


On Wed, Jun 5, 2013 at 6:59 PM, Jeffery Finley <[hidden email]> wrote:
> Groovy version 2.0.6.xx-RELEASE-20121219-0800-e42
> Groovy Eclipse is up to date with Groovy-Eclipse for Juno.  I can't say
> specifically what the plug-in version is from the market place page.
>
>
> On Tue, Jun 4, 2013 at 9:39 PM, Andrew Eisenberg <[hidden email]>
> wrote:
>>
>> What version of groovy-eclipse are you using?
>>
>> On Tue, Jun 4, 2013 at 6:44 PM, Jeffery Finley <[hidden email]>
>> wrote:
>> > Using Eclipse
>> >
>> > Version: Juno Service Release 2
>> >
>> > Build id: 20130225-0426
>> >
>> >
>> > def gaeVersion = '1.8.0'
>> >
>> > def groovyVersion = '2.1.3'
>> >
>> >
>> > my code is: ///////////////////
>> >
>> >
>> > package com.tndegrees.model
>> >
>> >
>> > import groovyx.gaelyk.datastore.Entity
>> >
>> > import groovyx.gaelyk.datastore.Key
>> >
>> > import groovyx.gaelyk.datastore.Unindexed
>> >
>> >
>> > @Entity(unindexed=false)
>> >
>> > class Person {
>> >
>> >   String id
>> >
>> >   String firstName
>> >
>> >   String lastName
>> >
>> > }
>> >
>> >
>> > I receive the following error and stacktrace:
>> >
>> > General error during semantic analysis: nyi class
>> >
>> >  org.eclipse.jdt.internal.compiler.lookup.UnresolvedReferenceBinding
>> > java.lang.IllegalStateException: nyi class
>> >
>> >  org.eclipse.jdt.internal.compiler.lookup.UnresolvedReferenceBinding at
>> >
>> >
>> >
>> > org.codehaus.jdt.groovy.internal.compiler.ast.JDTClassNodeBuilder.configureType(JDTClassNodeBuilder.java:68)
>> >
>> >  at
>> >
>> > org.codehaus.jdt.groovy.internal.compiler.ast.JDTResolver.createJDTClassNode(JDTResolver.java:470)
>> > at
>> >
>> >
>> >
>> > org.codehaus.jdt.groovy.internal.compiler.ast.JDTResolver.convertToClassNode(JDTResolver.java:449)
>> > at
>> >
>> >
>> >
>> > org.codehaus.jdt.groovy.internal.compiler.ast.JDTAnnotationNode.createExpressionFor(JDTAnnotationNode.java:
>> >
>> >  179) at
>> >
>> >
>> >
>> > org.codehaus.jdt.groovy.internal.compiler.ast.JDTAnnotationNode.createExpressionFor(JDTAnnotationNode.java:
>> >
>> >  158) at
>> >
>> >
>> >
>> > org.codehaus.jdt.groovy.internal.compiler.ast.JDTAnnotationNode.ensureMembersInitialized(JDTAnnotationNode.j
>> >
>> >  ava:143) at
>> >
>> >
>> >
>> > org.codehaus.jdt.groovy.internal.compiler.ast.JDTAnnotationNode.getMember(JDTAnnotationNode.java:67)
>> > at
>> >
>> >
>> >
>> > org.codehaus.groovy.transform.ASTTransformationCollectorCodeVisitor.getTransformClassNames(ASTTransforma
>> >
>> >  tionCollectorCodeVisitor.java:102) at
>> >
>> >
>> >
>> > org.codehaus.groovy.transform.ASTTransformationCollectorCodeVisitor.visitAnnotations(ASTTransformationColle
>> >
>> >  ctorCodeVisitor.java:212) at
>> >
>> >
>> >
>> > org.codehaus.groovy.ast.ClassCodeVisitorSupport.visitClass(ClassCodeVisitorSupport.java:48)
>> > at
>> >
>> >
>> >
>> > org.codehaus.groovy.transform.ASTTransformationCollectorCodeVisitor.visitClass(ASTTransformationCollectorCo
>> >
>> >  deVisitor.java:76) at
>> > org.codehaus.groovy.transform.ASTTransformationVisitor
>> >
>> >  $1.call(ASTTransformationVisitor.java:204) at
>> >
>> >
>> >
>> > org.codehaus.groovy.control.CompilationUnit.applyToPrimaryClassNodes(CompilationUnit.java:1191)
>> > at
>> >
>> >
>> >
>> > org.codehaus.groovy.control.CompilationUnit.doPhaseOperation(CompilationUnit.java:623)
>> > at
>> >
>> >
>> >
>> > org.codehaus.groovy.control.CompilationUnit.processPhaseOperations(CompilationUnit.java:601)
>> > at
>> >
>> >
>> >
>> > org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:578)
>> > at
>> >
>> >
>> >
>> > org.codehaus.jdt.groovy.internal.compiler.ast.GroovyCompilationUnitDeclaration.processToPhase(GroovyCompilat
>> >
>> >  ionUnitDeclaration.java:171) at
>> >
>> >
>> >
>> > org.codehaus.jdt.groovy.internal.compiler.ast.GroovyCompilationUnitDeclaration.resolve(GroovyCompilationUnitD
>> >
>> >  eclaration.java:2015) 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:722)
>>
>> ---------------------------------------------------------------------
>> To unsubscribe from this list, please visit:
>>
>>     http://xircles.codehaus.org/manage_email
>>
>>
>



--
Sent while on the go.



Reply | Threaded
Open this post in threaded view
|

Re: General error during semantic analysis: nyi class

Andrew Eisenberg
Thanks for doing a bit more investigation.  Now, I have more to go on.
 I'll take a deeper look.

On Fri, Jun 7, 2013 at 7:51 AM, Jeffery Finley <[hidden email]> wrote:

> *update again*
>
> package com.tndegrees.model
>
>
> import groovyx.gaelyk.datastore.Entity
>
> import groovyx.gaelyk.datastore.Key
>
> import groovyx.gaelyk.datastore.Unindexed
>
> class Avatar{
>
> String id
>
> URI image
>
> String words
>
> }
>
> does not generate the error but the following does:
>
> package com.tndegrees.model
>
>
> import groovyx.gaelyk.datastore.Entity
>
> import groovyx.gaelyk.datastore.Key
>
> import groovyx.gaelyk.datastore.Unindexed
>
> @Entity(unindexed=false)
>
> class Avatar{
>
> String id
>
> URI image
>
> String words
>
> }
>
> so it appears to be a conflict on the implementation of the @Entity
>
>
>
> On Thu, Jun 6, 2013 at 10:12 PM, Jeffery Finley <[hidden email]>
> wrote:
>>
>> If I do get rid of all references of
>>
>> @Entity(unindexed=false) and @Key and the following imports the error goes
>> away.
>>
>> import groovyx.gaelyk.datastore.Entity
>>
>> import groovyx.gaelyk.datastore.Key
>>
>> import groovyx.gaelyk.datastore.Unindexed
>>
>>
>>
>> On Thu, Jun 6, 2013 at 9:59 PM, Jeffery Finley <[hidden email]>
>> wrote:
>>>
>>> Gar!  I was so hopeful but it didn't work.  The interesting thing is that
>>> the error shows up on a random class that's open in the editor.  If you
>>> delete the class that has the error, it will move to another that's open.
>>> This class is the failure right now:
>>>
>>> package com.tndegrees.model
>>>
>>> class Avatar{
>>>
>>> String id
>>>
>>> URI image
>>>
>>> String words
>>>
>>> }
>>>
>>> and the marker is on the last line of the file for the error where as in
>>> previous renderings of the problem it was on the first line of the file.
>>>
>>> Here's the current list of installed software (now that I figured out
>>> that you can get the installed software under the new software menu item):
>>>   Eclipse EGit 2.3.1.201302201838-r org.eclipse.egit.feature.group
>>> Eclipse EGit
>>>   Eclipse IDE for Java Developers 1.5.2.20130211-1820 epp.package.java
>>> null
>>>   Eclipse JGit 2.3.1.201302201838-r org.eclipse.jgit.feature.group
>>> Eclipse JGit
>>>   Google App Engine Java SDK 1.8.0 1.8.0
>>> com.google.appengine.eclipse.sdkbundle.feature.feature.group Google, Inc.
>>>   Google Plugin for Eclipse 4.2 3.2.3.v201304260926-rel-r42
>>> com.google.gdt.eclipse.suite.e42.feature.feature.group Google, Inc.
>>>   Google Web Toolkit SDK 2.5.1 2.5.1
>>> com.google.gwt.eclipse.sdkbundle.feature.feature.group Google, Inc.
>>>   Gradle IDE 3.2.0.201303060652-RELEASE
>>> org.springsource.ide.eclipse.gradle.feature.feature.group SpringSource, a
>>> division of VMware, Inc.
>>>   Groovy Compiler 1.8 Feature 2.8.0.xx-20130531-0900-e42
>>> org.codehaus.groovy18.feature.feature.group Codehaus.org
>>>   Groovy Compiler 2.0 Feature 2.8.0.xx-20130531-0900-e42
>>> org.codehaus.groovy20.feature.feature.group Codehaus.org
>>>   Groovy Compiler 2.1 Feature 2.8.0.xx-20130531-0900-e42
>>> org.codehaus.groovy21.feature.feature.group Codehaus.org
>>>   Groovy-Eclipse Feature 2.8.0.xx-20130531-0900-e42
>>> org.codehaus.groovy.eclipse.feature.feature.group Codehaus.org
>>>   Groovy-Eclipse JDT Patch Sources Feature 2.8.0.xx-20130531-0900-e42
>>> org.codehaus.groovy.jdt.patch.source.feature.group Codehaus.org
>>>   Groovy-Eclipse Sources Feature 2.8.0.xx-20130531-0900-e42
>>> org.codehaus.groovy.eclipse.feature.source.feature.group Codehaus.org
>>>   Groovy-Eclipse Test Sources Feature 2.8.0.xx-20130531-0900-e42
>>> org.codehaus.groovy.alltests.feature.source.feature.group Codehaus.org
>>>   Groovy-Eclipse Tests Feature 2.8.0.xx-20130531-0900-e42
>>> org.codehaus.groovy.alltests.feature.feature.group Codehaus.org
>>>   JDT Core patch for Groovy-Eclipse plugin 2.8.0.xx-20130531-0900-e42
>>> org.codehaus.groovy.jdt.patch.feature.group Codehaus.org
>>>
>>>
>>> On Thu, Jun 6, 2013 at 12:48 AM, Andrew Eisenberg <[hidden email]>
>>> wrote:
>>>>
>>>> I can't get th same failure that you do when I try this out.  Can you
>>>> update to the latest milestone build? I may have been fixed already.
>>>>
>>>> If you still see the problem, thn can you attach a complete project that
>>>> fails?
>>>>
>>>> Update to the latest milestone version.  The update site is available
>>>> here:
>>>> http://dist.springsource.org/milestone/GRECLIPSE/e4.2/
>>>>
>>>> This version has groovy 2.0.7 included in it.  Go to help -> Install new
>>>> software...  and paste the URL in the "Work with" box.
>>>>
>>>>
>>>> On Wed, Jun 5, 2013 at 6:59 PM, Jeffery Finley <[hidden email]>
>>>> wrote:
>>>> > Groovy version 2.0.6.xx-RELEASE-20121219-0800-e42
>>>> > Groovy Eclipse is up to date with Groovy-Eclipse for Juno.  I can't
>>>> > say
>>>> > specifically what the plug-in version is from the market place page.
>>>> >
>>>> >
>>>> > On Tue, Jun 4, 2013 at 9:39 PM, Andrew Eisenberg <[hidden email]>
>>>> > wrote:
>>>> >>
>>>> >> What version of groovy-eclipse are you using?
>>>> >>
>>>> >> On Tue, Jun 4, 2013 at 6:44 PM, Jeffery Finley
>>>> >> <[hidden email]>
>>>> >> wrote:
>>>> >> > Using Eclipse
>>>> >> >
>>>> >> > Version: Juno Service Release 2
>>>> >> >
>>>> >> > Build id: 20130225-0426
>>>> >> >
>>>> >> >
>>>> >> > def gaeVersion = '1.8.0'
>>>> >> >
>>>> >> > def groovyVersion = '2.1.3'
>>>> >> >
>>>> >> >
>>>> >> > my code is: ///////////////////
>>>> >> >
>>>> >> >
>>>> >> > package com.tndegrees.model
>>>> >> >
>>>> >> >
>>>> >> > import groovyx.gaelyk.datastore.Entity
>>>> >> >
>>>> >> > import groovyx.gaelyk.datastore.Key
>>>> >> >
>>>> >> > import groovyx.gaelyk.datastore.Unindexed
>>>> >> >
>>>> >> >
>>>> >> > @Entity(unindexed=false)
>>>> >> >
>>>> >> > class Person {
>>>> >> >
>>>> >> >   String id
>>>> >> >
>>>> >> >   String firstName
>>>> >> >
>>>> >> >   String lastName
>>>> >> >
>>>> >> > }
>>>> >> >
>>>> >> >
>>>> >> > I receive the following error and stacktrace:
>>>> >> >
>>>> >> > General error during semantic analysis: nyi class
>>>> >> >
>>>> >> >
>>>> >> > org.eclipse.jdt.internal.compiler.lookup.UnresolvedReferenceBinding
>>>> >> > java.lang.IllegalStateException: nyi class
>>>> >> >
>>>> >> >
>>>> >> > org.eclipse.jdt.internal.compiler.lookup.UnresolvedReferenceBinding at
>>>> >> >
>>>> >> >
>>>> >> >
>>>> >> >
>>>> >> > org.codehaus.jdt.groovy.internal.compiler.ast.JDTClassNodeBuilder.configureType(JDTClassNodeBuilder.java:68)
>>>> >> >
>>>> >> >  at
>>>> >> >
>>>> >> >
>>>> >> > org.codehaus.jdt.groovy.internal.compiler.ast.JDTResolver.createJDTClassNode(JDTResolver.java:470)
>>>> >> > at
>>>> >> >
>>>> >> >
>>>> >> >
>>>> >> >
>>>> >> > org.codehaus.jdt.groovy.internal.compiler.ast.JDTResolver.convertToClassNode(JDTResolver.java:449)
>>>> >> > at
>>>> >> >
>>>> >> >
>>>> >> >
>>>> >> >
>>>> >> > org.codehaus.jdt.groovy.internal.compiler.ast.JDTAnnotationNode.createExpressionFor(JDTAnnotationNode.java:
>>>> >> >
>>>> >> >  179) at
>>>> >> >
>>>> >> >
>>>> >> >
>>>> >> >
>>>> >> > org.codehaus.jdt.groovy.internal.compiler.ast.JDTAnnotationNode.createExpressionFor(JDTAnnotationNode.java:
>>>> >> >
>>>> >> >  158) at
>>>> >> >
>>>> >> >
>>>> >> >
>>>> >> >
>>>> >> > org.codehaus.jdt.groovy.internal.compiler.ast.JDTAnnotationNode.ensureMembersInitialized(JDTAnnotationNode.j
>>>> >> >
>>>> >> >  ava:143) at
>>>> >> >
>>>> >> >
>>>> >> >
>>>> >> >
>>>> >> > org.codehaus.jdt.groovy.internal.compiler.ast.JDTAnnotationNode.getMember(JDTAnnotationNode.java:67)
>>>> >> > at
>>>> >> >
>>>> >> >
>>>> >> >
>>>> >> >
>>>> >> > org.codehaus.groovy.transform.ASTTransformationCollectorCodeVisitor.getTransformClassNames(ASTTransforma
>>>> >> >
>>>> >> >  tionCollectorCodeVisitor.java:102) at
>>>> >> >
>>>> >> >
>>>> >> >
>>>> >> >
>>>> >> > org.codehaus.groovy.transform.ASTTransformationCollectorCodeVisitor.visitAnnotations(ASTTransformationColle
>>>> >> >
>>>> >> >  ctorCodeVisitor.java:212) at
>>>> >> >
>>>> >> >
>>>> >> >
>>>> >> >
>>>> >> > org.codehaus.groovy.ast.ClassCodeVisitorSupport.visitClass(ClassCodeVisitorSupport.java:48)
>>>> >> > at
>>>> >> >
>>>> >> >
>>>> >> >
>>>> >> >
>>>> >> > org.codehaus.groovy.transform.ASTTransformationCollectorCodeVisitor.visitClass(ASTTransformationCollectorCo
>>>> >> >
>>>> >> >  deVisitor.java:76) at
>>>> >> > org.codehaus.groovy.transform.ASTTransformationVisitor
>>>> >> >
>>>> >> >  $1.call(ASTTransformationVisitor.java:204) at
>>>> >> >
>>>> >> >
>>>> >> >
>>>> >> >
>>>> >> > org.codehaus.groovy.control.CompilationUnit.applyToPrimaryClassNodes(CompilationUnit.java:1191)
>>>> >> > at
>>>> >> >
>>>> >> >
>>>> >> >
>>>> >> >
>>>> >> > org.codehaus.groovy.control.CompilationUnit.doPhaseOperation(CompilationUnit.java:623)
>>>> >> > at
>>>> >> >
>>>> >> >
>>>> >> >
>>>> >> >
>>>> >> > org.codehaus.groovy.control.CompilationUnit.processPhaseOperations(CompilationUnit.java:601)
>>>> >> > at
>>>> >> >
>>>> >> >
>>>> >> >
>>>> >> >
>>>> >> > org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:578)
>>>> >> > at
>>>> >> >
>>>> >> >
>>>> >> >
>>>> >> >
>>>> >> > org.codehaus.jdt.groovy.internal.compiler.ast.GroovyCompilationUnitDeclaration.processToPhase(GroovyCompilat
>>>> >> >
>>>> >> >  ionUnitDeclaration.java:171) at
>>>> >> >
>>>> >> >
>>>> >> >
>>>> >> >
>>>> >> > org.codehaus.jdt.groovy.internal.compiler.ast.GroovyCompilationUnitDeclaration.resolve(GroovyCompilationUnitD
>>>> >> >
>>>> >> >  eclaration.java:2015) 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:722)
>>>> >>
>>>> >> ---------------------------------------------------------------------
>>>> >> To unsubscribe from this list, please visit:
>>>> >>
>>>> >>     http://xircles.codehaus.org/manage_email
>>>> >>
>>>> >>
>>>> >
>>>>
>>>>
>>>>
>>>> --
>>>> Sent while on the go.
>>>
>>>
>>
>

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

    http://xircles.codehaus.org/manage_email


Reply | Threaded
Open this post in threaded view
|

Re: General error during semantic analysis: nyi class

Andrew Eisenberg
Raised this bug:
http://jira.codehaus.org/browse/GRECLIPSE-1639

Can now reproduce reliably. It only occurs during incremental builds,
so that Is why I missed it before.  Keep an eye on this issue since
I'll start commenting there as I make progress on the issue.

On Fri, Jun 7, 2013 at 8:42 AM, Andrew Eisenberg <[hidden email]> wrote:

> Thanks for doing a bit more investigation.  Now, I have more to go on.
>  I'll take a deeper look.
>
> On Fri, Jun 7, 2013 at 7:51 AM, Jeffery Finley <[hidden email]> wrote:
>> *update again*
>>
>> package com.tndegrees.model
>>
>>
>> import groovyx.gaelyk.datastore.Entity
>>
>> import groovyx.gaelyk.datastore.Key
>>
>> import groovyx.gaelyk.datastore.Unindexed
>>
>> class Avatar{
>>
>> String id
>>
>> URI image
>>
>> String words
>>
>> }
>>
>> does not generate the error but the following does:
>>
>> package com.tndegrees.model
>>
>>
>> import groovyx.gaelyk.datastore.Entity
>>
>> import groovyx.gaelyk.datastore.Key
>>
>> import groovyx.gaelyk.datastore.Unindexed
>>
>> @Entity(unindexed=false)
>>
>> class Avatar{
>>
>> String id
>>
>> URI image
>>
>> String words
>>
>> }
>>
>> so it appears to be a conflict on the implementation of the @Entity
>>
>>
>>
>> On Thu, Jun 6, 2013 at 10:12 PM, Jeffery Finley <[hidden email]>
>> wrote:
>>>
>>> If I do get rid of all references of
>>>
>>> @Entity(unindexed=false) and @Key and the following imports the error goes
>>> away.
>>>
>>> import groovyx.gaelyk.datastore.Entity
>>>
>>> import groovyx.gaelyk.datastore.Key
>>>
>>> import groovyx.gaelyk.datastore.Unindexed
>>>
>>>
>>>
>>> On Thu, Jun 6, 2013 at 9:59 PM, Jeffery Finley <[hidden email]>
>>> wrote:
>>>>
>>>> Gar!  I was so hopeful but it didn't work.  The interesting thing is that
>>>> the error shows up on a random class that's open in the editor.  If you
>>>> delete the class that has the error, it will move to another that's open.
>>>> This class is the failure right now:
>>>>
>>>> package com.tndegrees.model
>>>>
>>>> class Avatar{
>>>>
>>>> String id
>>>>
>>>> URI image
>>>>
>>>> String words
>>>>
>>>> }
>>>>
>>>> and the marker is on the last line of the file for the error where as in
>>>> previous renderings of the problem it was on the first line of the file.
>>>>
>>>> Here's the current list of installed software (now that I figured out
>>>> that you can get the installed software under the new software menu item):
>>>>   Eclipse EGit 2.3.1.201302201838-r org.eclipse.egit.feature.group
>>>> Eclipse EGit
>>>>   Eclipse IDE for Java Developers 1.5.2.20130211-1820 epp.package.java
>>>> null
>>>>   Eclipse JGit 2.3.1.201302201838-r org.eclipse.jgit.feature.group
>>>> Eclipse JGit
>>>>   Google App Engine Java SDK 1.8.0 1.8.0
>>>> com.google.appengine.eclipse.sdkbundle.feature.feature.group Google, Inc.
>>>>   Google Plugin for Eclipse 4.2 3.2.3.v201304260926-rel-r42
>>>> com.google.gdt.eclipse.suite.e42.feature.feature.group Google, Inc.
>>>>   Google Web Toolkit SDK 2.5.1 2.5.1
>>>> com.google.gwt.eclipse.sdkbundle.feature.feature.group Google, Inc.
>>>>   Gradle IDE 3.2.0.201303060652-RELEASE
>>>> org.springsource.ide.eclipse.gradle.feature.feature.group SpringSource, a
>>>> division of VMware, Inc.
>>>>   Groovy Compiler 1.8 Feature 2.8.0.xx-20130531-0900-e42
>>>> org.codehaus.groovy18.feature.feature.group Codehaus.org
>>>>   Groovy Compiler 2.0 Feature 2.8.0.xx-20130531-0900-e42
>>>> org.codehaus.groovy20.feature.feature.group Codehaus.org
>>>>   Groovy Compiler 2.1 Feature 2.8.0.xx-20130531-0900-e42
>>>> org.codehaus.groovy21.feature.feature.group Codehaus.org
>>>>   Groovy-Eclipse Feature 2.8.0.xx-20130531-0900-e42
>>>> org.codehaus.groovy.eclipse.feature.feature.group Codehaus.org
>>>>   Groovy-Eclipse JDT Patch Sources Feature 2.8.0.xx-20130531-0900-e42
>>>> org.codehaus.groovy.jdt.patch.source.feature.group Codehaus.org
>>>>   Groovy-Eclipse Sources Feature 2.8.0.xx-20130531-0900-e42
>>>> org.codehaus.groovy.eclipse.feature.source.feature.group Codehaus.org
>>>>   Groovy-Eclipse Test Sources Feature 2.8.0.xx-20130531-0900-e42
>>>> org.codehaus.groovy.alltests.feature.source.feature.group Codehaus.org
>>>>   Groovy-Eclipse Tests Feature 2.8.0.xx-20130531-0900-e42
>>>> org.codehaus.groovy.alltests.feature.feature.group Codehaus.org
>>>>   JDT Core patch for Groovy-Eclipse plugin 2.8.0.xx-20130531-0900-e42
>>>> org.codehaus.groovy.jdt.patch.feature.group Codehaus.org
>>>>
>>>>
>>>> On Thu, Jun 6, 2013 at 12:48 AM, Andrew Eisenberg <[hidden email]>
>>>> wrote:
>>>>>
>>>>> I can't get th same failure that you do when I try this out.  Can you
>>>>> update to the latest milestone build? I may have been fixed already.
>>>>>
>>>>> If you still see the problem, thn can you attach a complete project that
>>>>> fails?
>>>>>
>>>>> Update to the latest milestone version.  The update site is available
>>>>> here:
>>>>> http://dist.springsource.org/milestone/GRECLIPSE/e4.2/
>>>>>
>>>>> This version has groovy 2.0.7 included in it.  Go to help -> Install new
>>>>> software...  and paste the URL in the "Work with" box.
>>>>>
>>>>>
>>>>> On Wed, Jun 5, 2013 at 6:59 PM, Jeffery Finley <[hidden email]>
>>>>> wrote:
>>>>> > Groovy version 2.0.6.xx-RELEASE-20121219-0800-e42
>>>>> > Groovy Eclipse is up to date with Groovy-Eclipse for Juno.  I can't
>>>>> > say
>>>>> > specifically what the plug-in version is from the market place page.
>>>>> >
>>>>> >
>>>>> > On Tue, Jun 4, 2013 at 9:39 PM, Andrew Eisenberg <[hidden email]>
>>>>> > wrote:
>>>>> >>
>>>>> >> What version of groovy-eclipse are you using?
>>>>> >>
>>>>> >> On Tue, Jun 4, 2013 at 6:44 PM, Jeffery Finley
>>>>> >> <[hidden email]>
>>>>> >> wrote:
>>>>> >> > Using Eclipse
>>>>> >> >
>>>>> >> > Version: Juno Service Release 2
>>>>> >> >
>>>>> >> > Build id: 20130225-0426
>>>>> >> >
>>>>> >> >
>>>>> >> > def gaeVersion = '1.8.0'
>>>>> >> >
>>>>> >> > def groovyVersion = '2.1.3'
>>>>> >> >
>>>>> >> >
>>>>> >> > my code is: ///////////////////
>>>>> >> >
>>>>> >> >
>>>>> >> > package com.tndegrees.model
>>>>> >> >
>>>>> >> >
>>>>> >> > import groovyx.gaelyk.datastore.Entity
>>>>> >> >
>>>>> >> > import groovyx.gaelyk.datastore.Key
>>>>> >> >
>>>>> >> > import groovyx.gaelyk.datastore.Unindexed
>>>>> >> >
>>>>> >> >
>>>>> >> > @Entity(unindexed=false)
>>>>> >> >
>>>>> >> > class Person {
>>>>> >> >
>>>>> >> >   String id
>>>>> >> >
>>>>> >> >   String firstName
>>>>> >> >
>>>>> >> >   String lastName
>>>>> >> >
>>>>> >> > }
>>>>> >> >
>>>>> >> >
>>>>> >> > I receive the following error and stacktrace:
>>>>> >> >
>>>>> >> > General error during semantic analysis: nyi class
>>>>> >> >
>>>>> >> >
>>>>> >> > org.eclipse.jdt.internal.compiler.lookup.UnresolvedReferenceBinding
>>>>> >> > java.lang.IllegalStateException: nyi class
>>>>> >> >
>>>>> >> >
>>>>> >> > org.eclipse.jdt.internal.compiler.lookup.UnresolvedReferenceBinding at
>>>>> >> >
>>>>> >> >
>>>>> >> >
>>>>> >> >
>>>>> >> > org.codehaus.jdt.groovy.internal.compiler.ast.JDTClassNodeBuilder.configureType(JDTClassNodeBuilder.java:68)
>>>>> >> >
>>>>> >> >  at
>>>>> >> >
>>>>> >> >
>>>>> >> > org.codehaus.jdt.groovy.internal.compiler.ast.JDTResolver.createJDTClassNode(JDTResolver.java:470)
>>>>> >> > at
>>>>> >> >
>>>>> >> >
>>>>> >> >
>>>>> >> >
>>>>> >> > org.codehaus.jdt.groovy.internal.compiler.ast.JDTResolver.convertToClassNode(JDTResolver.java:449)
>>>>> >> > at
>>>>> >> >
>>>>> >> >
>>>>> >> >
>>>>> >> >
>>>>> >> > org.codehaus.jdt.groovy.internal.compiler.ast.JDTAnnotationNode.createExpressionFor(JDTAnnotationNode.java:
>>>>> >> >
>>>>> >> >  179) at
>>>>> >> >
>>>>> >> >
>>>>> >> >
>>>>> >> >
>>>>> >> > org.codehaus.jdt.groovy.internal.compiler.ast.JDTAnnotationNode.createExpressionFor(JDTAnnotationNode.java:
>>>>> >> >
>>>>> >> >  158) at
>>>>> >> >
>>>>> >> >
>>>>> >> >
>>>>> >> >
>>>>> >> > org.codehaus.jdt.groovy.internal.compiler.ast.JDTAnnotationNode.ensureMembersInitialized(JDTAnnotationNode.j
>>>>> >> >
>>>>> >> >  ava:143) at
>>>>> >> >
>>>>> >> >
>>>>> >> >
>>>>> >> >
>>>>> >> > org.codehaus.jdt.groovy.internal.compiler.ast.JDTAnnotationNode.getMember(JDTAnnotationNode.java:67)
>>>>> >> > at
>>>>> >> >
>>>>> >> >
>>>>> >> >
>>>>> >> >
>>>>> >> > org.codehaus.groovy.transform.ASTTransformationCollectorCodeVisitor.getTransformClassNames(ASTTransforma
>>>>> >> >
>>>>> >> >  tionCollectorCodeVisitor.java:102) at
>>>>> >> >
>>>>> >> >
>>>>> >> >
>>>>> >> >
>>>>> >> > org.codehaus.groovy.transform.ASTTransformationCollectorCodeVisitor.visitAnnotations(ASTTransformationColle
>>>>> >> >
>>>>> >> >  ctorCodeVisitor.java:212) at
>>>>> >> >
>>>>> >> >
>>>>> >> >
>>>>> >> >
>>>>> >> > org.codehaus.groovy.ast.ClassCodeVisitorSupport.visitClass(ClassCodeVisitorSupport.java:48)
>>>>> >> > at
>>>>> >> >
>>>>> >> >
>>>>> >> >
>>>>> >> >
>>>>> >> > org.codehaus.groovy.transform.ASTTransformationCollectorCodeVisitor.visitClass(ASTTransformationCollectorCo
>>>>> >> >
>>>>> >> >  deVisitor.java:76) at
>>>>> >> > org.codehaus.groovy.transform.ASTTransformationVisitor
>>>>> >> >
>>>>> >> >  $1.call(ASTTransformationVisitor.java:204) at
>>>>> >> >
>>>>> >> >
>>>>> >> >
>>>>> >> >
>>>>> >> > org.codehaus.groovy.control.CompilationUnit.applyToPrimaryClassNodes(CompilationUnit.java:1191)
>>>>> >> > at
>>>>> >> >
>>>>> >> >
>>>>> >> >
>>>>> >> >
>>>>> >> > org.codehaus.groovy.control.CompilationUnit.doPhaseOperation(CompilationUnit.java:623)
>>>>> >> > at
>>>>> >> >
>>>>> >> >
>>>>> >> >
>>>>> >> >
>>>>> >> > org.codehaus.groovy.control.CompilationUnit.processPhaseOperations(CompilationUnit.java:601)
>>>>> >> > at
>>>>> >> >
>>>>> >> >
>>>>> >> >
>>>>> >> >
>>>>> >> > org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:578)
>>>>> >> > at
>>>>> >> >
>>>>> >> >
>>>>> >> >
>>>>> >> >
>>>>> >> > org.codehaus.jdt.groovy.internal.compiler.ast.GroovyCompilationUnitDeclaration.processToPhase(GroovyCompilat
>>>>> >> >
>>>>> >> >  ionUnitDeclaration.java:171) at
>>>>> >> >
>>>>> >> >
>>>>> >> >
>>>>> >> >
>>>>> >> > org.codehaus.jdt.groovy.internal.compiler.ast.GroovyCompilationUnitDeclaration.resolve(GroovyCompilationUnitD
>>>>> >> >
>>>>> >> >  eclaration.java:2015) 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:722)
>>>>> >>
>>>>> >> ---------------------------------------------------------------------
>>>>> >> To unsubscribe from this list, please visit:
>>>>> >>
>>>>> >>     http://xircles.codehaus.org/manage_email
>>>>> >>
>>>>> >>
>>>>> >
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Sent while on the go.
>>>>
>>>>
>>>
>>

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

    http://xircles.codehaus.org/manage_email


Reply | Threaded
Open this post in threaded view
|

Re: General error during semantic analysis: nyi class

Jeffery Finley
That is great Andrew.  Thank you so much,


On Fri, Jun 7, 2013 at 11:09 AM, Andrew Eisenberg <[hidden email]> wrote:
Raised this bug:
http://jira.codehaus.org/browse/GRECLIPSE-1639

Can now reproduce reliably. It only occurs during incremental builds,
so that Is why I missed it before.  Keep an eye on this issue since
I'll start commenting there as I make progress on the issue.

On Fri, Jun 7, 2013 at 8:42 AM, Andrew Eisenberg <[hidden email]> wrote:
> Thanks for doing a bit more investigation.  Now, I have more to go on.
>  I'll take a deeper look.
>
> On Fri, Jun 7, 2013 at 7:51 AM, Jeffery Finley <[hidden email]> wrote:
>> *update again*
>>
>> package com.tndegrees.model
>>
>>
>> import groovyx.gaelyk.datastore.Entity
>>
>> import groovyx.gaelyk.datastore.Key
>>
>> import groovyx.gaelyk.datastore.Unindexed
>>
>> class Avatar{
>>
>> String id
>>
>> URI image
>>
>> String words
>>
>> }
>>
>> does not generate the error but the following does:
>>
>> package com.tndegrees.model
>>
>>
>> import groovyx.gaelyk.datastore.Entity
>>
>> import groovyx.gaelyk.datastore.Key
>>
>> import groovyx.gaelyk.datastore.Unindexed
>>
>> @Entity(unindexed=false)
>>
>> class Avatar{
>>
>> String id
>>
>> URI image
>>
>> String words
>>
>> }
>>
>> so it appears to be a conflict on the implementation of the @Entity
>>
>>
>>
>> On Thu, Jun 6, 2013 at 10:12 PM, Jeffery Finley <[hidden email]>
>> wrote:
>>>
>>> If I do get rid of all references of
>>>
>>> @Entity(unindexed=false) and @Key and the following imports the error goes
>>> away.
>>>
>>> import groovyx.gaelyk.datastore.Entity
>>>
>>> import groovyx.gaelyk.datastore.Key
>>>
>>> import groovyx.gaelyk.datastore.Unindexed
>>>
>>>
>>>
>>> On Thu, Jun 6, 2013 at 9:59 PM, Jeffery Finley <[hidden email]>
>>> wrote:
>>>>
>>>> Gar!  I was so hopeful but it didn't work.  The interesting thing is that
>>>> the error shows up on a random class that's open in the editor.  If you
>>>> delete the class that has the error, it will move to another that's open.
>>>> This class is the failure right now:
>>>>
>>>> package com.tndegrees.model
>>>>
>>>> class Avatar{
>>>>
>>>> String id
>>>>
>>>> URI image
>>>>
>>>> String words
>>>>
>>>> }
>>>>
>>>> and the marker is on the last line of the file for the error where as in
>>>> previous renderings of the problem it was on the first line of the file.
>>>>
>>>> Here's the current list of installed software (now that I figured out
>>>> that you can get the installed software under the new software menu item):
>>>>   Eclipse EGit 2.3.1.201302201838-r org.eclipse.egit.feature.group
>>>> Eclipse EGit
>>>>   Eclipse IDE for Java Developers 1.5.2.20130211-1820 epp.package.java
>>>> null
>>>>   Eclipse JGit 2.3.1.201302201838-r org.eclipse.jgit.feature.group
>>>> Eclipse JGit
>>>>   Google App Engine Java SDK 1.8.0 1.8.0
>>>> com.google.appengine.eclipse.sdkbundle.feature.feature.group Google, Inc.
>>>>   Google Plugin for Eclipse 4.2 3.2.3.v201304260926-rel-r42
>>>> com.google.gdt.eclipse.suite.e42.feature.feature.group Google, Inc.
>>>>   Google Web Toolkit SDK 2.5.1 2.5.1
>>>> com.google.gwt.eclipse.sdkbundle.feature.feature.group Google, Inc.
>>>>   Gradle IDE 3.2.0.201303060652-RELEASE
>>>> org.springsource.ide.eclipse.gradle.feature.feature.group SpringSource, a
>>>> division of VMware, Inc.
>>>>   Groovy Compiler 1.8 Feature 2.8.0.xx-20130531-0900-e42
>>>> org.codehaus.groovy18.feature.feature.group Codehaus.org
>>>>   Groovy Compiler 2.0 Feature 2.8.0.xx-20130531-0900-e42
>>>> org.codehaus.groovy20.feature.feature.group Codehaus.org
>>>>   Groovy Compiler 2.1 Feature 2.8.0.xx-20130531-0900-e42
>>>> org.codehaus.groovy21.feature.feature.group Codehaus.org
>>>>   Groovy-Eclipse Feature 2.8.0.xx-20130531-0900-e42
>>>> org.codehaus.groovy.eclipse.feature.feature.group Codehaus.org
>>>>   Groovy-Eclipse JDT Patch Sources Feature 2.8.0.xx-20130531-0900-e42
>>>> org.codehaus.groovy.jdt.patch.source.feature.group Codehaus.org
>>>>   Groovy-Eclipse Sources Feature 2.8.0.xx-20130531-0900-e42
>>>> org.codehaus.groovy.eclipse.feature.source.feature.group Codehaus.org
>>>>   Groovy-Eclipse Test Sources Feature 2.8.0.xx-20130531-0900-e42
>>>> org.codehaus.groovy.alltests.feature.source.feature.group Codehaus.org
>>>>   Groovy-Eclipse Tests Feature 2.8.0.xx-20130531-0900-e42
>>>> org.codehaus.groovy.alltests.feature.feature.group Codehaus.org
>>>>   JDT Core patch for Groovy-Eclipse plugin 2.8.0.xx-20130531-0900-e42
>>>> org.codehaus.groovy.jdt.patch.feature.group Codehaus.org
>>>>
>>>>
>>>> On Thu, Jun 6, 2013 at 12:48 AM, Andrew Eisenberg <[hidden email]>
>>>> wrote:
>>>>>
>>>>> I can't get th same failure that you do when I try this out.  Can you
>>>>> update to the latest milestone build? I may have been fixed already.
>>>>>
>>>>> If you still see the problem, thn can you attach a complete project that
>>>>> fails?
>>>>>
>>>>> Update to the latest milestone version.  The update site is available
>>>>> here:
>>>>> http://dist.springsource.org/milestone/GRECLIPSE/e4.2/
>>>>>
>>>>> This version has groovy 2.0.7 included in it.  Go to help -> Install new
>>>>> software...  and paste the URL in the "Work with" box.
>>>>>
>>>>>
>>>>> On Wed, Jun 5, 2013 at 6:59 PM, Jeffery Finley <[hidden email]>
>>>>> wrote:
>>>>> > Groovy version 2.0.6.xx-RELEASE-20121219-0800-e42
>>>>> > Groovy Eclipse is up to date with Groovy-Eclipse for Juno.  I can't
>>>>> > say
>>>>> > specifically what the plug-in version is from the market place page.
>>>>> >
>>>>> >
>>>>> > On Tue, Jun 4, 2013 at 9:39 PM, Andrew Eisenberg <[hidden email]>
>>>>> > wrote:
>>>>> >>
>>>>> >> What version of groovy-eclipse are you using?
>>>>> >>
>>>>> >> On Tue, Jun 4, 2013 at 6:44 PM, Jeffery Finley
>>>>> >> <[hidden email]>
>>>>> >> wrote:
>>>>> >> > Using Eclipse
>>>>> >> >
>>>>> >> > Version: Juno Service Release 2
>>>>> >> >
>>>>> >> > Build id: 20130225-0426
>>>>> >> >
>>>>> >> >
>>>>> >> > def gaeVersion = '1.8.0'
>>>>> >> >
>>>>> >> > def groovyVersion = '2.1.3'
>>>>> >> >
>>>>> >> >
>>>>> >> > my code is: ///////////////////
>>>>> >> >
>>>>> >> >
>>>>> >> > package com.tndegrees.model
>>>>> >> >
>>>>> >> >
>>>>> >> > import groovyx.gaelyk.datastore.Entity
>>>>> >> >
>>>>> >> > import groovyx.gaelyk.datastore.Key
>>>>> >> >
>>>>> >> > import groovyx.gaelyk.datastore.Unindexed
>>>>> >> >
>>>>> >> >
>>>>> >> > @Entity(unindexed=false)
>>>>> >> >
>>>>> >> > class Person {
>>>>> >> >
>>>>> >> >   String id
>>>>> >> >
>>>>> >> >   String firstName
>>>>> >> >
>>>>> >> >   String lastName
>>>>> >> >
>>>>> >> > }
>>>>> >> >
>>>>> >> >
>>>>> >> > I receive the following error and stacktrace:
>>>>> >> >
>>>>> >> > General error during semantic analysis: nyi class
>>>>> >> >
>>>>> >> >
>>>>> >> > org.eclipse.jdt.internal.compiler.lookup.UnresolvedReferenceBinding
>>>>> >> > java.lang.IllegalStateException: nyi class
>>>>> >> >
>>>>> >> >
>>>>> >> > org.eclipse.jdt.internal.compiler.lookup.UnresolvedReferenceBinding at
>>>>> >> >
>>>>> >> >
>>>>> >> >
>>>>> >> >
>>>>> >> > org.codehaus.jdt.groovy.internal.compiler.ast.JDTClassNodeBuilder.configureType(JDTClassNodeBuilder.java:68)
>>>>> >> >
>>>>> >> >  at
>>>>> >> >
>>>>> >> >
>>>>> >> > org.codehaus.jdt.groovy.internal.compiler.ast.JDTResolver.createJDTClassNode(JDTResolver.java:470)
>>>>> >> > at
>>>>> >> >
>>>>> >> >
>>>>> >> >
>>>>> >> >
>>>>> >> > org.codehaus.jdt.groovy.internal.compiler.ast.JDTResolver.convertToClassNode(JDTResolver.java:449)
>>>>> >> > at
>>>>> >> >
>>>>> >> >
>>>>> >> >
>>>>> >> >
>>>>> >> > org.codehaus.jdt.groovy.internal.compiler.ast.JDTAnnotationNode.createExpressionFor(JDTAnnotationNode.java:
>>>>> >> >
>>>>> >> >  179) at
>>>>> >> >
>>>>> >> >
>>>>> >> >
>>>>> >> >
>>>>> >> > org.codehaus.jdt.groovy.internal.compiler.ast.JDTAnnotationNode.createExpressionFor(JDTAnnotationNode.java:
>>>>> >> >
>>>>> >> >  158) at
>>>>> >> >
>>>>> >> >
>>>>> >> >
>>>>> >> >
>>>>> >> > org.codehaus.jdt.groovy.internal.compiler.ast.JDTAnnotationNode.ensureMembersInitialized(JDTAnnotationNode.j
>>>>> >> >
>>>>> >> >  ava:143) at
>>>>> >> >
>>>>> >> >
>>>>> >> >
>>>>> >> >
>>>>> >> > org.codehaus.jdt.groovy.internal.compiler.ast.JDTAnnotationNode.getMember(JDTAnnotationNode.java:67)
>>>>> >> > at
>>>>> >> >
>>>>> >> >
>>>>> >> >
>>>>> >> >
>>>>> >> > org.codehaus.groovy.transform.ASTTransformationCollectorCodeVisitor.getTransformClassNames(ASTTransforma
>>>>> >> >
>>>>> >> >  tionCollectorCodeVisitor.java:102) at
>>>>> >> >
>>>>> >> >
>>>>> >> >
>>>>> >> >
>>>>> >> > org.codehaus.groovy.transform.ASTTransformationCollectorCodeVisitor.visitAnnotations(ASTTransformationColle
>>>>> >> >
>>>>> >> >  ctorCodeVisitor.java:212) at
>>>>> >> >
>>>>> >> >
>>>>> >> >
>>>>> >> >
>>>>> >> > org.codehaus.groovy.ast.ClassCodeVisitorSupport.visitClass(ClassCodeVisitorSupport.java:48)
>>>>> >> > at
>>>>> >> >
>>>>> >> >
>>>>> >> >
>>>>> >> >
>>>>> >> > org.codehaus.groovy.transform.ASTTransformationCollectorCodeVisitor.visitClass(ASTTransformationCollectorCo
>>>>> >> >
>>>>> >> >  deVisitor.java:76) at
>>>>> >> > org.codehaus.groovy.transform.ASTTransformationVisitor
>>>>> >> >
>>>>> >> >  $1.call(ASTTransformationVisitor.java:204) at
>>>>> >> >
>>>>> >> >
>>>>> >> >
>>>>> >> >
>>>>> >> > org.codehaus.groovy.control.CompilationUnit.applyToPrimaryClassNodes(CompilationUnit.java:1191)
>>>>> >> > at
>>>>> >> >
>>>>> >> >
>>>>> >> >
>>>>> >> >
>>>>> >> > org.codehaus.groovy.control.CompilationUnit.doPhaseOperation(CompilationUnit.java:623)
>>>>> >> > at
>>>>> >> >
>>>>> >> >
>>>>> >> >
>>>>> >> >
>>>>> >> > org.codehaus.groovy.control.CompilationUnit.processPhaseOperations(CompilationUnit.java:601)
>>>>> >> > at
>>>>> >> >
>>>>> >> >
>>>>> >> >
>>>>> >> >
>>>>> >> > org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:578)
>>>>> >> > at
>>>>> >> >
>>>>> >> >
>>>>> >> >
>>>>> >> >
>>>>> >> > org.codehaus.jdt.groovy.internal.compiler.ast.GroovyCompilationUnitDeclaration.processToPhase(GroovyCompilat
>>>>> >> >
>>>>> >> >  ionUnitDeclaration.java:171) at
>>>>> >> >
>>>>> >> >
>>>>> >> >
>>>>> >> >
>>>>> >> > org.codehaus.jdt.groovy.internal.compiler.ast.GroovyCompilationUnitDeclaration.resolve(GroovyCompilationUnitD
>>>>> >> >
>>>>> >> >  eclaration.java:2015) 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:722)
>>>>> >>
>>>>> >> ---------------------------------------------------------------------
>>>>> >> To unsubscribe from this list, please visit:
>>>>> >>
>>>>> >>     http://xircles.codehaus.org/manage_email
>>>>> >>
>>>>> >>
>>>>> >
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Sent while on the go.
>>>>
>>>>
>>>
>>

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

    http://xircles.codehaus.org/manage_email