GEGlobalResearch / DARPA-ASKE-TA1

ANSWER Project to demonstrate knowledge-driven extraction of scientific models from code and texts
Other
7 stars 5 forks source link

Error creating Preferences Dialog pane on MacOS #50

Closed agabaldon closed 4 years ago

agabaldon commented 4 years ago

After installing the Dialog plugin from https://github.com/GEGlobalResearch/DARPA-ASKE-TA1/releases/tag/TA1-2019-04-10 on Eclipse for MacOS, going to Preferences and selecting Dialog, I get an error saying:

Unable to create the selected preference page. Failed to create injector for com.ge.research.sadl.darpa.aske.Dialog

This happens on both Eclipse 2019-09 and on 2018-12.

A snippet from the stack trace:

java.lang.RuntimeException: Failed to create injector for com.ge.research.sadl.darpa.aske.Dialog at com.ge.research.sadl.darpa.aske.dialog.ui.internal.DialogActivator.createInjector(DialogActivator.java:71) .... Caused by: com.google.inject.CreationException: Guice creation errors:

1) Error injecting constructor, java.lang.ClassCastException: org.eclipse.xtext.impl.AlternativesImpl cannot be cast to org.eclipse.xtext.Assignment at com.ge.research.sadl.services.SADLGrammarAccess.(Unknown Source) at com.ge.research.sadl.services.SADLGrammarAccess.class(Unknown Source) while locating com.ge.research.sadl.services.SADLGrammarAccess