Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 364878

Summary: Eclipse Marketplace client failed to install a bundle.
Product: [Technology] MPC Reporter: Mohsen Vakilian <reprogrammer>
Component: InstallAssignee: Project Inbox <mpc.install-inbox>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: reprogrammer, snegara2
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
See Also: https://bugs.eclipse.org/bugs/show_bug.cgi?id=351493
Whiteboard:

Description Mohsen Vakilian CLA 2011-11-25 21:36:48 EST
Build Identifier: 20110916-0149

Keshmesh <http://keshmesh.cs.illinois.edu/> is a static analysis tool for finding concurrency bug patterns. I successfully installed Keshmesh <http://marketplace.eclipse.org/content/keshmesh> from Eclipse Marketplace in Windows but not Linux. I tried Windows 7 and Linux Ubuntu 10.04.3 LTS. Note that Keshmesh can be successfully installed using its update site both on Windows and Linux.

Reproducible: Always

Steps to Reproduce:
1. Start Eclipse Indigo SR1 in Linux.
2. Go to "Help > Eclipse Marketplace...".
3. Enter Keshmesh in the "Find" edit box.
4. Press the "Go" button.
5. For some reason (See Bug 351493), the Eclipse Marketplace client won't find Keshmesh. So, click on the link "0 matches. Browse for more solutions."
6. While Eclipse is trying to load the Keshmesh content in the Eclipse internal browser, Eclipse crashes with the following output in the Linux terminal.

** (Eclipse:2376): DEBUG: NP_Initialize
** (Eclipse:2376): DEBUG: NP_Initialize succeeded
No bp log location saved, using default.
[000:012] Browser XEmbed support present: 1
[000:012] Browser toolkit is Gtk2.
[000:012] Using Gtk2 toolkit
[000:715] Warning(optionsfile.cc:23): Load: Could not open file, err=2
[000:715] No bp log location saved, using default.
[000:715] Browser XEmbed support present: 1
[000:715] Browser toolkit is Gtk2.
[000:715] Using Gtk2 toolkit
** (Eclipse:2376): DEBUG: NP_Initialize
** (Eclipse:2376): DEBUG: NP_Initialize succeeded
** (Eclipse:2376): DEBUG: NP_Initialize
** (Eclipse:2376): DEBUG: NP_Initialize succeeded
** (Eclipse:2376): DEBUG: NP_Shutdown
** (Eclipse:2376): DEBUG: NP_Initialize
** (Eclipse:2376): DEBUG: NP_Initialize succeeded
** (Eclipse:2376): DEBUG: NP_Initialize
** (Eclipse:2376): DEBUG: NP_Initialize succeeded
** (Eclipse:2376): DEBUG: NP_Initialize
** (Eclipse:2376): DEBUG: NP_Initialize succeeded
** (Eclipse:2376): DEBUG: NP_Initialize
** (Eclipse:2376): DEBUG: NP_Initialize succeeded
[000:725] Warning(optionsfile.cc:23): Load: Could not open file, err=2
[000:725] No bp log location saved, using default.
[000:725] Browser XEmbed support present: 1
[000:725] Browser toolkit is Gtk2.
[000:725] Using Gtk2 toolkit
** (Eclipse:2376): DEBUG: NP_Initialize
** (Eclipse:2376): DEBUG: NP_Initialize succeeded

I tried the drag-and-drop way of installing Keshmesh from the Eclipse Marketplace. When I dragged the install button at <http://marketplace.eclipse.org/content/keshmesh> and dropped it into my running Eclipse, I got the following message in the error log:

eclipse.buildId=M20110909-1335
java.version=1.6.0_26
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Framework arguments:  -product org.eclipse.epp.package.rcp.product
Command-line arguments:  -os linux -ws gtk -arch x86_64 -product org.eclipse.epp.package.rcp.product

Error
Fri Nov 25 20:09:33 CST 2011
Unhandled event loop exception

org.eclipse.swt.SWTException: Failed to execute runnable (org.eclipse.core.runtime.AssertionFailedException: assertion failed: )
	at org.eclipse.swt.SWT.error(SWT.java:4282)
	at org.eclipse.swt.SWT.error(SWT.java:4197)
	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:138)
	at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3563)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3212)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2696)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2660)
	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494)
	at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:667)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123)
	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:344)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1386)
Caused by: org.eclipse.core.runtime.AssertionFailedException: assertion failed: 
	at org.eclipse.core.runtime.Assert.isTrue(Assert.java:110)
	at org.eclipse.core.runtime.Assert.isTrue(Assert.java:96)
	at org.eclipse.ui.internal.ide.EditorAreaDropAdapter.asyncDrop(EditorAreaDropAdapter.java:131)
	at org.eclipse.ui.internal.ide.EditorAreaDropAdapter.access$0(EditorAreaDropAdapter.java:87)
	at org.eclipse.ui.internal.ide.EditorAreaDropAdapter$1.run(EditorAreaDropAdapter.java:81)
	at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)
	... 23 more
Comment 1 Benjamin Muskalla CLA 2011-12-13 08:27:53 EST
DnD doesn't work on the editor area due to a platform bug. Please see task 352690 for details.

*** This bug has been marked as a duplicate of bug 352690 ***