Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » scout » LinkageError in Scout
LinkageError in Scout [message #1357496] Thu, 15 May 2014 14:53 Go to next message
marco giudici is currently offline marco giudiciFriend
Messages: 204
Registered: February 2013
Location: Italy
Senior Member
Hi all,
now when I start my application in SWT and press the first character to write the username, return immediately the error message show below:

index.php/fa/18095/0/

And in the console I found the following messages:

!MESSAGE Unable to create class 'org.eclipse.e4.ui.workbench.swt.util.BindingProcessingAddon' from bundle '72'
!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
...
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
...

!ENTRY org.eclipse.core.net 4 0 2014-05-15 16:37:03.633
!MESSAGE WinHttp.DetectAutoProxyConfigUrl for wpad failed with error 'Can not find the URL of the proxy auto-configuration.' #12180.

!ENTRY org.eclipse.core.jobs 4 2 2014-05-15 16:42:48.657
!MESSAGE LockManager.handleException
!STACK 0
java.lang.reflect.UndeclaredThrowableException
	at org.eclipse.scout.rt.ui.swt.login.internal.InternalNetAuthenticator$1.run(InternalNetAuthenticator.java:112)
	at org.eclipse.ui.internal.UILockListener.doPendingWork(UILockListener.java:164)
	at org.eclipse.ui.internal.UILockListener.aboutToWait(UILockListener.java:126)
	at org.eclipse.core.internal.jobs.LockManager.aboutToWait(LockManager.java:123)
	at org.eclipse.core.internal.jobs.JobManager.join(JobManager.java:845)
	at org.eclipse.core.internal.jobs.InternalJob.join(InternalJob.java:380)
	at org.eclipse.core.runtime.jobs.Job.join(Job.java:385)
	at org.eclipse.scout.rt.ui.swt.AbstractSwtEnvironment.createAndStartClientSession(AbstractSwtEnvironment.java:497)
	at org.eclipse.scout.rt.ui.swt.AbstractSwtEnvironment.init(AbstractSwtEnvironment.java:391)
	at org.eclipse.scout.rt.ui.swt.AbstractSwtEnvironment.ensureInitialized(AbstractSwtEnvironment.java:362)
	at org.eclipse.scout.rt.ui.swt.AbstractSwtStartup$P_InitWorkbenchJob.runInUIThread(AbstractSwtStartup.java:102)
	at org.eclipse.ui.progress.UIJob$1.run(UIJob.java:95)
	at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)
	at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4144)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3761)
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1045)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:940)
	at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:86)
	at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:587)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:542)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
	at org.zeiss.mo.scout.CZVEDIController.ui.swt.application.Application.startSecure(Application.java:45)
	at org.zeiss.mo.scout.CZVEDIController.ui.swt.application.Application$1.run(Application.java:37)
	at java.security.AccessController.doPrivileged(Native Method)
	at javax.security.auth.Subject.doAs(Unknown Source)
	at org.zeiss.mo.scout.CZVEDIController.ui.swt.application.Application.start(Application.java:34)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:353)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1438)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1414)
Caused by: 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)
	at org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher.filterKeySequenceBindings(KeyBindingDispatcher.java:323)
	at org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher.access$0(KeyBindingDispatcher.java:314)
	at org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher$KeyDownFilter.handleEvent(KeyBindingDispatcher.java:83)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
	at org.eclipse.swt.widgets.Display.filterEvent(Display.java:1262)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1052)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1077)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1062)
	at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1104)
	at org.eclipse.swt.widgets.Text.sendKeyEvent(Text.java:1704)
	at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1100)
	at org.eclipse.swt.widgets.Widget.wmChar(Widget.java:1521)
	at org.eclipse.swt.widgets.Control.WM_CHAR(Control.java:4640)
	at org.eclipse.swt.widgets.Text.WM_CHAR(Text.java:2584)
	at org.eclipse.swt.widgets.Control.windowProc(Control.java:4528)
	at org.eclipse.swt.widgets.Text.windowProc(Text.java:2570)
	at org.eclipse.swt.widgets.Display.windowProc(Display.java:4976)
	at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
	at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2546)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3756)
	at org.eclipse.scout.rt.ui.swt.login.internal.LoginDialog.open(LoginDialog.java:50)
	at org.eclipse.scout.rt.ui.swt.login.internal.InternalNetAuthenticator.showModalDialog(InternalNetAuthenticator.java:137)
	at org.eclipse.scout.rt.ui.swt.login.internal.InternalNetAuthenticator.access$0(InternalNetAuthenticator.java:101)
	at org.eclipse.scout.rt.ui.swt.login.internal.InternalNetAuthenticator$1.run(InternalNetAuthenticator.java:109)
	... 41 more

