Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » Bug with WTP 2.0 M4 vs. Eclipse 3.3M5?
Bug with WTP 2.0 M4 vs. Eclipse 3.3M5? [message #187885] Sun, 11 February 2007 17:58 Go to next message
Eclipse UserFriend
Originally posted by: konigsberg-at-g-m.ail-ddooott.com

Hi,

This seems to be a serious bug when using WTP 2.0 M4 with Eclipse 3.3M5 (and
nothing else). I have no other plugins installed other than those two, and
the list of dependencies that go with WTP 2.0M4

I created a new JSP file*. When Eclipse tries to display the file, I get the
internal error listed at the end of this message. You may be aware of it,
you may not. Shall I report this as a bug?

* The exact same thing is happening with HTML files as well.


--
"An SWT error has occured. You are recommended to exit the workbench"...

Here are the contents of the error from the Error Log view:
Message: Unhandled event loop exception
Session Data: eclipse.buildId=I20070209-1006
java.version=1.5.0_08
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Framework arguments: -launcher
C:\apps\eclipse\versions\eclipse-SDK-3.3M5-win32\eclipse\ecl ipse.exe -name
Eclipse -startup
C:\apps\eclipse\versions\eclipse-SDK-3.3M5-win32\eclipse\plu gins\org.eclipse.equinox.launcher_1.0.0.v20070208a.jar
C:\apps\eclipse\versions\eclipse-SDK-3.3M5-win32\eclipse\ecl ipse.exe
C:\apps\eclipse\versions\eclipse-SDK-3.3M5-win32\eclipse\ecl ipse.exe
Command-line arguments: -os win32 -ws win32 -arch x86 -launcher
C:\apps\eclipse\versions\eclipse-SDK-3.3M5-win32\eclipse\ecl ipse.exe -name
Eclipse -startup
C:\apps\eclipse\versions\eclipse-SDK-3.3M5-win32\eclipse\plu gins\org.eclipse.equinox.launcher_1.0.0.v20070208a.jar
C:\apps\eclipse\versions\eclipse-SDK-3.3M5-win32\eclipse\ecl ipse.exe
C:\apps\eclipse\versions\eclipse-SDK-3.3M5-win32\eclipse\ecl ipse.exe

Exception Stack Trace:

org.eclipse.swt.SWTError: Cannot initialize Drop
at org.eclipse.swt.dnd.DND.error(DND.java:247)
at org.eclipse.swt.dnd.DND.error(DND.java:208)
at org.eclipse.swt.dnd.DropTarget.<init>(DropTarget.java:130)
at
org.eclipse.ui.internal.EditorSiteDragAndDropServiceImpl$Mer gedDropTarget. <init>(EditorSiteDragAndDropServiceImpl.java:70)
at
org.eclipse.ui.internal.EditorSiteDragAndDropServiceImpl.add MergedDropTarget(EditorSiteDragAndDropServiceImpl.java:157)
at
org.eclipse.ui.texteditor.AbstractTextEditor.installTextDrag AndDrop(AbstractTextEditor.java:3196)
at
org.eclipse.ui.texteditor.AbstractTextEditor.initializeDragA ndDrop(AbstractTextEditor.java:2821)
at
org.eclipse.ui.texteditor.AbstractTextEditor.createPartContr ol(AbstractTextEditor.java:2899)
at
org.eclipse.ui.texteditor.StatusTextEditor.createPartControl (StatusTextEditor.java:53)
at
org.eclipse.ui.texteditor.AbstractDecoratedTextEditor.create PartControl(AbstractDecoratedTextEditor.java:373)
at
org.eclipse.wst.sse.ui.StructuredTextEditor.createPartContro l(StructuredTextEditor.java:1771)
at
org.eclipse.ui.internal.EditorReference.createPartHelper(Edi torReference.java:662)
at
org.eclipse.ui.internal.EditorReference.createPart(EditorRef erence.java:421)
at
org.eclipse.ui.internal.WorkbenchPartReference.getPart(Workb enchPartReference.java:586)
at
org.eclipse.ui.internal.EditorReference.getEditor(EditorRefe rence.java:257)
at
org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched( WorkbenchPage.java:2598)
at
org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(Workben chPage.java:2524)
at org.eclipse.ui.internal.WorkbenchPage.access$12(WorkbenchPag e.java:2516)
at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.j ava:2501)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:67)
at
org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPa ge.java:2496)
at
org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPa ge.java:2480)
at org.eclipse.ui.actions.OpenWithMenu.openEditor(OpenWithMenu. java:334)
at org.eclipse.ui.actions.OpenWithMenu.access$0(OpenWithMenu.ja va:326)
at org.eclipse.ui.actions.OpenWithMenu$2.handleEvent(OpenWithMe nu.java:190)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3490)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3104)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2264)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2228)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:21 03)
at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:457)
at
org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:289)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:452)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
at
org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:101)
at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:146)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:106)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:76)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:354)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:169)
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: 476)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:416)
at org.eclipse.equinox.launcher.Main.run(Main.java:1124)
Re: Bug with WTP 2.0 M4 vs. Eclipse 3.3M5? [message #187894 is a reply to message #187885] Mon, 12 February 2007 11:02 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: joerg.von.frantzius.artnology.com

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
I'm getting a similar error for the XML editor on Linux GTK2 86_64:
<blockquote><tt>org.eclipse.swt.SWTError: Cannot initialize Drop<br>
&nbsp;&nbsp;&nbsp; at org.eclipse.swt.dnd.DND.error(DND.java:247)<br>
&nbsp;&nbsp;&nbsp; at org.eclipse.swt.dnd.DND.error(DND.java:208)<br>
&nbsp;&nbsp;&nbsp; at org.eclipse.swt.dnd.DropTarget.&lt;init&gt;(DropTarg et.java:153) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.ui.internal.EditorSiteDragAndDropServiceImpl$Mer gedDropTarget.&lt;init&gt;(EditorSiteDragAndDropServ iceImpl.java:70) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.ui.internal.EditorSiteDragAndDropServiceImpl.add MergedDropTarget(EditorSiteDragAndDropServiceImpl.java:157) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.ui.texteditor.AbstractTextEditor.installTextDrag AndDrop(AbstractTextEditor.java:3196) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.ui.texteditor.AbstractTextEditor.initializeDragA ndDrop(AbstractTextEditor.java:2821) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.ui.texteditor.AbstractTextEditor.createPartContr ol(AbstractTextEditor.java:2899) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.ui.texteditor.StatusTextEditor.createPartControl (StatusTextEditor.java:53) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.ui.texteditor.AbstractDecoratedTextEditor.create PartControl(AbstractDecoratedTextEditor.java:373) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.wst.sse.ui.StructuredTextEditor.createPartContro l(StructuredTextEditor.java:1771) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.ui.part.MultiPageEditorPart.addPage(MultiPageEdi torPart.java:185) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.ui.part.MultiPageEditorPart.addPage(MultiPageEdi torPart.java:155) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.wst.xml.ui.internal.tabletree.XMLMultiPageEditor Part.addSourcePage(XMLMultiPageEditorPart.java:336) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.wst.xml.ui.internal.tabletree.XMLMultiPageEditor Part.createPages(XMLMultiPageEditorPart.java:507) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.ui.part.MultiPageEditorPart.createPartControl(Mu ltiPageEditorPart.java:278) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.ui.internal.EditorReference.createPartHelper(Edi torReference.java:662) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.ui.internal.EditorReference.createPart(EditorRef erence.java:421) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.ui.internal.WorkbenchPartReference.getPart(Workb enchPartReference.java:586) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.ui.internal.EditorReference.getEditor(EditorRefe rence.java:257) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched( WorkbenchPage.java:2598) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(Workben chPage.java:2524) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.ui.internal.WorkbenchPage.access$12(WorkbenchPag e.java:2516) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.j ava:2501) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:67) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPa ge.java:2496) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPa ge.java:2480) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPa ge.java:2471) <br>
&nbsp;&nbsp;&nbsp; at org.eclipse.ui.ide.IDE.openEditor(IDE.java:638)<br>
&nbsp;&nbsp;&nbsp; at org.eclipse.ui.ide.IDE.openEditor(IDE.java:597)<br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.ui.internal.ide.handlers.OpenResourceHandler.exe cute(OpenResourceHandler.java:124) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.ui.internal.ide.handlers.OpenResourceHandler.run (OpenResourceHandler.java:176) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.ui.internal.handlers.ActionDelegateHandlerProxy. execute(ActionDelegateHandlerProxy.java:267) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.core.commands.Command.executeWithChecks(Command. java:471) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.core.commands.ParameterizedCommand.executeWithCh ecks(ParameterizedCommand.java:424) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.ui.internal.handlers.HandlerService.executeComma nd(HandlerService.java:160) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.ui.internal.keys.WorkbenchKeyboard.executeComman d(WorkbenchKeyboard.java:467) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.ui.internal.keys.WorkbenchKeyboard.press(Workben chKeyboard.java:791) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.ui.internal.keys.WorkbenchKeyboard.processKeyEve nt(WorkbenchKeyboard.java:838) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.ui.internal.keys.WorkbenchKeyboard.filterKeySequ enceBindings(WorkbenchKeyboard.java:565) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.ui.internal.keys.WorkbenchKeyboard.access$3(Work benchKeyboard.java:507) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.ui.internal.keys.WorkbenchKeyboard$KeyDownFilter .handleEvent(WorkbenchKeyboard.java:124) <br>
&nbsp;&nbsp;&nbsp; at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66) <br>
&nbsp;&nbsp;&nbsp; at org.eclipse.swt.widgets.Display.filterEvent(Display.java:138 6) <br>
&nbsp;&nbsp;&nbsp; at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1096)<br >
&nbsp;&nbsp;&nbsp; at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1121)<br >
&nbsp;&nbsp;&nbsp; at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1106)<br >
&nbsp;&nbsp;&nbsp; at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1133 ) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.swt.widgets.Widget.gtk_key_press_event(Widget.ja va:663) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.swt.widgets.Control.gtk_key_press_event(Control. java:2212) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.swt.widgets.Composite.gtk_key_press_event(Compos ite.java:670) <br>
&nbsp;&nbsp;&nbsp; at org.eclipse.swt.widgets.Widget.windowProc(Widget.java:1478)<br >
&nbsp;&nbsp;&nbsp; at org.eclipse.swt.widgets.Control.windowProc(Control.java:3879 ) <br>
&nbsp;&nbsp;&nbsp; at org.eclipse.swt.widgets.Display.windowProc(Display.java:3870 ) <br>
&nbsp;&nbsp;&nbsp; at org.eclipse.swt.internal.gtk.OS._gtk_main_do_event(Native Method)<br>
&nbsp;&nbsp;&nbsp; at org.eclipse.swt.internal.gtk.OS.gtk_main_do_event(OS.java:55 74) <br>
&nbsp;&nbsp;&nbsp; at org.eclipse.swt.widgets.Display.eventProc(Display.java:1155) <br>
&nbsp;&nbsp;&nbsp; at org.eclipse.swt.internal.gtk.OS._g_main_context_iteration(Na tive
Method)<br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.swt.internal.gtk.OS.g_main_context_iteration(OS. java:1468) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2903) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2264) <br>
&nbsp;&nbsp;&nbsp; at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2228) <br>
&nbsp;&nbsp;&nbsp; at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:21 03) <br>
&nbsp;&nbsp;&nbsp; at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:457)<br >
&nbsp;&nbsp;&nbsp; at
org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:289) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:452) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:101) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:146) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:106) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:76) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:354) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:169) <br>
&nbsp;&nbsp;&nbsp; at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br>
&nbsp;&nbsp;&nbsp; at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39) <br>
&nbsp;&nbsp;&nbsp; at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25) <br>
&nbsp;&nbsp;&nbsp; at java.lang.reflect.Method.invoke(Method.java:585)<br>
&nbsp;&nbsp;&nbsp; at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 476) <br>
&nbsp;&nbsp;&nbsp; at org.eclipse.equinox.launcher.Main.basicRun(Main.java:416)<br >
&nbsp;&nbsp;&nbsp; at org.eclipse.equinox.launcher.Main.run(Main.java:1124)<br>
&nbsp;&nbsp;&nbsp; at org.eclipse.equinox.launcher.Main.main(Main.java:1099)</tt> <br>
</blockquote>
<br>
Robert Konigsberg wrote:
<blockquote cite="mid:eqnlgj$oi6$1@utils.eclipse.org" type="cite">
<pre wrap="">Hi,

