Marketplace DND Initialization failure after updating Counterclockwise plugin in Kepler

1,296 views
Skip to first unread message

Mark Engelberg

unread,
Mar 14, 2015, 9:03:56 PM3/14/15
to clojured...@googlegroups.com
I just updated my Counterclockwise plugin (it's been a while), and now, every time I start Eclipse, a few seconds later I get an error that there has been a Marketplace DND Initialization failure.  It warns that the SWT error means the workbench is now unstable and that I should restart Eclipse, but if I do that, I just get the same error.

The .log info is below.  This is on Windows 8.

Anyone seen this error?

!ENTRY org.eclipse.ui 4 4 2015-03-14 17:47:40.480
!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:135)
    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:4145)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3762)
    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(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: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)

Luc Prefontaine

unread,
Mar 15, 2015, 7:55:00 AM3/15/15
to clojured...@googlegroups.com
Got this on an older version of Eclipse.

Solved it through an upgrade of Eclipse if my memory is right.

Was unsolvable with the version in place.

Luc P.
> --
> You received this message because you are subscribed to the Google Groups "counterclockwise-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to clojuredev-use...@googlegroups.com.
> To post to this group, send email to clojured...@googlegroups.com.
> Visit this group at http://groups.google.com/group/clojuredev-users.
> For more options, visit https://groups.google.com/d/optout.
>
--
Luc Prefontaine<lprefo...@softaddicts.ca> sent by ibisMail!

Laurent PETIT

unread,
Mar 15, 2015, 8:26:28 AM3/15/15
to clojuredev-users
Indeed, Luc,

The Kepler version of Eclipse ships with a bugged version of the Eclipse Market Place client, which acts as if it were the only possible contributor to drag & drop for file/folder/url drops.

The only solution not involving downgrading the counterclockwise version you're using is to directly jump to Eclipse Luna or Mars and skip Kepler.

The other less than ideal solution, if you are really stuck with Kepler, is to ignore the error, since AFAIK it is harmless, contrary to what the generic message that is popped up implies.

Cheers,

Laurent Petit

Luc Préfontaine

unread,
Mar 15, 2015, 9:55:14 AM3/15/15
to clojured...@googlegroups.com
My situation was a bit different, I wanted to install another plugin and it failed
systematically.

Ignoring the message was not an option :)
Luc

Laurent PETIT

unread,
Mar 15, 2015, 10:12:59 AM3/15/15
to clojured...@googlegroups.com
Oh indeed (Blush)


--
Laurent Petit

Mark Engelberg

unread,
Mar 15, 2015, 3:10:32 PM3/15/15
to clojured...@googlegroups.com
The only reason I use Kepler is because it is the version that is officially recommended on the Counterclockwise Installation directions:
http://doc.ccw-ide.org/documentation.html#_install_counterclockwise

If Kepler is no longer supported, you should change that note and recommend a specific version that is supported.

A related question:
In the past, you said that it was better to install as a plugin for Eclipse rather than the standalone Counterclockwise download because the plugin made it easier to update to new plugins than the standalone.  Is that still the case, or is the standalone now the recommended path for those who don't have any need for Eclipse other than working on Clojure code?




--
You received this message because you are subscribed to a topic in the Google Groups "counterclockwise-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/clojuredev-users/Pm6WgDaSk-g/unsubscribe.
To unsubscribe from this group and all its topics, send an email to clojuredev-use...@googlegroups.com.

Laurent PETIT

unread,
Mar 15, 2015, 4:12:25 PM3/15/15
to clojuredev-users
You're right, the doc is not up to date, my bad.
The recommendation is to use the latest stable version, aka Eclipse Luna SR2.
And earlier Milestone version of Eclipse Mars is also used by many, and seems to be working ok. But it's more being "on the edge", so I'd recommend staying with Eclipse Luna. I'll update the documentation ASAP.

The Standalone version of Counterclockwise enables updating the counterclockwise plugin easily.
What still remains to do is being able to change the underlying Eclipse platform of the Standalone version (for instance start basing it on Eclipse Mars instead of Eclipse Luna) without requiring users to re-download the whole standalone version. So once a year, as is required for Eclipse itself, by the way.

Hope this helps,

Mark Engelberg

unread,
Mar 16, 2015, 12:39:26 AM3/16/15
to clojured...@googlegroups.com
Thanks, that's exactly what I wanted to know.

I'm glad there's a flourishing ecosystem of Clojure IDEs, but Counterclockwise still stands out, in my opinion, as the easiest way to get up and running.  Thanks for your continued efforts,

--Mark
Reply all
Reply to author
Forward
0 new messages