!ENTRY org.eclipse.scout.rt.client 4 0 2014-05-15 16:42:48.657
!MESSAGE org.eclipse.scout.rt.client.AbstractClientSession.startSession(AbstractClientSession.java:264) load session
!STACK 0
java.lang.reflect.UndeclaredThrowableException
	at $Proxy14.getAllCodeTypeClasses(Unknown Source)
	at org.eclipse.scout.rt.client.services.common.code.CodeServiceClientProxy.getAllCodeTypeClasses(CodeServiceClientProxy.java:342)
	at org.eclipse.scout.rt.client.services.common.code.CodeServiceClientProxy.getAllCodeTypes(CodeServiceClientProxy.java:363)
	at org.eclipse.scout.rt.shared.services.common.code.CODES.getAllCodeTypes(CODES.java:64)
	at org.zeiss.mo.scout.CZVEDIController.client.ClientSession.execLoadSession(ClientSession.java:36)
	at org.eclipse.scout.rt.client.AbstractClientSession.startSession(AbstractClientSession.java:259)
	at org.eclipse.scout.rt.client.services.common.session.internal.ClientSessionRegistryService$1.runVoid(ClientSessionRegistryService.java:70)
	at org.eclipse.scout.rt.client.ClientJob.runStatus(ClientJob.java:189)
	at org.eclipse.scout.rt.client.ClientJob.runTransactionWrapper(ClientJob.java:172)
	at org.eclipse.scout.rt.client.ClientJob.run(ClientJob.java:159)
	at org.eclipse.scout.commons.job.JobEx.runNow(JobEx.java:50)
	at org.eclipse.scout.rt.client.services.common.session.internal.ClientSessionRegistryService.createAndStartClientSession(ClientSessionRegistryService.java:74)
	at org.eclipse.scout.rt.client.services.common.session.internal.ClientSessionRegistryService.newClientSession(ClientSessionRegistryService.java:45)
	at org.eclipse.scout.rt.ui.swt.AbstractSwtEnvironment$3.run(AbstractSwtEnvironment.java:489)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