This seems to be a serious bug when using WTP 2.0 M4 with Eclipse 3.3M5 (and
nothing else). I have no other plugins installed other than those two, and
the list of dependencies that go with WTP 2.0M4

I created a new JSP file*. When Eclipse tries to display the file, I get the
internal error listed at the end of this message. You may be aware of it,
you may not. Shall I report this as a bug?

* The exact same thing is happening with HTML files as well.


--
"An SWT error has occured. You are recommended to exit the workbench"...

Here are the contents of the error from the Error Log view:
Message: Unhandled event loop exception
Session Data: eclipse.buildId=I20070209-1006
java.version=1.5.0_08
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Framework arguments: -launcher
C:\apps\eclipse\versions\eclipse-SDK-3.3M5-win32\eclipse\ecl ipse.exe -name
Eclipse -startup
C:\apps\eclipse\versions\eclipse-SDK-3.3M5-win32\eclipse\plu gins\org.eclipse.equinox.launcher_1.0.0.v20070208a.jar
C:\apps\eclipse\versions\eclipse-SDK-3.3M5-win32\eclipse\ecl ipse.exe
C:\apps\eclipse\versions\eclipse-SDK-3.3M5-win32\eclipse\ecl ipse.exe
Command-line arguments: -os win32 -ws win32 -arch x86 -launcher
C:\apps\eclipse\versions\eclipse-SDK-3.3M5-win32\eclipse\ecl ipse.exe -name
Eclipse -startup
C:\apps\eclipse\versions\eclipse-SDK-3.3M5-win32\eclipse\plu gins\org.eclipse.equinox.launcher_1.0.0.v20070208a.jar
C:\apps\eclipse\versions\eclipse-SDK-3.3M5-win32\eclipse\ecl ipse.exe
C:\apps\eclipse\versions\eclipse-SDK-3.3M5-win32\eclipse\ecl ipse.exe

