Bug 388359 - multiple versions of org.eclipse.jface cause trouble (key bindings and context menus no longer work)
Summary: multiple versions of org.eclipse.jface cause trouble (key bindings and contex...
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: IDE (show other bugs)
Version: 4.2   Edit
Hardware: All All
: P3 major (vote)
Target Milestone: 4.5 M5   Edit
Assignee: Lars Vogel CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 317441 376667 446682 449114 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-08-29 12:25 EDT by Bruce Parrello CLA
Modified: 2016-02-08 13:40 EST (History)
14 users (show)

See Also:
daniel_megert: pmc_approved+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bruce Parrello CLA 2012-08-29 12:25:37 EDT
This morning I updated Eclipse to the latest version. Since then, I have been unable to use the Delete key in the editor. It works fine in other applications, but inside Eclipse, Delete, Ctrl-Delete, and Shift-Delete have no effect. Attempting to remap the key causes an error:

An error has occurred. See error log for more details.
loader constraint violation: when resolving interface method "org.eclipse.e4.ui.bindings.EBindingService.getPerfectMatch(Lorg/eclipse/jface/bindings/TriggerSequence;)Lorg/eclipse/jface/bindings/Binding;" the class loader (instance of org/eclipse/osgi/internal/baseadaptor/DefaultClassLoader) of the current class, org/eclipse/ui/internal/keys/BindingService, 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/TriggerSequence used in the signature

I have also noticed that Ctrl-Z does not work in Eclipse any more.

Naturally, this is a serious problem.
Comment 1 Brian de Alwis CLA 2012-09-02 22:27:40 EDT
What does version and build information does Help > About show?
Comment 2 Thomas Kluge CLA 2013-01-09 08:37:11 EST
The same happend to me today: 
I have Eclipse Juno SDK Version: 4.3.0 Build id: I20121214-0730

the full error is:

An error has occurred. See error log for more details.
loader constraint violation: when resolving interface method "org.eclipse.e4.ui.bindings.EBindingService.getPerfectMatch(Lorg/eclipse/jface/bindings/TriggerSequence;)Lorg/eclipse/jface/bindings/Binding;" the class loader (instance of org/eclipse/osgi/internal/baseadaptor/DefaultClassLoader) of the current class, org/eclipse/ui/internal/keys/BindingService, 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 eclipse/jface/bindings/TriggerSequence;)Lorg/eclipse/jface/bindings/Binding; used in the signature
Comment 3 Christian Soverini CLA 2013-05-10 08:45:36 EDT
Hi, I have the same issue and also dosn't work the F3 key. My version is Juno 4.2.
Thank you
Comment 4 - - CLA 2014-04-03 06:12:35 EDT
Hi, same problem.

Eclipse Standard/SDK

Version: Kepler Service Release 2
Build id: 20140224-0627
Comment 5 Brian de Alwis CLA 2014-04-03 11:31:43 EDT
What version did you update from?  Did you have any other plugins installed?

It sounds like you have two versions of org.eclipse.jface available.  I'm not sure why they're both getting wired up.   Could you please do the following to verify and help diagnose:

1. Open up the Console view.

2. Click on the "New Console" button in the view's toolbar and choose "Host OSGi Console"; this button is the on the far right with the little plus.  Alternatively you can start Eclipse with the -console argument

3. At the "osgi>" prompt, type "ss org.eclipse.jface".  You should see something like:

   osgi> ss org.eclipse.jface
   "Framework is launched."

   id	State       Bundle
   341	ACTIVE      org.eclipse.jface_3.10.0.v20140303-1751
   342	RESOLVED    org.eclipse.jface.databinding_1.6.200.v20140214-0004
   343	RESOLVED    org.eclipse.jface.text_3.9.0.v20131210-1348
   359	ACTIVE      org.eclipse.jface_3.XXXX

Note the ids of the two org.eclipse.jface_* bundles (341 and 359 in the case above).

4. For each bundle id, use "inspect capability ID" where ID is the bundle id above.  This will show the dependencies of each bundle.

   osgi> inspect bundle capability 341
   org.eclipse.jface_3.10.0.v20140303-1751 [341] is required by:
   -------------------------------------------------------------
   org.eclipse.ui.ide.application_1.0.500.v20140210-1835 [409]
   org.eclipse.wb.core.databinding_1.6.1.r44x201309092318 [430]
   org.eclipse.wb.core.ui_1.6.1.r44x201309092325 [433]

One of them will have lots of dependencies.  The other probably won't.

5. Copy and paste the output of the above here.
Comment 6 Brian de Alwis CLA 2014-04-03 11:33:00 EDT
Note to self:

org.eclipse.ui.workbench does a Require-Bundle of org.eclipse.jface

