Problem on eclipse startup:org.eclipse.swt.SWTError: Cannot initialize Drop [message #490811] |
Sun, 11 October 2009 05:14  |
Eclipse User |
|
|
|
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 14:41   |
Eclipse User |
|
|
|
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 #509042 is a reply to message #490811] |
Thu, 21 January 2010 04:25  |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.32738 seconds