Exception Stack Trace:

org.eclipse.swt.SWTError: Cannot initialize Drop
at org.eclipse.swt.dnd.DND.error(DND.java:247)
at org.eclipse.swt.dnd.DND.error(DND.java:208)
at org.eclipse.swt.dnd.DropTarget.&lt;init&gt;(DropTarg et.java:130)
at
org.eclipse.ui.internal.EditorSiteDragAndDropServiceImpl$Mer gedDropTarget.&lt;init&gt;(EditorSiteDragAndDropServ iceImpl.java:70)
at
org.eclipse.ui.internal.EditorSiteDragAndDropServiceImpl.add MergedDropTarget(EditorSiteDragAndDropServiceImpl.java:157)
at
org.eclipse.ui.texteditor.AbstractTextEditor.installTextDrag AndDrop(AbstractTextEditor.java:3196)
at
org.eclipse.ui.texteditor.AbstractTextEditor.initializeDragA ndDrop(AbstractTextEditor.java:2821)
at
org.eclipse.ui.texteditor.AbstractTextEditor.createPartContr ol(AbstractTextEditor.java:2899)
at
org.eclipse.ui.texteditor.StatusTextEditor.createPartControl (StatusTextEditor.java:53)
at
org.eclipse.ui.texteditor.AbstractDecoratedTextEditor.create PartControl(AbstractDecoratedTextEditor.java:373)
at
org.eclipse.wst.sse.ui.StructuredTextEditor.createPartContro l(StructuredTextEditor.java:1771)
at
org.eclipse.ui.internal.EditorReference.createPartHelper(Edi torReference.java:662)
at
org.eclipse.ui.internal.EditorReference.createPart(EditorRef erence.java:421)
at
org.eclipse.ui.internal.WorkbenchPartReference.getPart(Workb enchPartReference.java:586)
at
org.eclipse.ui.internal.EditorReference.getEditor(EditorRefe rence.java:257)
at
org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched( WorkbenchPage.java:2598)
at
org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(Workben chPage.java:2524)
at org.eclipse.ui.internal.WorkbenchPage.access$12(WorkbenchPag e.java:2516)
at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.j ava:2501)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:67)
at
org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPa ge.java:2496)
at
org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPa ge.java:2480)
at org.eclipse.ui.actions.OpenWithMenu.openEditor(OpenWithMenu. java:334)
at org.eclipse.ui.actions.OpenWithMenu.access$0(OpenWithMenu.ja va:326)
at org.eclipse.ui.actions.OpenWithMenu$2.handleEvent(OpenWithMe nu.java:190)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3490)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3104)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2264)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2228)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:21 03)
at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:457)
at
org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:289)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:452)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
at
org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:101)
at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:146)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:106)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:76)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:354)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:169)
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: 476)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:416)
at org.eclipse.equinox.launcher.Main.run(Main.java:1124)


