Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Scout » Standalone scout project error at starting client
Standalone scout project error at starting client [message #1058767] Wed, 15 May 2013 01:21 Go to next message
Sebastian Boccardi is currently offline Sebastian BoccardiFriend
Messages: 47
Registered: September 2012
Location: Montevideo
Member
Hi,

I've been trying the standalone howto. So i managed to get the application running but there is an error at startup:

!ENTRY org.eclipse.e4.ui.workbench 4 0 2013-05-14 22:13:19.235
!MESSAGE Unable to create class 'org.eclipse.e4.ui.workbench.swt.util.BindingProcessingAddon' from bundle '69'
!STACK 0
org.eclipse.e4.core.di.InjectionException: java.lang.LinkageError: loader constraint violation: when resolving interface method "org.eclipse.e4.ui.bindings.EBindingService.createBinding(Lorg/eclipse/jface/bindings/TriggerSequence;Lorg/eclipse/core/commands/ParameterizedCommand;Ljava/lang/String;Ljava/util/Map;)Lorg/eclipse/jface/bindings/Binding;" the class loader (instance of org/eclipse/osgi/internal/baseadaptor/DefaultClassLoader) of the current class, org/eclipse/e4/ui/workbench/swt/util/BindingProcessingAddon, and the class loader (instance of org/eclipse/osgi/internal/baseadaptor/DefaultClassLoader) for resolved class, org/eclipse/e4/ui/bindings/EBindingService, have different Class objects for the type org/eclipse/jface/bindings/Binding used in the signature
	at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:63)
...
..
...
Caused by: java.lang.LinkageError: loader constraint violation: when resolving interface method "org.eclipse.e4.ui.bindings.EBindingService.createBinding(Lorg/eclipse/jface/bindings/TriggerSequence;Lorg/eclipse/core/commands/ParameterizedCommand;Ljava/lang/String;Ljava/util/Map;)Lorg/eclipse/jface/bindings/Binding;" the class loader (instance of org/eclipse/osgi/internal/baseadaptor/DefaultClassLoader) of the current class, org/eclipse/e4/ui/workbench/swt/util/BindingProcessingAddon, and the class loader (instance of org/eclipse/osgi/internal/baseadaptor/DefaultClassLoader) for resolved class, org/eclipse/e4/ui/bindings/EBindingService, have different Class objects for the type org/eclipse/jface/bindings/Binding used in the signature
	at org.eclipse.e4.ui.workbench.swt.util.BindingProcessingAddon.createBinding(BindingProcessingAddon.java:216)
	at org.eclipse.e4.ui.workbench.swt.util.BindingProcessingAddon.defineBinding(BindingProcessingAddon.java:142)
	at org.eclipse.e4.ui.workbench.swt.util.BindingProcessingAddon.defineBindingTable(BindingProcessingAddon.java:132)



And the application fails when trying to fill a field for a search and things like that. With the next error:

!ENTRY org.eclipse.ui 4 0 2013-05-14 22:19:32.592
!MESSAGE Unhandled event loop exception
!STACK 0
java.lang.LinkageError: loader constraint violation: loader (instance of org/eclipse/osgi/internal/baseadaptor/DefaultClassLoader) previously initiated loading for a different type with name "org/eclipse/swt/widgets/Event"
	at org.eclipse.jface.bindings.keys.SWTKeySupport.convertEventToUnmodifiedAccelerator(SWTKeySupport.java:95)
	at org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher.generatePossibleKeyStrokes(KeyBindingDispatcher.java:142)



Anyone had the same experience with that particular howto?

Sebastian


Re: Standalone scout project error at starting client [message #1058783 is a reply to message #1058767] Wed, 15 May 2013 05:14 Go to previous messageGo to next message
Jeremie Bresson is currently offline Jeremie BressonFriend
Messages: 1252
Registered: October 2011
Senior Member
It seems that this are eclipse runtime errors (e4 in particular). Can you tell us the version of Eclipse Scout that your are using, and the version of the eclipse runtime used.

Did you download the package from the main Eclipse Download page? (or from the developer preview download page)


What do you mean with the standalone howto?
http://wiki.eclipse.org/Scout/Tutorial/3.8/Deploy_to_Tomcat ?


Thanks in advance for your inputs.
Re: Standalone scout project error at starting client [message #1058786 is a reply to message #1058783] Wed, 15 May 2013 06:07 Go to previous messageGo to next message
Urs Beeli is currently offline Urs BeeliFriend
Messages: 573
Registered: October 2012
Location: Bern, Switzerland
Senior Member
From the title I would have exepcted that Sebastian refers to http://wiki.eclipse.org/Scout/HowTo/3.8/Create_a_Standalone_Client_with_DB_Access
Re: Standalone scout project error at starting client [message #1058951 is a reply to message #1058786] Wed, 15 May 2013 22:56 Go to previous messageGo to next message
Sebastian Boccardi is currently offline Sebastian BoccardiFriend
Messages: 47
Registered: September 2012
Location: Montevideo
Member
urs is correct
Re: Standalone scout project error at starting client [message #1058953 is a reply to message #1058951] Wed, 15 May 2013 22:59 Go to previous messageGo to next message
Sebastian Boccardi is currently offline Sebastian BoccardiFriend
Messages: 47
Registered: September 2012
Location: Montevideo
Member
Version: Juno Service Release 2
Build id: 20130225-0426

Scout: 3.8.2.201302111336
Re: Standalone scout project error at starting client [message #1058956 is a reply to message #1058953] Wed, 15 May 2013 23:32 Go to previous messageGo to next message
Sebastian Boccardi is currently offline Sebastian BoccardiFriend
Messages: 47
Registered: September 2012
Location: Montevideo
Member
fresh install of eclipse (same version) fixed it..... maybe some plugin is messing up....
Re: Standalone scout project error at starting client [message #1058966 is a reply to message #1058956] Thu, 16 May 2013 04:40 Go to previous message
Jeremie Bresson is currently offline Jeremie BressonFriend
Messages: 1252
Registered: October 2011
Senior Member
This is really strange. Thanks for your feedback.
Previous Topic:JavaDoc for Scout ?
Next Topic:Any hints/example on AbstractTreeField usage?
Goto Forum:
  


Current Time: Thu Mar 28 23:33:35 GMT 2024

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

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

Back to the top