Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » e(fx)clipse » e(fx)clipse 1.0 failed to start fxgraph editor on Luna 4.4
e(fx)clipse 1.0 failed to start fxgraph editor on Luna 4.4 [message #1420889] Wed, 10 September 2014 16:26 Go to next message
Christian Niessner is currently offline Christian NiessnerFriend
Messages: 7
Registered: October 2012
Junior Member
Hi All,

i tried to install the (long awaited Wink e(fx)clipse plugin 1.0 into my luna eclipse.

Installation worked fine, i also updated xtext to 2.7.1.

But when i try to open a fxgraph file, the editor failed to start with an exception. The exception details are:

org.eclipse.core.runtime.CoreException: Failed to create injector for org.eclipse.fx.ide.fxgraph.FXGraph ExtensionFactory: org.eclipse.fx.ide.fxgraph.ui.FXGraphExecutableExtensionFactory
	at org.eclipse.xtext.ui.guice.AbstractGuiceAwareExecutableExtensionFactory.create(AbstractGuiceAwareExecutableExtensionFactory.java:57)
	at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:262)
	at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:55)
	at org.eclipse.ui.internal.WorkbenchPlugin.createExtension(WorkbenchPlugin.java:285)
	at org.eclipse.ui.internal.registry.EditorDescriptor.createEditor(EditorDescriptor.java:235)
....

Caused by: com.google.inject.CreationException: Guice creation errors:

1) Error injecting method, java.lang.NullPointerException
  at org.eclipse.xtext.ui.codetemplates.ui.registry.LanguageRegistrar.register(Unknown Source)
  at org.eclipse.xtext.service.MethodBasedModule.configure(MethodBasedModule.java:55)
  while locating org.eclipse.xtext.ui.codetemplates.ui.registry.LanguageRegistrar
Caused by: java.lang.NullPointerException
	at org.eclipse.xtext.ui.codetemplates.ui.registry.LanguageRegistrar.register(LanguageRegistrar.java:45)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:483)
	at com.google.inject.internal.SingleMethodInjector$1.invoke(SingleMethodInjector.java:71)
...
	at com.google.inject.Guice.createInjector(Guice.java:62)
	at org.eclipse.fx.ide.fxgraph.ui.internal.FXGraphActivator.createInjector(FXGraphActivator.java:67)
	at org.eclipse.fx.ide.fxgraph.ui.internal.FXGraphActivator.getInjector(FXGraphActivator.java:55)
	at org.eclipse.fx.ide.fxgraph.ui.FXGraphExecutableExtensionFactory.getInjector(FXGraphExecutableExtensionFactory.java:26)
	at org.eclipse.xtext.ui.guice.AbstractGuiceAwareExecutableExtensionFactory.create(AbstractGuiceAwareExecutableExtensionFactory.java:49)
....

2) Error injecting constructor, org.eclipse.emf.common.util.WrappedException: java.lang.ArrayIndexOutOfBoundsException: 3
  at org.eclipse.xtext.xbase.services.XtypeGrammarAccess.<init>(Unknown Source)
  at org.eclipse.xtext.xbase.services.XtypeGrammarAccess.class(Unknown Source)
  while locating org.eclipse.xtext.xbase.services.XtypeGrammarAccess
    for parameter 1 at org.eclipse.xtext.xbase.services.XbaseGrammarAccess.<init>(Unknown Source)
  at org.eclipse.xtext.xbase.services.XbaseGrammarAccess.class(Unknown Source)
  while locating org.eclipse.xtext.xbase.services.XbaseGrammarAccess
    for parameter 1 at org.eclipse.fx.ide.fxgraph.services.FXGraphGrammarAccess.<init>(Unknown Source)
  at org.eclipse.fx.ide.fxgraph.services.FXGraphGrammarAccess.class(Unknown Source)
  while locating org.eclipse.fx.ide.fxgraph.services.FXGraphGrammarAccess
  while locating org.eclipse.xtext.IGrammarAccess
    for field at org.eclipse.xtext.ui.codetemplates.ui.registry.LanguageRegistrar.grammarAccess(Unknown Source)
  at org.eclipse.xtext.service.MethodBasedModule.configure(MethodBasedModule.java:55)
  while locating org.eclipse.xtext.ui.codetemplates.ui.registry.LanguageRegistrar
