Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Problem on eclipse startup:org.eclipse.swt.SWTError: Cannot initialize Drop(org.eclipse.swt.SWTError: Cannot initialize Drop)
Problem on eclipse startup:org.eclipse.swt.SWTError: Cannot initialize Drop [message #490811] Sun, 11 October 2009 09:14 Go to next message
David  is currently offline David Friend
Messages: 1
Registered: October 2009
Junior Member
Since some days I have trouble when starting eclipse. The startup is discontinued and the log shows following entry:

!SESSION 2009-10-09 19:29:52.741 -----------------------------------------------
eclipse.buildId=I20090611-1540
java.version=1.6.0_16
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
Framework arguments: -product org.eclipse.epp.package.jee.product
Command-line arguments: -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.jee.product

!ENTRY org.eclipse.osgi 4 0 2009-10-09 19:30:14.594
!MESSAGE Application error
!STACK 1
org.eclipse.swt.SWTError: Cannot initialize Drop
at org.eclipse.swt.dnd.DND.error(DND.java:267)
at org.eclipse.swt.dnd.DND.error(DND.java:228)
at org.eclipse.swt.dnd.DropTarget.<init>(DropTarget.java:144)
at org.eclipse.ui.internal.EditorSashContainer.addDropSupport(E ditorSashContainer.java:542)
at org.eclipse.ui.internal.EditorSashContainer.createControl(Ed itorSashContainer.java:534)
at org.eclipse.ui.internal.EditorAreaHelper.<init>(EditorAreaHelper.java:41)
at org.eclipse.ui.internal.WorkbenchPage.init(WorkbenchPage.jav a:2419)
at org.eclipse.ui.internal.WorkbenchPage.<init>(WorkbenchPage.java:564)
at org.eclipse.ui.internal.tweaklets.Workbench3xImplementation. createWorkbenchPage(Workbench3xImplementation.java:39)
at org.eclipse.ui.internal.WorkbenchWindow.busyOpenPage(Workben chWindow.java:757)
at org.eclipse.ui.internal.Workbench$21.runWithException(Workbe nch.java:1045)
at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run (StartupThreading.java:31)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:134)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:3855)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3476)
at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(Work benchAdvisor.java:803)
at org.eclipse.ui.internal.Workbench$28.runWithException(Workbe nch.java:1384)
at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run (StartupThreading.java:31)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:134)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:3855)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3476)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2316)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:22 21)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
at org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:493)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:113)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:194)
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(EclipseS tarter.java:368)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
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: 559)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
at org.eclipse.equinox.launcher.Main.run(Main.java:1311)

I have already read alot of forum messages about
org.eclipse.swt.SWTError: Cannot initialize Drop
but the solutions are some years old (2005 and 2007) and I don't know if they are applicable.

Any idea, what the error is about? Thanks a lot!