org.eclipse.e4.ui.bindings does an Import-Package of org.eclipse.jface.bindings, org.eclipse.jface.binding.keys, org.eclipse.jface.binding.keys.formatting.
Comment 7 Daniel Becker CLA 2014-08-31 10:37:06 EDT
(In reply to Brian de Alwis from comment #5)

I did the update to Luna release today and have now the same issue.

Here's the requested information. I hope it helps because this issue is really annoying.

Version: Luna Release (4.4.0)
Build id: 20140612-0600


osgi> ss org.eclipse.jface
"Framework is launched."


id	State       Bundle
412 	ACTIVE      org.eclipse.jface_3.6.0.I20100601-0800
413	ACTIVE      org.eclipse.jface_3.10.0.v20140604-0740
414	RESOLVED    org.eclipse.jface.databinding_1.6.200.v20140528-1422
415	RESOLVED    org.eclipse.jface.text_3.6.0.v20100526-0800
416	RESOLVED    org.eclipse.jface.text_3.9.0.v20140521-1657


osgi> inspect bundle capability 412
org.eclipse.jface_3.6.0.I20100601-0800 [412] is required by:
------------------------------------------------------------
Nothing

osgi> inspect bundle capability 413
org.eclipse.jface_3.10.0.v20140604-0740 [413] is required by:
-------------------------------------------------------------
org.eclipse.wst.common.ui_1.1.500.v200911190730 [773]
org.eclipse.jst.ws.jaxrs.ui_1.0.650.v201310240024 [548]
org.eclipse.ui.trace_1.0.200.v20140424-1951 [748]
org.eclipse.zest.layouts_1.1.100.201405261516 [887]
org.eclipse.pde.ua.ui_1.0.300.v20140307-1548 [659]
org.eclipse.jst.common.ui_1.0.201.v201208292200 [461]
org.eclipse.mylyn.tasks.index.ui_3.12.0.v20140401-2350 [619]
org.eclipse.datatools.enablement.ibm.db2.luw.ui_1.0.6.v201402010752 [136]
org.eclipse.m2e.core.ui_1.5.0.20140606-0033 [562]
org.eclipse.jst.ws.axis2.consumption.ui_1.0.200.v201310240024 [525]
org.eclipse.datatools.sqltools.schemaobjecteditor.ui.pages_1.1.1.200810071 [217]
org.eclipse.jdt.apt.ui_3.3.400.v20140311-1758 [382]
com.vaadin.integration.eclipse_2.2.0.201312051010 [10]
org.eclipse.wtp.jee.capabilities_1.0.100.v201005102000 [871]
org.eclipse.datatools.connectivity.sqm.server.ui_1.1.101.v201212070447 [121]
org.eclipse.jdt.debug.ui_3.6.300.v20140512-1926 [388]
org.eclipse.rse.subsystems.shells.local_2.1.400.201403100950 [710]
org.eclipse.epp.usagedata.recording_1.3.0.R201005261100 [310]
org.eclipse.m2e.jdt_1.5.0.20140606-0033 [566]
org.eclipse.emf.example.installer_1.3.0.v20140519-0339 [287]
org.eclipse.jst.ws.axis2.ui_1.0.400.v201310240024 [529]
org.eclipse.rse.connectorservice.ssh_2.1.300.201403100950 [681]
org.eclipse.mylyn.monitor.ui_3.12.0.v20140331-0927 [614]
org.eclipse.datatools.connectivity.db.generic.ui_1.0.2.v201211200622 [107]
org.eclipse.mylyn.resources.ui_3.12.0.v20140412-1836 [615]
org.eclipse.wtp.xml.capabilities_1.0.100.v201005102000 [873]
org.eclipse.m2e.wtp_1.1.0.20140611-1646 [580]
org.eclipse.rse.subsystems.shells.telnet_1.2.300.201403100950 [712]
org.eclipse.jst.jsf.common.ui_1.5.0.v201405281344 [489]
org.eclipse.jst.jsf.facelet.ui_1.3.0.v201405281344 [493]
org.eclipse.jst.j2ee.ejb.annotations.ui_1.1.200.v201004290730 [471]
org.eclipse.egit.ui_3.4.0.201406110918-r [265]
org.eclipse.rse.subsystems.terminals.core_1.0.300.201403100950 [713]
org.eclipse.xsd.ecore.importer_2.7.0.v20140519-0339 [879]
org.eclipse.gef.examples.text_3.8.1.201405261516 [371]
org.eclipse.wst.server.discovery_1.0.500.v20140512_1631 [807]
org.eclipse.rap.ui.launch_1.2.2.20100126-1129 [674]
org.eclipse.jst.pagedesigner.jsf.ui_1.5.0.v201405281344 [502]
org.eclipse.jst.jsf.common_1.5.0.v201405281344 [487]
org.eclipse.datatools.enablement.sybase.asa.ui_1.0.1.v200906111204 [175]
org.eclipse.m2e.wtp.jpa_1.1.0.e43-20140611-1648 [582]
org.eclipse.ui.browser_3.4.200.v20131003-1453 [733]
org.eclipse.emf.mapping.ui_2.6.0.v20140519-0339 [300]
org.eclipse.pde.ui.templates_3.4.800.v20140410-2009 [661]
org.eclipse.datatools.sqltools.common.ui_1.0.1.v201212120623 [192]
org.eclipse.help.ui_4.0.100.v20140401-0608 [375]
org.eclipse.wst.internet.cache_1.0.600.v201203071939 [785]
org.eclipse.wst.xsl.ui_1.1.301.v20130423-0632 [866]
org.eclipse.jst.server.generic.ui_1.0.600.v20130918_1641 [507]
org.eclipse.emf.codegen.ecore.ui_2.10.0.v20140519-0339 [271]
org.eclipse.jst.ws.axis.creation.ui_1.0.800.v201310240024 [521]
org.eclipse.datatools.connectivity.apache.derby.ui_1.0.3.v201107221459 [104]
org.eclipse.emf.common.ui_2.9.0.v20140519-0339 [274]
org.eclipse.rse.efs_2.1.401.201403100950 [686]
org.eclipse.wtp.javascript.capabilities_1.0.100.v201005102000 [870]
org.eclipse.equinox.p2.ui.importexport_1.1.0.v20131210-1027 [354]
org.eclipse.jst.ws.jaxws.dom.ui_1.0.100.v201309242047 [553]
org.eclipse.datatools.enablement.mysql.ui_1.0.0.v201109022331 [153]
org.eclipse.mylyn.team.ui_3.12.0.v20140507-1810 [623]
org.eclipse.wst.xsl.debug.ui_1.0.302.v201304241031 [857]
org.eclipse.wst.xsl.doc_1.0.100.v201004292007 [858]
org.eclipse.wst.common.frameworks.ui_1.2.300.v201401292115 [766]
org.eclipse.datatools.connectivity.sqm.core.ui_1.2.3.v201212070447 [120]
org.eclipse.jpt.common.ui_1.4.0.v201310142259 [424]
org.eclipse.datatools.enablement.jdt.classpath_1.0.1.v201107221501 [147]
org.eclipse.jem.beaninfo_2.0.300.v200905030615 [397]
org.eclipse.datatools.enablement.postgresql.ui_1.0.0.v201107221506 [163]
org.eclipse.jst.common.annotations.ui_1.1.300.v201002081900 [457]
org.eclipse.equinox.p2.ui.sdk.scheduler_1.2.0.v20140422-1847 [356]
org.eclipse.emf.importer.ecore_2.8.0.v20140519-0339 [290]
org.eclipse.jst.pagedesigner_1.6.0.v201405281344 [501]
org.eclipse.egit.mylyn.ui_3.4.0.201406110918-r [264]
org.eclipse.wst.internet.monitor.ui_1.0.700.v20130918_1641 [787]
org.eclipse.ui.externaltools_3.2.300.v20140327-1949 [737]
org.eclipse.mylyn.commons.workbench_3.12.0.v20140411-2206 [600]
org.eclipse.m2e.launching_1.5.0.20140606-0033 [568]
org.eclipse.datatools.connectivity.ui_1.2.4.v201212070447 [122]
org.eclipse.jst.j2ee.ejb.annotations.emitter_1.1.200.v200909290826 [470]
org.eclipse.xsd.ecore.exporter_2.5.0.v20140519-0339 [878]
org.eclipse.gef.examples.shapes_3.8.1.201405261516 [370]
org.eclipse.mylyn.team.cvs_3.12.0.v20140328-2338 [622]
org.eclipse.jst.ws.axis2.consumption.core_1.0.200.v201310240024 [524]
org.eclipse.jst.j2ee.navigator.ui_1.1.600.v201203142300 [476]
org.eclipse.datatools.enablement.sybase.ui_1.0.0.v200906090452 [181]
org.eclipse.wst.xsl.jaxp.launching_1.0.300.v201304102231 [863]
org.eclipse.dstore.extra_2.1.400.201403100950 [230]
org.eclipse.e4.ui.workbench.swt_0.12.100.v20140530-1436 [247]
org.eclipse.datatools.enablement.ibm.db2.iseries.ui_1.0.3.v201212120614 [133]
org.eclipse.mylyn.java.tasks_3.12.0.v20140328-2338 [611]
org.eclipse.rse.useractions_1.1.500.201403100950 [717]
org.eclipse.wst.common.modulecore.ui_1.0.201.v201208241600 [769]
org.eclipse.wst.jsdt.web.support.jsp_1.0.600.v201307162035 [804]
ch.qos.logback.classic_1.0.7.v20121108-1250 [3]
org.eclipse.jst.ws.uddiregistry_1.0.550.v201310240024 [556]
org.eclipse.emf.mapping.ecore2ecore.editor_2.7.0.v20140519-0339 [297]
org.eclipse.xsd.example.installer_1.2.0.v20140519-0339 [882]
org.eclipse.datatools.enablement.ingres.ui_1.0.0.v201105270214 [146]
org.eclipse.ant.ui_3.5.500.v20140521-1557 [73]
org.eclipse.search_3.9.100.v20140226-1637 [718]
org.eclipse.wst.server.ui_1.5.0.v20140520_1426 [812]
org.eclipse.jpt.jaxb.ui_1.5.0.v201310142259 [439]
org.eclipse.gef.examples.ui.pde_3.8.1.201405261516 [372]
org.eclipse.rap.ui.intro_1.2.2.20100126-1129 [673]
org.eclipse.wst.ws.service.policy.ui_1.0.450.v201310240024 [832]
org.eclipse.emf.codegen.ui_2.6.0.v20140519-0339 [272]
org.eclipse.mylyn.bugzilla.ui_3.12.0.v20140401-2350 [589]
org.eclipse.mylyn.help.ui_3.12.0.v20140523-2010 [608]
org.eclipse.wst.xml.ui_1.1.500.v201403122203 [842]
org.eclipse.rse.subsystems.processes.core_3.1.300.201403100950 [704]
org.eclipse.jpt.jpa.eclipselink.ui_2.4.0.v201310142259 [448]
org.eclipse.rse.subsystems.processes.dstore_2.1.400.201403100950 [705]
org.eclipse.wst.css.ui_1.0.900.v201401131445 [776]
org.eclipse.emf.converter_2.7.0.v20140519-0339 [275]
org.eclipse.wst.html.ui_1.0.900.v201403122151 [783]
org.eclipse.datatools.enablement.ibm.db2.zseries.ui_1.0.2.v201202100836 [139]
org.eclipse.jst.jee.ui_1.0.700.v201401151049 [484]
org.eclipse.wst.jsdt.debug.ui_1.0.400.v201402131232 [797]
org.eclipse.ui.navigator.resources_3.4.700.v20140407-1004 [745]
org.eclipse.xsd.editor_2.7.0.v20140519-0339 [881]
org.eclipse.wst.common.project.facet.ui_1.4.300.v201111030424 [771]
org.eclipse.tm.terminal.telnet_2.1.300.201405280638 [730]
org.eclipse.datatools.help_1.5.0.v200906020553 [182]
org.eclipse.jst.jsp.ui_1.1.900.v201311142216 [499]
org.eclipse.ui.workbench.texteditor_3.9.0.v20140411-1521 [754]
org.eclipse.rap.ui.templates_1.2.2.20100126-1129 [675]
org.eclipse.jpt.dbws.eclipselink.ui_1.1.100.v201310142259 [429]
org.eclipse.emf.edit.ui_2.10.0.v20140519-0339 [286]
org.eclipse.jst.ws.cxf.core_1.1.200.v201404292132 [539]
org.eclipse.team.ui_3.7.100.v20130710-1213 [726]
org.eclipse.m2e.editor.xml_1.5.0.20140606-0033 [565]
org.eclipse.m2e.discovery_1.5.0.20140606-0033 [563]
org.eclipse.emf.importer_2.9.0.v20140519-0339 [289]
org.eclipse.jst.server.generic.jonas_1.5.400.v20130918_1641 [506]
org.eclipse.wtp.web.capabilities_1.0.100.v201005102000 [872]
org.eclipse.ltk.ui.refactoring_3.7.100.v20140324-1358 [559]
org.eclipse.datatools.sqltools.routineeditor.ui_1.0.3.v201211200616 [214]
org.eclipse.jst.ws.cxf.doc.user_1.0.300.v201309232315 [542]
org.eclipse.dstore.core_3.4.0.201404231656 [229]
com.vaadin.wysiwyg.eclipse_2.2.0.201312051010 [11]
org.eclipse.jface.databinding_1.6.200.v20140528-1422 [414]
org.eclipse.rse.subsystems.shells.core_3.1.300.201403271554 [708]
org.eclipse.wst.ws.ui_1.1.250.v201310240024 [833]
org.eclipse.rse.processes.ui_3.0.400.201403100950 [690]
org.eclipse.datatools.enablement.oda.xml.ui_1.2.7.v201403131825 [157]
org.eclipse.datatools.connectivity.ui.dse_1.1.5.v201212070447 [123]
org.eclipse.jst.ws.jaxws.dom.runtime_1.0.300.v201309242047 [552]
org.eclipse.mylyn.wikitext.context.ui_2.1.0.v20140325-2210 [626]
org.eclipse.rse.dstore.security_3.0.400.201403100950 [685]
org.eclipse.wst.common.snippets_1.2.200.v201204260225 [772]
org.eclipse.datatools.enablement.msft.sqlserver.ui_1.0.4.v201308031011 [150]
org.eclipse.jst.jsf.ui_1.6.0.v201405281344 [497]
org.eclipse.wtp.epp.package.jee.intro_1.3.0.v201006142040 [869]
org.eclipse.jst.j2ee.ui_1.1.800.v201312231745 [477]
org.eclipse.mylyn.commons.notifications.ui_1.4.0.v20140331-0927 [595]
org.eclipse.emf.cheatsheets_2.5.0.v20140519-0339 [268]
org.eclipse.emf.mapping.ecore2xml.ui_2.7.0.v20140519-0339 [299]
org.eclipse.datatools.enablement.ibm.ui_1.0.0.v201107221502 [143]
org.eclipse.ui.navigator_3.5.400.v20140210-1835 [744]
org.eclipse.jst.ws.consumption.ui_1.1.750.v201401132315 [533]
org.eclipse.datatools.connectivity.oda.flatfile.ui_3.1.9.v201403131825 [116]
org.eclipse.pde.junit.runtime_3.4.400.v20140204-1740 [655]
org.eclipse.wst.jsdt.web.ui_1.0.800.v201403281809 [805]
org.eclipse.team.cvs.ui_3.3.600.v20130514-1224 [725]
org.eclipse.mylyn.tasks.search_3.12.0.v20140401-2350 [620]
org.eclipse.jst.j2ee.jca.ui_1.1.500.v201304242200 [475]
org.eclipse.datatools.sqltools.sqlscrapbook_1.0.2.v201205310922 [222]
org.eclipse.platform_4.4.0.v20140606-1215 [670]
org.eclipse.pde.runtime_3.4.400.v20140512-1555 [657]
org.eclipse.datatools.enablement.sybase.asa.schemaobjecteditor.examples_2.5.0.200810071 [174]
org.eclipse.jpt.jpa.db.ui_2.1.100.v201310142259 [444]
org.eclipse.jst.ws.cxf.consumption.ui_1.0.300.v201309232315 [538]
org.eclipse.jst.ws.axis2.creation.ui_1.0.200.v201310240024 [528]
org.eclipse.equinox.p2.ui.discovery_1.0.100.v20131210-1027 [353]
org.eclipse.m2e.wtp.jsf_1.1.0.20140611-1646 [583]
org.eclipse.mylyn.ide.ui_3.12.0.v20140328-2338 [610]
org.eclipse.datatools.sqltools.data.ui_1.2.2.v201212120623 [194]
org.eclipse.emf.mapping.xsd2ecore.editor_2.6.0.v20140519-0339 [302]
org.eclipse.jst.common.project.facet.ui_1.4.200.v201008182133 [460]
org.eclipse.jem.proxy_2.0.400.v201101101900 [400]
org.eclipse.mylyn.commons.screenshots_3.12.0.v20140331-0927 [598]
org.eclipse.ui.views.log_1.0.500.v20140512-1221 [750]
org.eclipse.datatools.sqltools.result.ui_1.1.3.v201302061703 [212]
org.eclipse.rse.connectorservice.telnet_1.2.300.201403100950 [682]
org.eclipse.datatools.sqltools.sql.ui_1.0.1.v201201270735 [219]
org.eclipse.jst.server.ui_1.1.300.v20130918_1641 [511]
org.eclipse.jst.ws.jaxws.utils_1.0.300.v201309242047 [555]
org.eclipse.ui_3.106.0.v20140519-0906 [732]
org.eclipse.wst.dtd.ui_1.0.801.v201308100603 [779]
org.eclipse.jpt.jaxb.eclipselink.ui_1.4.100.v201310142259 [438]
org.eclipse.m2e.refactoring_1.5.0.20140606-0033 [578]
org.eclipse.mylyn.context.tasks.ui_3.12.0.v20140328-2338 [603]
org.eclipse.rse.importexport_1.2.300.201403100950 [689]
org.eclipse.jst.jsf.facesconfig_1.5.0.v201405281344 [494]
org.eclipse.wst.wsi.ui_1.0.550.v201310240024 [839]
org.eclipse.tm.terminal.ssh_2.1.300.201405280638 [729]
org.eclipse.epp.mpc.ui_1.3.0.v20140529-2031 [306]
org.eclipse.rse.efs.ui_2.1.400.201403100950 [687]
org.eclipse.rse.ui_3.3.100.201404091417 [716]
org.eclipse.rse.subsystems.files.local_2.1.300.201403251512 [702]
org.eclipse.ui.cheatsheets_3.4.200.v20131227-1524 [734]
org.eclipse.jst.jsf.core_1.7.0.v201405281344 [490]
org.eclipse.wtp.epp.package.capabilities_1.3.0.v201005102000 [868]
org.eclipse.tm.terminal.view_2.4.100.201405280638 [731]
org.eclipse.datatools.enablement.hsqldb.ui_1.0.0.v201108120600 [128]
org.eclipse.datatools.sqltools.editor.core.ui_1.0.0.v201001150815 [205]
org.eclipse.ui.views.properties.tabbed_3.6.0.v20140519-0906 [751]
org.eclipse.zest.core_1.5.100.201405261516 [885]
org.eclipse.rse.subsystems.shells.dstore_2.1.400.201403100950 [709]
org.eclipse.datatools.enablement.sqlite.ui_1.0.0.v201107221507 [169]
org.eclipse.jdt.ui_3.10.0.v20140604-1403 [395]
org.eclipse.mylyn.tasks.ui_3.12.0.v20140521-2340 [621]
org.eclipse.e4.ui.workbench.addons.swt_1.1.0.v20140602-1537 [245]
org.eclipse.rse.subsystems.shells.ssh_2.1.400.201403100950 [711]
org.eclipse.gef_3.9.100.201405261516 [366]
org.eclipse.datatools.sqltools.sqleditor_1.0.4.v201212120623 [221]
org.eclipse.emf.ecore.editor_2.10.0.v20140519-0339 [283]
org.eclipse.datatools.sqltools.tabledataeditor_1.0.2.v201212120623 [223]
org.eclipse.jst.ws.cxf.ui_1.0.300.v201309232315 [543]
org.eclipse.rse.connectorservice.local_2.1.400.201403100950 [680]
org.eclipse.mylyn.tasks.bugs_3.12.0.v20140401-2350 [616]
org.eclipse.datatools.enablement.ibm.informix.ui_1.0.3.v201202100836 [142]
org.eclipse.jst.ws.cxf.creation.ui_1.0.300.v201403242145 [541]
org.eclipse.jst.ws.cxf.creation.core_1.0.400.v201404292132 [540]
org.eclipse.wst.server.http.ui_1.0.400.v20130918_1641 [809]
org.eclipse.wst.web.ui_1.1.600.v201109220400 [824]
org.eclipse.datatools.sqltools.db.generic.ui_1.0.0.v200906020900 [198]
org.eclipse.wst.server.preview.adapter_1.1.300.v20130918_1641 [811]
org.eclipse.debug.ui_3.10.0.v20140604-1637 [225]
org.eclipse.ui.ide.application_1.0.500.v20140514-2033 [741]
org.eclipse.emf.exporter_2.7.0.v20140519-0339 [288]
org.eclipse.ui.net_1.2.200.v20120807-0927 [746]
org.eclipse.mylyn.context.ui_3.12.0.v20140423-0309 [604]
org.eclipse.pde.ds.ui_1.0.300.v20140204-1740 [654]
org.eclipse.wst.command.env.ui_1.1.150.v201310240024 [760]
org.apache.ivyde.eclipse_2.2.0.beta1-201203282058-RELEASE [57]
org.eclipse.wst.jsdt.support.firefox_1.0.500.v201402131232 [800]
org.eclipse.jst.server.preview.adapter_1.1.300.v20130918_1641 [508]
org.eclipse.rse.subsystems.files.ssh_2.1.300.201403100950 [703]
org.eclipse.rse.subsystems.processes.local_2.1.400.201403100950 [706]
org.eclipse.epp.usagedata.gathering_1.3.0.R201005261100 [309]
org.eclipse.datatools.enablement.oracle.ui_1.0.3.v201201131121 [160]
org.eclipse.jst.ws_1.0.700.v201310240024 [517]
org.eclipse.datatools.sqltools.schemaobjecteditor.ui_1.1.1.200810071 [216]
org.eclipse.wst.xsd.ui_1.2.500.v201203081826 [853]
org.eclipse.wst.wsdl.ui_1.2.650.v201310240024 [835]
org.eclipse.jst.ws.jaxws.dom.integration_1.0.300.v201309242047 [551]
org.eclipse.m2e.wtp.overlay_1.1.0.20140611-1646 [584]
org.eclipse.wst.sse.ui_1.3.300.v201404240319 [817]
org.eclipse.e4.ui.workbench.renderers.swt_0.12.0.v20140521-1818 [246]
org.eclipse.jst.jsf.apache.trinidad.tagsupport_1.4.0.v201405281344 [486]
org.eclipse.datatools.connectivity.oda.template.ui_3.2.5.v201403131814 [118]
org.eclipse.jst.ws.annotations.core_1.2.200.v201311102036 [518]
org.eclipse.jst.ws.ui_1.0.450.v201310240024 [557]
org.eclipse.datatools.sqltools.sqlbuilder_1.0.7.v201401250704 [220]
org.eclipse.mylyn.java.ui_3.12.0.v20140328-2338 [612]
org.eclipse.jsch.ui_1.1.500.v20131112-1442 [453]
org.eclipse.jst.ws.jaxws.ui_1.0.400.v201310132202 [554]
org.eclipse.m2e.scm_1.5.0.20140606-0033 [579]
org.eclipse.rse.subsystems.files.core_3.3.1.201403100950 [699]
org.eclipse.wst.xsl.exslt.ui_1.0.0.v201006012005 [860]
org.eclipse.m2e.wtp.overlay.ui_1.1.0.20140611-1646 [585]
org.eclipse.wst.validation.ui_1.2.500.v201310231530 [822]
org.eclipse.jst.j2ee.ejb.annotations.xdoclet_1.2.200.v201103302125 [472]
org.eclipse.jst.ws.jaxrs.core_1.0.550.v201310240024 [547]
org.eclipse.ui.editors_3.8.200.v20140401-1310 [736]
org.eclipse.datatools.sqltools.debugger.core.ui_1.0.0.v201003161000 [201]
org.eclipse.jface.text_3.9.0.v20140521-1657 [416]
org.eclipse.rse.files.ui_3.2.200.201403211850 [688]
org.eclipse.rse.subsystems.processes.shell.linux_1.1.400.201403100950 [707]
org.eclipse.rse.subsystems.files.dstore_2.1.300.201403100950 [700]
org.eclipse.ui.forms_3.6.100.v20140422-1825 [739]
org.eclipse.gef.examples.logic_3.8.1.201405261516 [369]
org.eclipse.mylyn.discovery.ui_3.12.0.v20140512-2018 [607]
org.eclipse.wst.jsdt.ui_1.1.500.v201402182334 [802]
org.eclipse.jst.ws.axis.consumption.ui_1.0.750.v201311011547 [520]
org.eclipse.rse.shells.ui_3.0.500.201403271554 [698]
org.eclipse.equinox.p2.ui_2.3.0.v20140404-1657 [352]
org.eclipse.pde.api.tools.ui_1.0.500.v20140512-1548 [649]
org.eclipse.gef.examples.flow_3.8.1.201405261516 [368]
org.eclipse.jst.ws.creation.ui_1.0.850.v201310310246 [536]
org.eclipse.mylyn.wikitext.ui_2.1.0.v20140325-2210 [643]
org.eclipse.jst.j2ee.webservice.ui_1.1.500.v201105122000 [480]
org.eclipse.wst.xsl.launching_1.1.0.v201304241031 [864]
org.eclipse.emf.importer.rose_2.7.0.v20140519-0339 [292]
org.eclipse.ui.intro.universal_3.2.700.v20130904-1701 [743]
org.eclipse.equinox.p2.ui.sdk_1.0.300.v20140407-1803 [355]
org.eclipse.emf.importer.java_2.7.0.v20140519-0339 [291]
org.eclipse.jst.j2ee.webservice_1.1.400.v201004110600 [479]
org.eclipse.jst.jsf.facesconfig.ui_1.5.0.v201405281344 [495]
org.eclipse.datatools.enablement.sybase.ase.ui_1.0.1.v200906020900 [179]
org.eclipse.datatools.sqltools.ddlgen.ui_1.0.3.v201211200616 [199]
org.eclipse.jst.ws.axis2.core_1.0.300.v201310240024 [526]
org.eclipse.jst.jsf.standard.tagsupport_1.5.0.v201405281344 [496]
org.eclipse.rse.connectorservice.dstore_3.1.301.201403100950 [679]
org.eclipse.ui.intro_3.4.200.v20130326-1254 [742]
org.eclipse.compare_3.5.500.v20131106-1552 [74]
org.eclipse.tm.terminal_3.2.300.201406060905 [728]
org.eclipse.jst.server.tomcat.ui_1.1.400.v20131130_1502 [510]
org.eclipse.mylyn.commons.ui_3.12.0.v20140402-2209 [599]
org.eclipse.m2e.profiles.ui_1.5.0.20140606-0033 [577]
org.eclipse.wst.ws.explorer_1.0.750.v201401291757 [828]
org.eclipse.mylyn.debug.ui_3.12.0.v20140328-2338 [605]
org.eclipse.datatools.sqltools.plan_1.0.0.v201107221520 [210]
org.eclipse.ui.console_3.5.300.v20140424-1437 [735]
org.eclipse.ui.workbench_3.106.0.v20140530-0732 [753]
org.eclipse.equinox.security.ui_1.1.200.v20130626-2037 [362]
org.eclipse.gef.doc.isv_3.9.100.201405261516 [367]
org.eclipse.datatools.enablement.oda.ws.ui_1.2.6.v201403131825 [155]
org.eclipse.datatools.sqltools.db.derby.ui_1.0.0.v200906020900 [196]
org.eclipse.ui.ide_3.10.0.v20140521-1937 [740]
org.eclipse.rse.terminals.ui_1.2.100.201403211815 [715]
org.eclipse.dstore.core_3.2.0.v201006030345 [228]
org.eclipse.jdt.junit_3.7.300.v20140418-0836 [390]
org.eclipse.rse.subsystems.files.ftp_2.2.0.201403100950 [701]
org.eclipse.m2e.editor_1.5.0.20140606-0033 [564]
org.eclipse.wst.jsdt.support.ie_1.0.500.v201402131232 [801]
org.eclipse.jst.ejb.ui_1.1.900.v201402130400 [463]
org.eclipse.wst.jsdt.debug.rhino.ui_1.0.300.v201405081515 [794]
org.eclipse.wst.xsl.jaxp.debug.ui_1.0.200.v201103081922 [862]
org.eclipse.compare.win32_1.0.200.v20130514-1224 [77]
org.eclipse.jface.text_3.6.0.v20100526-0800 [415]
org.eclipse.ui.views_3.7.0.v20140408-0703 [749]
org.eclipse.jst.ws.jaxws.doc.user_1.0.400.v201309232315 [550]
org.eclipse.mylyn.commons.repositories.ui_1.4.0.v20140331-0927 [597]
org.eclipse.jst.servlet.ui_1.1.800.v201403061900 [514]
org.eclipse.m2e.wtp.jaxrs_1.1.0.20140611-1646 [581]
org.eclipse.ui.forms_3.5.0.v20100427 [738]
org.eclipse.mylyn.ide.ant_3.12.0.v20140328-2338 [609]
org.eclipse.datatools.enablement.sap.maxdb.ui_1.0.0.v201107221507 [166]
org.eclipse.mylyn.wikitext.tasks.ui_2.1.0.v20140325-2210 [636]
org.eclipse.wst.xml.xpath.ui_1.1.101.v201204260040 [845]
org.eclipse.jst.ws.cxf.consumption.core_1.0.300.v201309232315 [537]
org.eclipse.jpt.jpa.ui_3.4.0.v201312050012 [450]
org.eclipse.datatools.connectivity.oda.design.ui_3.2.9.v201403131814 [114]
org.eclipse.pde.ui_3.8.100.v20140529-0947 [660]
org.eclipse.jst.jsf.facelet.core_1.3.0.v201405281344 [492]
Comment 8 Yang Zhong CLA 2014-10-07 18:37:25 EDT
Thanks to Brian for the instructions, and removing the bundle of dependent of "Nothing" out of ECLIPSE/plugins solved the problem. Hopefully that can be a work-around for many people.

FWIW, I observed the same problem once updated from 4.4 to 4.4.1 on Linux x64, Exceptions were observed within WORK_SPACE/.log

Actually, many editing didn't work, not even "Find/Replace...", which was not just annoying :-(
Comment 9 Markus Keller CLA 2014-10-29 10:52:48 EDT
*** Bug 446682 has been marked as a duplicate of this bug. ***
Comment 10 Markus Keller CLA 2014-10-29 10:53:13 EDT
*** Bug 449114 has been marked as a duplicate of this bug. ***
Comment 11 Francisco Moraes CLA 2014-10-29 11:14:57 EDT
I found that I had duplicate jface plugins from previous versions of the platform (due to upgrades). I moved the following plugins out of the plugins directory:

org.eclipse.jface.databinding.source_1.6.200.v20140528-1422.jar
org.eclipse.jface.databinding_1.4.0.I20100601-0800.jar
org.eclipse.jface.databinding_1.5.0.I20100907-0800.jar
org.eclipse.jface.text_3.6.1.r361_v20100825-0800.jar
org.eclipse.jface.text_3.7.2.v20111213-1208.jar
org.eclipse.jface_3.6.2.M20110210-1200.jar
org.eclipse.jface_3.7.0.v20110928-1505.jar

Then I restarted Eclipse and all was fine. After reading this bug, I moved the plugins back and went to the OSGI console but the problem was not happening again. Inspect showed:

id	State       Bundle
292	RESOLVED    org.eclipse.jface.databinding_1.6.200.v20140528-1422
545	ACTIVE      org.eclipse.jface_3.10.1.v20140813-1009
546	RESOLVED    org.eclipse.jface.text_3.9.1.v20140827-1810
583	STARTING    org.eclipse.jface_3.7.0.v20110928-1505
584	STARTING    org.eclipse.jface_3.6.2.M20110210-1200
585	RESOLVED    org.eclipse.jface.databinding_1.5.0.I20100907-0800
586	RESOLVED    org.eclipse.jface.databinding_1.4.0.I20100601-0800
587	RESOLVED    org.eclipse.jface.text_3.7.2.v20111213-1208
588	RESOLVED    org.eclipse.jface.text_3.6.1.r361_v20100825-0800

So, is this normal that after a version upgrade multiple plugins will be left active and cause this problem? I don't see a good way to remove duplicate and old plugins as you can't uninstall them via the Installation Default.
Comment 12 Markus Keller CLA 2014-10-29 12:32:12 EDT
It's probably hard to find out how exactly the affected users ended up in a state where they had two active org.eclipse.jface bundles.

I think the best solution is to just acknowledge that org.eclipse.jface is a singleton in practice. I.e. change MANIFEST.MF to:

Bundle-SymbolicName: org.eclipse.jface;singleton:=true
Comment 13 David Williams CLA 2014-10-29 13:13:03 EDT
(In reply to Markus Keller from comment #12)
> It's probably hard to find out how exactly the affected users ended up in a
> state where they had two active org.eclipse.jface bundles.
> 
> I think the best solution is to just acknowledge that org.eclipse.jface is a
> singleton in practice. I.e. change MANIFEST.MF to:
> 
> Bundle-SymbolicName: org.eclipse.jface;singleton:=true

You are probably right ... but, I wonder if this would just result in "the lowest" one being loaded", at times, instead of the most recent? I've only glanced at the details, but was just wondering if it'd help to have a tighter "lower bound" when pre-reqs specified? Or, maybe you'll need both? [And, again, just speculating ... hard for me to read error messages.]
Comment 14 Lars Vogel CLA 2014-10-30 00:03:24 EDT
(In reply to Markus Keller from comment #12)
> I think the best solution is to just acknowledge that org.eclipse.jface is a
> singleton in practice. I.e. change MANIFEST.MF to:
> 
> Bundle-SymbolicName: org.eclipse.jface;singleton:=true

I think the same, suggest change: 

https://git.eclipse.org/r/35663
Comment 15 Lars Vogel CLA 2014-10-30 01:52:14 EDT
(In reply to David Williams from comment #13)
> You are probably right ... but, I wonder if this would just result in "the
> lowest" one being loaded", at times, instead of the most recent? 

If singleton:=true is defined only one bundle is installed by the OSGi runtime, the deployment of the second bundle will fail (I asked Neil Bartlett, OSGi expert) about this.
Comment 16 David Williams CLA 2014-10-30 03:40:55 EDT
(In reply to Lars Vogel from comment #15)
> (In reply to David Williams from comment #13)
> > You are probably right ... but, I wonder if this would just result in "the
> > lowest" one being loaded", at times, instead of the most recent? 
> 
> If singleton:=true is defined only one bundle is installed by the OSGi
> runtime, the deployment of the second bundle will fail (I asked Neil
> Bartlett, OSGi expert) about this.

I think that's pretty clear, Lars. Did he say it would always be "the right one"? :) 

While I would be the last to know, for this case, you could be solving one problem, but causing others. As one *possibility* an "update" from some of these old versions, to Luna, may not be possible? (From my brief reading, it seems to occur only when updating?) And, with p2's magic "conflict resolution" it has been known to "back level" items to make them fit ... if the user is not paying attention and/or is unwilling to "cancel" and would rather take their chances. 

And, don't get me wrong, ... I am only just suggesting this be well understood before taking what seems like an easy fix. Perhaps "singleton" is the right fix.

But, in my mind, this is a "wiring" problem ... usually best fixed by proper constraints and/or "uses" clauses, whereas are singletons primarily for cases where there is a "fixed resource", that has to be shared. (And, I suspect, unrelated to "update") ... i.e. if really *had* to be a singleton, you'd see it with a fresh install as much as with an updated install, IMHO.
Comment 17 Lars Vogel CLA 2014-10-30 03:51:22 EDT
(In reply to David Williams from comment #16)

> While I would be the last to know, for this case, you could be solving one
> problem, but causing others.....

We have several existing singletons in platform, i.e.g every plug-ins which defines extensions, so any problem related to that we already have. 

> And, don't get me wrong, ... I am only just suggesting this be well
> understood before taking what seems like an easy fix. Perhaps "singleton" is
> the right fix.

I leave Markus (or other committer) to +1 / +2 on the Gerrit before merging.
Comment 18 Lars Vogel CLA 2014-11-28 09:36:49 EST
Dani, Markus, please advice if it is OK to mark jface as singleton.
Comment 19 Dani Megert CLA 2014-12-08 08:05:20 EST
(In reply to Lars Vogel from comment #18)
> Dani, Markus, please advice if it is OK to mark jface as singleton.

+1 but only for M5. Too late for M4.
Comment 20 Dani Megert CLA 2014-12-08 08:06:16 EST
*** Bug 317441 has been marked as a duplicate of this bug. ***
Comment 21 Dani Megert CLA 2014-12-15 10:02:14 EST
(In reply to Lars Vogel from comment #14)
> (In reply to Markus Keller from comment #12)
> > I think the best solution is to just acknowledge that org.eclipse.jface is a
> > singleton in practice. I.e. change MANIFEST.MF to:
> > 
> > Bundle-SymbolicName: org.eclipse.jface;singleton:=true
> 
> I think the same, suggest change: 
> 
> https://git.eclipse.org/r/35663

Submitted with http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=840ced5249072722626614d96f7c59516893196b
Comment 22 Akihiko Kawaguchi CLA 2015-03-02 01:15:57 EST
When I upgraded Eclipse Luna from SR1 to SR2 with "Check for Updates" menu, I faced a very similar issue that logged the following error in .metadata/.log.

java.lang.LinkageError: loader constraint violation: when resolving interface method "org.eclipse.e4.ui.bindings.EBindingService.getBestSequenceFor(Lorg/eclipse/core/commands/ParameterizedCommand;)Lorg/eclipse/jface/bindings/TriggerSequence;" the class loader (instance of org/eclipse/osgi/internal/loader/EquinoxClassLoader) of the current class, org/eclipse/ui/internal/keys/BindingService, and the class loader (instance of org/eclipse/osgi/internal/loader/EquinoxClassLoader) for the method's defining class, org/eclipse/e4/ui/bindings/EBindingService, have different Class objects for the type org/eclipse/jface/bindings/TriggerSequence used in the signature
	at org.eclipse.ui.internal.keys.BindingService.getBestActiveBindingFormattedFor(BindingService.java:232)
	at org.eclipse.jdt.ui.actions.OpenViewActionGroup.getShowInMenuLabel(OpenViewActionGroup.java:287)
	at org.eclipse.jdt.ui.actions.OpenViewActionGroup.fillContextMenu(OpenViewActionGroup.java:271)
(snip)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1438)

The workaround for me was that exiting Eclipse and restarting it with "-clean" command line option once.
Comment 23 Lars Vogel CLA 2016-02-08 13:40:09 EST
*** Bug 376667 has been marked as a duplicate of this bug. ***