Caused by: ProcessingException[ProcessingStatus[ERROR code=0 Calling ICodeService.getAllCodeTypeClasses() org.eclipse.scout.rt.shared.servicetunnel.HttpException: 401 - UNAUTHORIZED]]
	at org.eclipse.scout.rt.client.servicetunnel.AbstractServiceTunnel.invokeService(AbstractServiceTunnel.java:163)
	at org.eclipse.scout.rt.client.servicetunnel.http.internal.InternalHttpServiceTunnel.invokeService(InternalHttpServiceTunnel.java:175)
	at org.eclipse.scout.rt.client.servicetunnel.http.HttpServiceTunnel.invokeService(HttpServiceTunnel.java:115)
	at org.eclipse.scout.rt.client.servicetunnel.ServiceTunnelInvocationHandler.invoke(ServiceTunnelInvocationHandler.java:47)
	at $Proxy14.getAllCodeTypeClasses(Unknown Source)
	at org.eclipse.scout.rt.client.services.common.code.CodeServiceClientProxy.getAllCodeTypeClasses(CodeServiceClientProxy.java:342)
	at org.eclipse.scout.rt.client.services.common.code.CodeServiceClientProxy.getAllCodeTypes(CodeServiceClientProxy.java:363)
	at org.eclipse.scout.rt.shared.services.common.code.CODES.getAllCodeTypes(CODES.java:64)
	at org.zeiss.mo.scout.CZVEDIController.client.ClientSession.execLoadSession(ClientSession.java:36)
	at org.eclipse.scout.rt.client.AbstractClientSession.startSession(AbstractClientSession.java:259)
	at org.eclipse.scout.rt.client.services.common.session.internal.ClientSessionRegistryService$1.runVoid(ClientSessionRegistryService.java:70)
	at org.eclipse.scout.rt.client.ClientJob.runStatus(ClientJob.java:189)
	at org.eclipse.scout.rt.client.ClientJob.runTransactionWrapper(ClientJob.java:172)
	at org.eclipse.scout.rt.client.ClientJob.run(ClientJob.java:159)
	at org.eclipse.scout.commons.job.JobEx.runNow(JobEx.java:50)
	at org.eclipse.scout.rt.client.services.common.session.internal.ClientSessionRegistryService.createAndStartClientSession(ClientSessionRegistryService.java:74)
	at org.eclipse.scout.rt.client.services.common.session.internal.ClientSessionRegistryService.newClientSession(ClientSessionRegistryService.java:45)
	at org.eclipse.scout.rt.ui.swt.AbstractSwtEnvironment$3.run(AbstractSwtEnvironment.java:489)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
	at org.eclipse.scout.rt.client.servicetunnel.AbstractServiceTunnel.invokeService(AbstractServiceTunnel.java:167)
	at org.eclipse.scout.rt.client.servicetunnel.http.internal.InternalHttpServiceTunnel.invokeService(InternalHttpServiceTunnel.java:175)
	at org.eclipse.scout.rt.client.servicetunnel.http.HttpServiceTunnel.invokeService(HttpServiceTunnel.java:115)
	at org.eclipse.scout.rt.client.servicetunnel.ServiceTunnelInvocationHandler.invoke(ServiceTunnelInvocationHandler.java:47)
	... 15 more
Caused by: org.eclipse.scout.rt.shared.servicetunnel.HttpException: 401 - UNAUTHORIZED
	at org.eclipse.scout.rt.client.servicetunnel.http.internal.HttpBackgroundJob.runStatus(HttpBackgroundJob.java:85)
	at org.eclipse.scout.rt.client.ClientJob.runTransactionWrapper(ClientJob.java:172)
	at org.eclipse.scout.rt.client.ClientJob.run(ClientJob.java:159)
	... 1 more



Also when I start my application in RAP, return a similar error.

I already try:
- validate the various .product
- check if there are errors in the various plugin.xml
- clean and rebuild all project

I use Eclipse Juno 3.8 with Scout.

Anyone have a suggestion to solve this situation?

Thanks in advance for any help
  • Attachment: img_Login.PNG
    (Size: 26.87KB, Downloaded 590 times)
Re: LinkageError in Scout [message #1359176 is a reply to message #1357496] Fri, 16 May 2014 07:54 Go to previous messageGo to next message
marco giudici is currently offline marco giudiciFriend
Messages: 204
Registered: February 2013
Location: Italy
Senior Member
Hi all,
I just tried to refresh my scouts installation (I download SCOUT for my Eclipse version and for my SO), but the error remains. Sad

I also tried to refresh my eclipse installation, but the error remains.

Other suggestions?

[Updated on: Fri, 16 May 2014 13:18]

Report message to a moderator

icon7.gif  Re: LinkageError in Scout [message #1366167 is a reply to message #1359176] Mon, 19 May 2014 07:26 Go to previous message
marco giudici is currently offline marco giudiciFriend
Messages: 204
Registered: February 2013
Location: Italy
Senior Member
Ok, now I solved this problem in the following ways:


  1. Remove totally my Eclipse IDE + Scout
  2. Download a new version of Eclipse Juno
  3. Download a new version of Scout for Juno IDE
  4. Install Eclipse Juno in new folder
  5. Apply Scout to my new Eclipse IDE just installed
  6. Check online for the update
  7. In my case, I downloaded my project from my SVN repository


after all this, the error that I reported disappeared. Smile
Previous Topic:Tree Box
Next Topic:FileChooser in RAP
Goto Forum:
  


Current Time: Fri Nov 22 17:38:53 GMT 2019

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

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

Back to the top