viatra / EMF-IncQuery

This repository is only kept for historic reasons. All development happens on eclipse.org
http://eclipse.org/viatra
13 stars 4 forks source link

Intermittent guice exceptions from patternlanguage.ui #382

Closed istvanrath closed 11 years ago

istvanrath commented 11 years ago
!ENTRY org.eclipse.incquery.patternlanguage.emf.ui 4 0 2013-01-13 10:37:05.580
!MESSAGE com.google.inject.ConfigurationException: Guice configuration errors:

1) No implementation for org.eclipse.core.runtime.IExtensionRegistry was bound.
  while locating org.eclipse.core.runtime.IExtensionRegistry
    for field at org.eclipse.xtext.builder.impl.RegistryBuilderParticipant.extensionRegistry(Unknown Source)
  while locating org.eclipse.xtext.builder.impl.RegistryBuilderParticipant
    for field at org.eclipse.xtext.builder.impl.XtextBuilder.participant(Unknown Source)
  while locating org.eclipse.incquery.tooling.ui.builder.IncQueryProjectBuilder

I just love transient dependency injection problems...

istvanrath commented 11 years ago

This occurs when there has been some error during the build.

abelhegedus commented 11 years ago

Probably related to the new builder we introduced a while ago.

ujhelyiz commented 11 years ago

@istvanrath I have seen similar issues, and more often than not they were related to Run config issues. If you have time, I would like to look at your config directly. If we know the cause of the issue, we might be able to alter the system to fail more clearly.

ujhelyiz commented 11 years ago

And yet another stupid issue caused by me. I updated the Activator of emfpatternlanguage.ui project, but only inside the src-gen folders. In this case in my computer, the issue was fixed (until I regenerate the language), but the fix was not uploaded to git...

Please, regenerate your emf patternlanguage grammar, or manually delete the activator class from the src-gen folder to avoid compile issues.

istvanrath commented 11 years ago

Fixed.