java - Scout crash at launching SWT -
i have strange error in scout eclipse. college push cone in git , pull out. on computer works well, on mine it's error when launching swt.
error :
!entry org.eclipse.e4.ui.workbench 4 0 2014-06-26 09:44:21.234 !message unable create class'org.eclipse.e4.ui.workbench.swt.util.bindingprocessingaddon' bundle '72' !stack 0 org.eclipse.e4.core.di.injectionexception: java.lang.linkageerror: loader constraint violation: when resolving method "org.eclipse.e4.ui.bindings.internal.bindingtable.addbinding(lorg/eclipse/jface/bindings/binding;)v" class loader (instance of org/eclipse/osgi/internal/baseadaptor/defaultclassloader) of current class, org/eclipse/e4/ui/workbench/swt/util/bindingprocessingaddon, , class loader (instance of org/eclipse/osgi/internal/baseadaptor/defaultclassloader) method's defining class, org/eclipse/e4/ui/bindings/internal/bindingtable, have different class objects type org/eclipse/jface/bindings/binding used in signature @ org.eclipse.e4.core.internal.di.methodrequestor.execute(methodrequestor.java:63) @ org.eclipse.e4.core.internal.di.injectorimpl.processannotated(injectorimpl.java:877) @ org.eclipse.e4.core.internal.di.injectorimpl.inject(injectorimpl.java:119) @ org.eclipse.e4.core.internal.di.injectorimpl.internalmake(injectorimpl.java:333) @ org.eclipse.e4.core.internal.di.injectorimpl.make(injectorimpl.java:267) @ org.eclipse.e4.core.contexts.contextinjectionfactory.make(contextinjectionfactory.java:186) @ org.eclipse.e4.ui.internal.workbench.reflectioncontributionfactory.createfrombundle(reflectioncontributionfactory.java:105) @ org.eclipse.e4.ui.internal.workbench.reflectioncontributionfactory.docreate(reflectioncontributionfactory.java:71) @ org.eclipse.e4.ui.internal.workbench.reflectioncontributionfactory.create(reflectioncontributionfactory.java:49) @ org.eclipse.e4.ui.internal.workbench.swt.e4application.createe4workbench(e4application.java:276) @ org.eclipse.ui.internal.workbench$5.run(workbench.java:581) @ org.eclipse.core.databinding.observable.realm.runwithdefault(realm.java:332) @ org.eclipse.ui.internal.workbench.createandrunworkbench(workbench.java:567) @ org.eclipse.ui.platformui.createandrunworkbench(platformui.java:150) @ com.sixt.test.ldaplogintwo.ui.swt.application.application.startsecure(application.java:35) @ com.sixt.test.ldaplogintwo.ui.swt.application.application$1.run(application.java:27) @ java.security.accesscontroller.doprivileged(native method) @ javax.security.auth.subject.doas(subject.java:422) @ com.sixt.test.ldaplogintwo.ui.swt.application.application.start(application.java:24) @ org.eclipse.equinox.internal.app.eclipseapphandle.run(eclipseapphandle.java:196) @ org.eclipse.core.runtime.internal.adaptor.eclipseapplauncher.runapplication(eclipseapplauncher.java:110) @ org.eclipse.core.runtime.internal.adaptor.eclipseapplauncher.start(eclipseapplauncher.java:79) @ org.eclipse.core.runtime.adaptor.eclipsestarter.run(eclipsestarter.java:354) @ org.eclipse.core.runtime.adaptor.eclipsestarter.run(eclipsestarter.java:181) @ sun.reflect.nativemethodaccessorimpl.invoke0(native method) @ sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:62) @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:43) @ java.lang.reflect.method.invoke(method.java:483) @ org.eclipse.equinox.launcher.main.invokeframework(main.java:636) @ org.eclipse.equinox.launcher.main.basicrun(main.java:591) @ org.eclipse.equinox.launcher.main.run(main.java:1450) @ org.eclipse.equinox.launcher.main.main(main.java:1426) caused by: java.lang.linkageerror: loader constraint violation: when resolving method "org.eclipse.e4.ui.bindings.internal.bindingtable.addbinding(lorg/eclipse/jface/bindings/binding;)v" class loader (instance of org/eclipse/osgi/internal/baseadaptor/defaultclassloader) of current class, org/eclipse/e4/ui/workbench/swt/util/bindingprocessingaddon, , class loader (instance of org/eclipse/osgi/internal/baseadaptor/defaultclassloader) method's defining class, org/eclipse/e4/ui/bindings/internal/bindingtable, have different class objects type org/eclipse/jface/bindings/binding used in signature @ org.eclipse.e4.ui.workbench.swt.util.bindingprocessingaddon.definebinding(bindingprocessingaddon.java:184) @ org.eclipse.e4.ui.workbench.swt.util.bindingprocessingaddon.definebindingtable(bindingprocessingaddon.java:168) @ org.eclipse.e4.ui.workbench.swt.util.bindingprocessingaddon.definebindingtables(bindingprocessingaddon.java:151) @ org.eclipse.e4.ui.workbench.swt.util.bindingprocessingaddon.init(bindingprocessingaddon.java:100) @ sun.reflect.nativemethodaccessorimpl.invoke0(native method) @ sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:62) @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:43) @ java.lang.reflect.method.invoke(method.java:483) @ org.eclipse.e4.core.internal.di.methodrequestor.execute(methodrequestor.java:56) ... 31 more
i try make works running out of ideas.
== ensure using same target platform colleague
open preferences > plug-in development > target platform. should have same active target platform definition.
if use running platform active target definition, should have exaclty same eclipse ide installation able compare.
== ensure start application same way
open client product file example:
/<your-app>.ui.swt/products/development/<app>-swt-client-dev.product
click on synchronize link in testing section in overview tab. (sometime need operation twice).
start application run or debug button in same section.
== test other scout application on computer
to determine if eclipse scout ide installation ok or not, happend when create test application in other workspace? manage start it?
== verify content of target platform
@marko-zadravec suggested verify if not have 2 version of org.eclipse.jface
in target platform.
in "target platform" preference page, select active target definition in list , click on edit button.
switch content tab. check if havent 2 org.eclipse.jface
bundles.
== reinstall ide
sometimes reinstalling eclipse scout developers quickest solution solve kind of problems (go eclipse downloads page).
Comments
Post a Comment