shdqcdsn / counterclockwise

Automatically exported from code.google.com/p/counterclockwise
0 stars 0 forks source link

org.eclipse.swt.SWTError: Cannot initialize Drop #674

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.I installed the counterclockwise plugin version of 0.30.0 in the eclipse Jee 
4.3 version

!SESSION 2014-11-28 09:02:45.505 -----------------------------------------------
eclipse.buildId=4.3.2.M20140221-1700
java.version=1.7.0_71
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Framework arguments:  -product org.eclipse.epp.package.jee.product
Command-line arguments:  -os linux -ws gtk -arch x86_64 -product 
org.eclipse.epp.package.jee.product

!ENTRY org.eclipse.ui 4 4 2014-11-28 09:03:14.276
!MESSAGE An internal error has occurred.
!STACK 0
org.eclipse.swt.SWTError: Cannot initialize Drop
        at org.eclipse.swt.dnd.DND.error(DND.java:266)
        at org.eclipse.swt.dnd.DND.error(DND.java:227)
        at org.eclipse.swt.dnd.DropTarget.<init>(DropTarget.java:158)
        at org.eclipse.epp.internal.mpc.ui.wizards.MarketplaceDropAdapter.installDropTarget(MarketplaceDropAdapter.java:59)
        at org.eclipse.epp.internal.mpc.ui.wizards.MarketplaceDropAdapter$1.runInUIThread(MarketplaceDropAdapter.java:48)
        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:3717)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3366)
        at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1113)
        at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
        at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:997)
        at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:140)
        at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:611)
        at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
        at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:567)
        at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
        at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124)
        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:354)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:181)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:636)
        at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)
        at org.eclipse.equinox.launcher.Main.run(Main.java:1450)
        at org.eclipse.equinox.launcher.Main.main(Main.java:1426)

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?

Please provide any additional information below.

Original issue reported on code.google.com by howard.i...@gmail.com on 28 Nov 2014 at 1:20

GoogleCodeExporter commented 9 years ago
Hello, 

so this is the first exception that is thrown?

Did you have to do something to trigger it?

Does it prevent your Eclipse from starting, or is it just an annoying exception 
but you're not blocked?

Thanks,

Original comment by laurent....@gmail.com on 28 Nov 2014 at 5:20

GoogleCodeExporter commented 9 years ago
I managed to reproduce the issue with eclipse Jee 4.3 version (Kepler)

Original comment by laurent....@gmail.com on 29 Nov 2014 at 9:20

GoogleCodeExporter commented 9 years ago
I tested with eclipse Jee 4.4 version (Luna), and the problem does not occur.

Investigating a little bit, I see that Eclipse Market place has been enhanced 
in Luna to get rid of this problem (maybe it appeared with other plugins than 
CCW).
In a nutshell, in Eclipse Kepler and below, the Market place was not a good 
citizen as far as registering drag & drop extensions is concerned.

Are you forced to use Kepler, or can you switch to Luna?

Original comment by laurent....@gmail.com on 29 Nov 2014 at 9:41

GoogleCodeExporter commented 9 years ago
Closing this issue. Switching to Luna fixes it. And it's not a blocking issue 
anyway.

Original comment by laurent....@gmail.com on 18 Dec 2014 at 11:55