Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Strange errors while building the workspace
Strange errors while building the workspace [message #1001323] Wed, 16 January 2013 13:35 Go to next message
Eclipse UserFriend
Hello all,
I downloaded a new Eclipse 4.2 SR1 and installed Xtext 2.3.0 from
http://download.eclipse.org/modeling/tmf/xtext/updates/composite/releases/.
When I now start my Eclipse the workspace is built and the error log
gets full of the following two errors:
Each error is reported by the org.apache.log4j plugin. What can I do?

1)
org.eclipse.xtext.builder.clustering.CopiedResourceDescription -
java.lang.IllegalStateException: getImportedNames
archive:file:/D:/Eclipse4.2SR1/plugins/org.eclipse.xtext.xbase_2.3.0.v201206120633.jar!/org/eclipse/xtext/xbase/jvmmodel/JvmTypeExtensions.xtend

java.lang.IllegalStateException: getImportedNames
archive:file:/D:/Eclipse4.2SR1/plugins/org.eclipse.xtext.xbase_2.3.0.v201206120633.jar!/org/eclipse/xtext/xbase/jvmmodel/JvmTypeExtensions.xtend
at
org.eclipse.xtext.builder.clustering.CopiedResourceDescription.getImportedNames(CopiedResourceDescription.java:71)
at
org.eclipse.xtext.resource.impl.DefaultResourceDescriptionManager.getImportedNames(DefaultResourceDescriptionManager.java:99)
at
org.eclipse.xtext.resource.impl.DefaultResourceDescriptionManager.isAffected(DefaultResourceDescriptionManager.java:125)
at
org.eclipse.xtext.builder.clustering.ClusteringBuilderState.queueAffectedResources(ClusteringBuilderState.java:440)
at
org.eclipse.xtext.builder.clustering.ClusteringBuilderState.doUpdate(ClusteringBuilderState.java:150)
at
org.eclipse.xtext.builder.builderState.AbstractBuilderState.update(AbstractBuilderState.java:105)
at
org.eclipse.xtext.builder.impl.XtextBuilder.doBuild(XtextBuilder.java:159)
at
org.eclipse.xtext.builder.impl.XtextBuilder.incrementalBuild(XtextBuilder.java:141)
at org.eclipse.xtext.builder.impl.XtextBuilder.build(XtextBuilder.java:91)
at
org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:728)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at
org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:199)
at
org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:239)
at
org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:292)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at
org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:295)
at
org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:351)
at
org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:374)
at
org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:143)
at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:241)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)


2)
org.eclipse.xtext.common.types.access.impl.AbstractClassMirror -
resource is empty:
java:/Objects/org.eclipse.xtext.xbase.jvmmodel.IJvmDeclaredTypeAcceptor
Re: Strange errors while building the workspace [message #1001343 is a reply to message #1001323] Wed, 16 January 2013 14:24 Go to previous messageGo to next message
Sebastian Zarnekow is currently offline Sebastian ZarnekowFriend
Messages: 2961
Registered: July 2009
Senior Member
Hi Gilbert,

this is most likely caused by missing annotations from the bundle
org.eclipse.jdt.annotation. Could you please try to put that on the
classpath of your project?

Regards,
Sebastian
--
Looking for professional support for Xtext, Xtend or Eclipse Modeling?
Go visit: http://xtext.itemis.com

Am 16.01.13 14:35, schrieb Gilbert Mirenque:
> Hello all,
> I downloaded a new Eclipse 4.2 SR1 and installed Xtext 2.3.0 from
> http://download.eclipse.org/modeling/tmf/xtext/updates/composite/releases/.
> When I now start my Eclipse the workspace is built and the error log
> gets full of the following two errors:
> Each error is reported by the org.apache.log4j plugin. What can I do?
>
> 1)
> org.eclipse.xtext.builder.clustering.CopiedResourceDescription -
> java.lang.IllegalStateException: getImportedNames
> archive:file:/D:/Eclipse4.2SR1/plugins/org.eclipse.xtext.xbase_2.3.0.v201206120633.jar!/org/eclipse/xtext/xbase/jvmmodel/JvmTypeExtensions.xtend
>
> java.lang.IllegalStateException: getImportedNames
> archive:file:/D:/Eclipse4.2SR1/plugins/org.eclipse.xtext.xbase_2.3.0.v201206120633.jar!/org/eclipse/xtext/xbase/jvmmodel/JvmTypeExtensions.xtend
> at
> org.eclipse.xtext.builder.clustering.CopiedResourceDescription.getImportedNames(CopiedResourceDescription.java:71)
> at
> org.eclipse.xtext.resource.impl.DefaultResourceDescriptionManager.getImportedNames(DefaultResourceDescriptionManager.java:99)
> at
> org.eclipse.xtext.resource.impl.DefaultResourceDescriptionManager.isAffected(DefaultResourceDescriptionManager.java:125)
> at
> org.eclipse.xtext.builder.clustering.ClusteringBuilderState.queueAffectedResources(ClusteringBuilderState.java:440)
> at
> org.eclipse.xtext.builder.clustering.ClusteringBuilderState.doUpdate(ClusteringBuilderState.java:150)
> at
> org.eclipse.xtext.builder.builderState.AbstractBuilderState.update(AbstractBuilderState.java:105)
> at
> org.eclipse.xtext.builder.impl.XtextBuilder.doBuild(XtextBuilder.java:159)
> at
> org.eclipse.xtext.builder.impl.XtextBuilder.incrementalBuild(XtextBuilder.java:141)
> at org.eclipse.xtext.builder.impl.XtextBuilder.build(XtextBuilder.java:91)
> at
> org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:728)
> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
> at
> org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:199)
> at
> org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:239)
> at
> org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:292)
> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
> at
> org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:295)
> at
> org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:351)
> at
> org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:374)
> at
> org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:143)
> at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:241)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
>
>
> 2)
> org.eclipse.xtext.common.types.access.impl.AbstractClassMirror -
> resource is empty:
> java:/Objects/org.eclipse.xtext.xbase.jvmmodel.IJvmDeclaredTypeAcceptor
>
Re: Strange errors while building the workspace [message #1001809 is a reply to message #1001343] Thu, 17 January 2013 12:04 Go to previous message
Eclipse UserFriend
Nice! That's it

best regards,
Gilbert

Sebastian Zarnekow wrote:
> Hi Gilbert,
>
> this is most likely caused by missing annotations from the bundle
> org.eclipse.jdt.annotation. Could you please try to put that on the
> classpath of your project?
>
> Regards,
> Sebastian
Previous Topic:Dynamically create resources on file load
Next Topic:Access model from the editor
Goto Forum:
  


Current Time: Mon Dec 22 12:49:30 GMT 2014

Powered by FUDForum. Page generated in 0.10404 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software