Caused by: org.eclipse.emf.common.util.WrappedException: java.lang.ArrayIndexOutOfBoundsException: 3
	at org.eclipse.xtext.parser.BaseEPackageAccess.loadResource(BaseEPackageAccess.java:57)
	at org.eclipse.xtext.parser.BaseEPackageAccess.loadGrammarFile(BaseEPackageAccess.java:44)
	at org.eclipse.xtext.service.GrammarProvider.getGrammar(GrammarProvider.java:61)
....
Caused by: java.lang.ArrayIndexOutOfBoundsException: 3
	at org.eclipse.emf.ecore.resource.impl.BinaryResourceImpl$EObjectInputStream.getEStructuralFeatureData(BinaryResourceImpl.java:2125)
	at org.eclipse.emf.ecore.resource.impl.BinaryResourceImpl$EObjectInputStream.loadEObject(BinaryResourceImpl.java:2521)
	at org.eclipse.emf.ecore.resource.impl.BinaryResourceImpl$EObjectInputStream.loadFeatureValue(BinaryResourceImpl.java:2545)
	at org.eclipse.emf.ecore.resource.impl.BinaryResourceImpl$EObjectInputStream.loadEObject(BinaryResourceImpl.java:2522)
	at org.eclipse.emf.ecore.resource.impl.BinaryResourceImpl$EObjectInputStream.loadEObjects(BinaryResourceImpl.java:2222)
	at org.eclipse.emf.ecore.resource.impl.BinaryResourceImpl$EObjectInputStream.loadFeatureValue(BinaryResourceImpl.java:2555)
	at org.eclipse.emf.ecore.resource.impl.BinaryResourceImpl$EObjectInputStream.loadEObject(BinaryResourceImpl.java:2522)
	at org.eclipse.emf.ecore.resource.impl.BinaryResourceImpl$EObjectInputStream.loadEObjects(BinaryResourceImpl.java:2222)
	at org.eclipse.emf.ecore.resource.impl.BinaryResourceImpl$EObjectInputStream.loadFeatureValue(BinaryResourceImpl.java:2555)
	at org.eclipse.emf.ecore.resource.impl.BinaryResourceImpl$EObjectInputStream.loadEObject(BinaryResourceImpl.java:2522)
	at org.eclipse.emf.ecore.resource.impl.BinaryResourceImpl$EObjectInputStream.loadEObjects(BinaryResourceImpl.java:2222)
	at org.eclipse.emf.ecore.resource.impl.BinaryResourceImpl$EObjectInputStream.loadFeatureValue(BinaryResourceImpl.java:2555)
	at org.eclipse.emf.ecore.resource.impl.BinaryResourceImpl$EObjectInputStream.loadEObject(BinaryResourceImpl.java:2522)
	at org.eclipse.emf.ecore.resource.impl.BinaryResourceImpl$EObjectInputStream.loadResource(BinaryResourceImpl.java:2205)
	at org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl.doLoad(XMLResourceImpl.java:211)
	at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:1518)

All further exceptions (up to 7) look similar to error 2.


Do you have any hints what's mixed up with my eclipse installation?