David
Re: Problem on eclipse startup:org.eclipse.swt.SWTError: Cannot initialize Drop [message #491245 is a reply to message #490811] Tue, 13 October 2009 18:41 Go to previous messageGo to next message
Grant Gayed is currently offline Grant GayedFriend
Messages: 2150
Registered: July 2009
Senior Member
Hi David,

There's an existing report for this, see
https://bugs.eclipse.org/bugs/show_bug.cgi?id=110166 . If you are able to
reproduce this problem reliably then your comments could be quite helpful
there. You say that the failure began happening a few days ago, and prior
to this it worked fine (?). Did you do anything (eg.- installing the J2EE
tools) that coincided with the failures starting to happen? Does plain
eclipse (no J2EE tools) work fine on this machine? Perhaps it's
locale-related? Are you running any other apps, including apps shown in the
system tray, when these failures occur?

Grant


"David" <dlaurent@freenet.de> wrote in message
news:has7ls$7k0$1@build.eclipse.org...
> Since some days I have trouble when starting eclipse. The startup is
discontinued and the log shows following entry:
>
> !SESSION 2009-10-09
19:29:52.741 -----------------------------------------------
> eclipse.buildId=I20090611-1540
> java.version=1.6.0_16
> java.vendor=Sun Microsystems Inc.
> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
> Framework arguments: -product org.eclipse.epp.package.jee.product
> Command-line arguments: -os win32 -ws win32 -arch x86 -product
org.eclipse.epp.package.jee.product
>
> !ENTRY org.eclipse.osgi 4 0 2009-10-09 19:30:14.594
> !MESSAGE Application error
> !STACK 1
> org.eclipse.swt.SWTError: Cannot initialize Drop
> at org.eclipse.swt.dnd.DND.error(DND.java:267)
> at org.eclipse.swt.dnd.DND.error(DND.java:228)
> at org.eclipse.swt.dnd.DropTarget.<init>(DropTarget.java:144)
> at org.eclipse.ui.internal.EditorSashContainer.addDropSupport(E
ditorSashContainer.java:542)
> at org.eclipse.ui.internal.EditorSashContainer.createControl(Ed
itorSashContainer.java:534)
> at
org.eclipse.ui.internal.EditorAreaHelper.<init>(EditorAreaHelper.java:41)
> at org.eclipse.ui.internal.WorkbenchPage.init(WorkbenchPage.jav a:2419)
> at org.eclipse.ui.internal.WorkbenchPage.<init>(WorkbenchPage.java:564)
> at org.eclipse.ui.internal.tweaklets.Workbench3xImplementation.
createWorkbenchPage(Workbench3xImplementation.java:39)
> at org.eclipse.ui.internal.WorkbenchWindow.busyOpenPage(Workben
chWindow.java:757)
> at org.eclipse.ui.internal.Workbench$21.runWithException(Workbe
nch.java:1045)
> at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run
(StartupThreading.java:31)
> at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
> at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr
onizer.java:134)
> at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:3855)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3476)
> at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(Work
benchAdvisor.java:803)
> at org.eclipse.ui.internal.Workbench$28.runWithException(Workbe
nch.java:1384)
> at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run
(StartupThreading.java:31)
> at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
> at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr
onizer.java:134)
> at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:3855)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3476)
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2316)
> at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:22 21)
> at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault
(Realm.java:332)
> at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work
bench.java:493)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
> at org.eclipse.ui.internal.ide.application.IDEApplication.start
(IDEApplication.java:113)
> at org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips
eAppHandle.java:194)
> 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(EclipseS
tarter.java:368)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS
tarter.java:179)
> 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: 559)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
>
> I have already read alot of forum messages about
> org.eclipse.swt.SWTError: Cannot initialize Drop
> but the solutions are some years old (2005 and 2007) and I don't know if
they are applicable.
>
> Any idea, what the error is about? Thanks a lot!
>
> David
Re: Problem on eclipse startup:org.eclipse.swt.SWTError: Cannot initialize Drop [message #496041 is a reply to message #491245] Sat, 07 November 2009 13:50 Go to previous messageGo to next message
Andreas Reis is currently offline Andreas ReisFriend
Messages: 3
Registered: November 2009
Junior Member
My Windows copy of Eclipse also refuses to start since about a week due to the same error. As I wrote in Bugzilla's Bug 110166 (my error logs can be found there):

"I am having this problem since a couple of days. Running W7x64 RTM, Eclipse 3.5 SR1 (the "for Java EE Developers" package) and Java 6 Update 17 (16 previously).

I had not changed my Eclipse, which ran fine, and Java configuration when the problem started occurring. Running a fresh copy of Eclipse and reinstalling Java changed nothing.

Azureus (aka Vuze) is malfunctioning as well, apparently due to the same bug."

Wiping the workspace did not solve the problem.

[Updated on: Sat, 07 November 2009 13:53]

Report message to a moderator

Re: Problem on eclipse startup:org.eclipse.swt.SWTError: Cannot initialize Drop [message #496046 is a reply to message #496041] Sat, 07 November 2009 14:13 Go to previous messageGo to next message
Andreas Reis is currently offline Andreas ReisFriend
Messages: 3
Registered: November 2009
Junior Member
Running the "for Java Developers" version did not help as well.
Re: Problem on eclipse startup:org.eclipse.swt.SWTError: Cannot initialize Drop [message #496913 is a reply to message #490811] Wed, 11 November 2009 17:50 Go to previous messageGo to next message
Andreas Reis is currently offline Andreas ReisFriend
Messages: 3
Registered: November 2009
Junior Member
Tried the N20091110-2000 builds. The 32-bit crashed with precisely the same error, the 64-bit works fine (for a nightly, that is).
Re: Problem on eclipse startup:org.eclipse.swt.SWTError: Cannot initialize Drop [message #509042 is a reply to message #490811] Thu, 21 January 2010 09:25 Go to previous message
No real name is currently offline No real nameFriend
Messages: 1
Registered: January 2010
Junior Member
Hi All

You can reproduce the bug by following


Change you computer date on the past
start eclipse and it will give you that error on the log file.

One more thing My eclipse was already started, so after date changing I got popup error message saying SWT error, I close Eclipse and try to restarting again and this error happens

Hope that it will help you to reproduce the bug


eclipse version: Rational Software Architect 7.5.5

Salim
Previous Topic:Re: keyboard shortcuts not visible under OS-X
Next Topic:best way to create a tablefolder with lots of button
Goto Forum:
  


Current Time: Tue Apr 23 17:36:13 GMT 2024

Powered by FUDForum. Page generated in 0.03762 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top