</pre>
</blockquote>
<br>
</body>
</html>
Re: Bug with WTP 2.0 M4 vs. Eclipse 3.3M5? [message #187902 is a reply to message #187885] Mon, 12 February 2007 11:43 Go to previous messageGo to next message
Aleksander Bandelj is currently offline Aleksander BandeljFriend
Messages: 98
Registered: July 2009
Member
You can disable drag and drop in text editors preferences as a
workaround. It seems that this new feature in M5 breaks WTP (WTP builds
are against 3.3M4 ATM).

Robert Konigsberg wrote:
> Hi,
>
> This seems to be a serious bug when using WTP 2.0 M4 with Eclipse 3.3M5 (and
> nothing else). I have no other plugins installed other than those two, and
> the list of dependencies that go with WTP 2.0M4
>
> I created a new JSP file*. When Eclipse tries to display the file, I get the
> internal error listed at the end of this message. You may be aware of it,
> you may not. Shall I report this as a bug?
>
> * The exact same thing is happening with HTML files as well.
>
>
> --
> "An SWT error has occured. You are recommended to exit the workbench"...
>
> Here are the contents of the error from the Error Log view:
> Message: Unhandled event loop exception
> Session Data: eclipse.buildId=I20070209-1006
> java.version=1.5.0_08
> java.vendor=Sun Microsystems Inc.
> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
> Framework arguments: -launcher
> C:\apps\eclipse\versions\eclipse-SDK-3.3M5-win32\eclipse\ecl ipse.exe -name
> Eclipse -startup
> C:\apps\eclipse\versions\eclipse-SDK-3.3M5-win32\eclipse\plu gins\org.eclipse.equinox.launcher_1.0.0.v20070208a.jar
> C:\apps\eclipse\versions\eclipse-SDK-3.3M5-win32\eclipse\ecl ipse.exe
> C:\apps\eclipse\versions\eclipse-SDK-3.3M5-win32\eclipse\ecl ipse.exe
> Command-line arguments: -os win32 -ws win32 -arch x86 -launcher
> C:\apps\eclipse\versions\eclipse-SDK-3.3M5-win32\eclipse\ecl ipse.exe -name
> Eclipse -startup
> C:\apps\eclipse\versions\eclipse-SDK-3.3M5-win32\eclipse\plu gins\org.eclipse.equinox.launcher_1.0.0.v20070208a.jar
> C:\apps\eclipse\versions\eclipse-SDK-3.3M5-win32\eclipse\ecl ipse.exe
> C:\apps\eclipse\versions\eclipse-SDK-3.3M5-win32\eclipse\ecl ipse.exe
>
> Exception Stack Trace:
>
> org.eclipse.swt.SWTError: Cannot initialize Drop
> at org.eclipse.swt.dnd.DND.error(DND.java:247)
> at org.eclipse.swt.dnd.DND.error(DND.java:208)
> at org.eclipse.swt.dnd.DropTarget.<init>(DropTarget.java:130)
> at
> org.eclipse.ui.internal.EditorSiteDragAndDropServiceImpl$Mer gedDropTarget. <init>(EditorSiteDragAndDropServiceImpl.java:70)
> at
> org.eclipse.ui.internal.EditorSiteDragAndDropServiceImpl.add MergedDropTarget(EditorSiteDragAndDropServiceImpl.java:157)
> at
> org.eclipse.ui.texteditor.AbstractTextEditor.installTextDrag AndDrop(AbstractTextEditor.java:3196)
> at
> org.eclipse.ui.texteditor.AbstractTextEditor.initializeDragA ndDrop(AbstractTextEditor.java:2821)
> at
> org.eclipse.ui.texteditor.AbstractTextEditor.createPartContr ol(AbstractTextEditor.java:2899)
> at
> org.eclipse.ui.texteditor.StatusTextEditor.createPartControl (StatusTextEditor.java:53)
> at
> org.eclipse.ui.texteditor.AbstractDecoratedTextEditor.create PartControl(AbstractDecoratedTextEditor.java:373)
> at
> org.eclipse.wst.sse.ui.StructuredTextEditor.createPartContro l(StructuredTextEditor.java:1771)
> at
> org.eclipse.ui.internal.EditorReference.createPartHelper(Edi torReference.java:662)
> at
> org.eclipse.ui.internal.EditorReference.createPart(EditorRef erence.java:421)
> at
> org.eclipse.ui.internal.WorkbenchPartReference.getPart(Workb enchPartReference.java:586)
> at
> org.eclipse.ui.internal.EditorReference.getEditor(EditorRefe rence.java:257)
> at
> org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched( WorkbenchPage.java:2598)
> at
> org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(Workben chPage.java:2524)
> at org.eclipse.ui.internal.WorkbenchPage.access$12(WorkbenchPag e.java:2516)
> at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.j ava:2501)
> at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:67)
> at
> org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPa ge.java:2496)
> at
> org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPa ge.java:2480)
> at org.eclipse.ui.actions.OpenWithMenu.openEditor(OpenWithMenu. java:334)
> at org.eclipse.ui.actions.OpenWithMenu.access$0(OpenWithMenu.ja va:326)
> at org.eclipse.ui.actions.OpenWithMenu$2.handleEvent(OpenWithMe nu.java:190)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3490)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3104)
> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2264)
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2228)
> at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:21 03)
> at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:457)
> at
> org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:289)
> at
> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:452)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
> at
> org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:101)
> at
> org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:146)
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:106)
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:76)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:354)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:169)
> 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: 476)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:416)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1124)
>
>
>
Re: Bug with WTP 2.0 M4 vs. Eclipse 3.3M5? [message #187933 is a reply to message #187902] Mon, 12 February 2007 18:06 Go to previous message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 4435
Registered: July 2009
Senior Member

Aleksander Bandelj wrote:
> You can disable drag and drop in text editors preferences as a
> workaround. It seems that this new feature in M5 breaks WTP (WTP builds
> are against 3.3M4 ATM).
>

We're also working to fix it in time for our own M5.

https://bugs.eclipse.org/bugs/show_bug.cgi?id=173405

--
Nitin Dahyabhai
Structured Source Editor


_
Nitin Dahyabhai
Eclipse Web Tools Platform
Previous Topic:Getting Project from JSP editor
Next Topic:Problems registering WebSphere Community Edition with Eclipse 3.3
Goto Forum:
  


Current Time: Fri Apr 26 17:51:26 GMT 2024

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

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

Back to the top