Thanks & Bye,
Chris
Re: e(fx)clipse 1.0 failed to start fxgraph editor on Luna 4.4 [message #1421296 is a reply to message #1420889] Thu, 11 September 2014 07:17 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
.... looks like Xtext (XBase) has once more a binary incompatible change
- can you file a bug so that I can try to fix this in the nightlies for 1.1.

Tom

On 10.09.14 18:26, Christian Niessner wrote:
> Hi All,
>
> i tried to install the (long awaited ;) e(fx)clipse plugin 1.0 into my
> luna eclipse.
>
> Installation worked fine, i also updated xtext to 2.7.1.
>
> But when i try to open a fxgraph file, the editor failed to start with
> an exception. The exception details are:
>
>
> org.eclipse.core.runtime.CoreException: Failed to create injector for
> org.eclipse.fx.ide.fxgraph.FXGraph ExtensionFactory:
> org.eclipse.fx.ide.fxgraph.ui.FXGraphExecutableExtensionFactory
> at
> org.eclipse.xtext.ui.guice.AbstractGuiceAwareExecutableExtensionFactory.create(AbstractGuiceAwareExecutableExtensionFactory.java:57)
>
> at
> org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:262)
>
> at
> org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:55)
>
> at
> org.eclipse.ui.internal.WorkbenchPlugin.createExtension(WorkbenchPlugin.java:285)
>
> at
> org.eclipse.ui.internal.registry.EditorDescriptor.createEditor(EditorDescriptor.java:235)
>
> ...
>
> Caused by: com.google.inject.CreationException: Guice creation errors:
>
> 1) Error injecting method, java.lang.NullPointerException
> at
> org.eclipse.xtext.ui.codetemplates.ui.registry.LanguageRegistrar.register(Unknown
> Source)
> at
> org.eclipse.xtext.service.MethodBasedModule.configure(MethodBasedModule.java:55)
>
> while locating
> org.eclipse.xtext.ui.codetemplates.ui.registry.LanguageRegistrar
> Caused by: java.lang.NullPointerException
> at
> org.eclipse.xtext.ui.codetemplates.ui.registry.LanguageRegistrar.register(LanguageRegistrar.java:45)
>
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>
> at java.lang.reflect.Method.invoke(Method.java:483)
> at
> com.google.inject.internal.SingleMethodInjector$1.invoke(SingleMethodInjector.java:71)
>
> ..
> at com.google.inject.Guice.createInjector(Guice.java:62)
> at
> org.eclipse.fx.ide.fxgraph.ui.internal.FXGraphActivator.createInjector(FXGraphActivator.java:67)
>
> at
> org.eclipse.fx.ide.fxgraph.ui.internal.FXGraphActivator.getInjector(FXGraphActivator.java:55)
>
> at
> org.eclipse.fx.ide.fxgraph.ui.FXGraphExecutableExtensionFactory.getInjector(FXGraphExecutableExtensionFactory.java:26)
>
> at
> org.eclipse.xtext.ui.guice.AbstractGuiceAwareExecutableExtensionFactory.create(AbstractGuiceAwareExecutableExtensionFactory.java:49)
>
> ...
>
> 2) Error injecting constructor,
> org.eclipse.emf.common.util.WrappedException:
> java.lang.ArrayIndexOutOfBoundsException: 3
> at org.eclipse.xtext.xbase.services.XtypeGrammarAccess.<init>(Unknown
> Source)
> at org.eclipse.xtext.xbase.services.XtypeGrammarAccess.class(Unknown
> Source)
> while locating org.eclipse.xtext.xbase.services.XtypeGrammarAccess
> for parameter 1 at
> org.eclipse.xtext.xbase.services.XbaseGrammarAccess.<init>(Unknown Source)
> at org.eclipse.xtext.xbase.services.XbaseGrammarAccess.class(Unknown
> Source)
> while locating org.eclipse.xtext.xbase.services.XbaseGrammarAccess
> for parameter 1 at
> org.eclipse.fx.ide.fxgraph.services.FXGraphGrammarAccess.<init>(Unknown
> Source)
> at
> org.eclipse.fx.ide.fxgraph.services.FXGraphGrammarAccess.class(Unknown
> Source)
> while locating org.eclipse.fx.ide.fxgraph.services.FXGraphGrammarAccess
> while locating org.eclipse.xtext.IGrammarAccess
> for field at
> org.eclipse.xtext.ui.codetemplates.ui.registry.LanguageRegistrar.grammarAccess(Unknown
> Source)
> at
> org.eclipse.xtext.service.MethodBasedModule.configure(MethodBasedModule.java:55)
>
> while locating
> org.eclipse.xtext.ui.codetemplates.ui.registry.LanguageRegistrar
> Caused by: org.eclipse.emf.common.util.WrappedException:
> java.lang.ArrayIndexOutOfBoundsException: 3
> at
> org.eclipse.xtext.parser.BaseEPackageAccess.loadResource(BaseEPackageAccess.java:57)
>
> at
> org.eclipse.xtext.parser.BaseEPackageAccess.loadGrammarFile(BaseEPackageAccess.java:44)
>
> at
> org.eclipse.xtext.service.GrammarProvider.getGrammar(GrammarProvider.java:61)
>
> ...
> Caused by: java.lang.ArrayIndexOutOfBoundsException: 3
> at
> org.eclipse.emf.ecore.resource.impl.BinaryResourceImpl$EObjectInputStream.getEStructuralFeatureData(BinaryResourceImpl.java:2125)
>
> at
> org.eclipse.emf.ecore.resource.impl.BinaryResourceImpl$EObjectInputStream.loadEObject(BinaryResourceImpl.java:2521)
>
> at
> org.eclipse.emf.ecore.resource.impl.BinaryResourceImpl$EObjectInputStream.loadFeatureValue(BinaryResourceImpl.java:2545)
>
> at
> org.eclipse.emf.ecore.resource.impl.BinaryResourceImpl$EObjectInputStream.loadEObject(BinaryResourceImpl.java:2522)
>
> at
> org.eclipse.emf.ecore.resource.impl.BinaryResourceImpl$EObjectInputStream.loadEObjects(BinaryResourceImpl.java:2222)
>
> at
> org.eclipse.emf.ecore.resource.impl.BinaryResourceImpl$EObjectInputStream.loadFeatureValue(BinaryResourceImpl.java:2555)
>
> at
> org.eclipse.emf.ecore.resource.impl.BinaryResourceImpl$EObjectInputStream.loadEObject(BinaryResourceImpl.java:2522)
>
> at
> org.eclipse.emf.ecore.resource.impl.BinaryResourceImpl$EObjectInputStream.loadEObjects(BinaryResourceImpl.java:2222)
>
> at
> org.eclipse.emf.ecore.resource.impl.BinaryResourceImpl$EObjectInputStream.loadFeatureValue(BinaryResourceImpl.java:2555)
>
> at
> org.eclipse.emf.ecore.resource.impl.BinaryResourceImpl$EObjectInputStream.loadEObject(BinaryResourceImpl.java:2522)
>
> at
> org.eclipse.emf.ecore.resource.impl.BinaryResourceImpl$EObjectInputStream.loadEObjects(BinaryResourceImpl.java:2222)
>
> at
> org.eclipse.emf.ecore.resource.impl.BinaryResourceImpl$EObjectInputStream.loadFeatureValue(BinaryResourceImpl.java:2555)
>
> at
> org.eclipse.emf.ecore.resource.impl.BinaryResourceImpl$EObjectInputStream.loadEObject(BinaryResourceImpl.java:2522)
>
> at
> org.eclipse.emf.ecore.resource.impl.BinaryResourceImpl$EObjectInputStream.loadResource(BinaryResourceImpl.java:2205)
>
> at
> org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl.doLoad(XMLResourceImpl.java:211)
>
> at
> org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:1518)
>
>
> All further exceptions (up to 7) look similar to error 2.
>
>
> Do you have any hints what's mixed up with my eclipse installation?
>
> Thanks & Bye,
> Chris
>
Re: e(fx)clipse 1.0 failed to start fxgraph editor on Luna 4.4 [message #1421309 is a reply to message #1421296] Thu, 11 September 2014 07:40 Go to previous message
Christian Niessner is currently offline Christian NiessnerFriend
Messages: 7
Registered: October 2012
Junior Member
Hi,

the bug is filed: https://bugs.eclipse.org/bugs/show_bug.cgi?id=443779

thanks & bye,
chris
Previous Topic:e4 fx application simply does not start anymore
Next Topic:ExtendedFXMLLoader cannot be resolved
Goto Forum:
  


Current Time: Sat Apr 27 01:15:07 GMT 2024

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

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

Back to the top