Bug 42292 - [win32][DND] "Cannot initialize Drop" when using Eclipse and a Dial-up connection
Summary: [win32][DND] "Cannot initialize Drop" when using Eclipse and a Dial-up connec...
Status: CLOSED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-30 11:57 EDT by denis CLA
Modified: 2017-07-13 06:31 EDT (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description denis CLA 2003-08-30 11:57:43 EDT
Runned an Eclipse-based application from within the Eclipse platform. Our app 
connects to the net. I was using a Diap-up connection. After some time I got an 
error from Eclipse suggesting to exit the workbench. The .log in .metadata 
contains the lines below.
Note: Our app also uses bridge2java. We experienced initialisation problems 
when using bridge2java together with SWT that got solved by initializing 
bridge2java in a separate thread.

!SESSION Aug 30, 2003 17:30:56.517 ---------------------------------------------
java.version=1.3.1_01
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_IE
Command-line arguments: -os win32 -ws win32 -arch x86 -install file:C:/Program 
Files/eclipse_3.0/
!ENTRY org.eclipse.ui 4 4 Aug 30, 2003 17:30:56.517
!MESSAGE Unhandled exception caught in event loop.
!ENTRY org.eclipse.ui 4 0 Aug 30, 2003 17:30:56.587
!MESSAGE Cannot initialize Drop
!STACK 0
org.eclipse.swt.SWTError: Cannot initialize Drop
	at org.eclipse.swt.dnd.DND.error(DND.java:220)
	at org.eclipse.swt.dnd.DND.error(DND.java:181)
	at org.eclipse.swt.dnd.DropTarget.<init>(DropTarget.java:133)
	at org.eclipse.jface.viewers.StructuredViewer.addDropSupport
(StructuredViewer.java:193)
	at 
org.eclipse.jdt.internal.ui.javaeditor.JavaOutlinePage.initDragAndDrop
(JavaOutlinePage.java:1211)
	at org.eclipse.jdt.internal.ui.javaeditor.JavaOutlinePage.createControl
(JavaOutlinePage.java:925)
	at org.eclipse.ui.views.contentoutline.ContentOutline.doCreatePage
(ContentOutline.java:125)
	at org.eclipse.ui.part.PageBookView.createPage(PageBookView.java:306)
	at org.eclipse.ui.part.PageBookView.partActivated(PageBookView.java:561)
	at org.eclipse.ui.internal.PartListenerList$1.run
(PartListenerList.java:49)
	at org.eclipse.core.internal.runtime.InternalPlatform.run
(InternalPlatform.java:1015)
	at org.eclipse.core.runtime.Platform.run(Platform.java:420)
	at org.eclipse.ui.internal.PartListenerList.firePartActivated
(PartListenerList.java:47)
	at org.eclipse.ui.internal.WorkbenchPage.firePartActivated
(WorkbenchPage.java:1203)
	at org.eclipse.ui.internal.WorkbenchPage.setActivePart
(WorkbenchPage.java:2510)
	at org.eclipse.ui.internal.WorkbenchPage.activate
(WorkbenchPage.java:428)
	at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor
(WorkbenchPage.java:2086)
	at org.eclipse.ui.internal.WorkbenchPage.access$6
(WorkbenchPage.java:2019)
	at org.eclipse.ui.internal.WorkbenchPage$9.run(WorkbenchPage.java:2006)
	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:84)
	at org.eclipse.ui.internal.WorkbenchPage.openEditor
(WorkbenchPage.java:2001)
	at org.eclipse.ui.internal.WorkbenchPage.openEditor
(WorkbenchPage.java:1902)
	at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor
(EditorUtility.java:133)
	at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor
(EditorUtility.java:111)
	at org.eclipse.jdt.internal.ui.actions.OpenActionUtil.open
(OpenActionUtil.java:47)
	at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:158)
	at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:147)
	at org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchRun
(SelectionDispatchAction.java:194)
	at org.eclipse.jdt.ui.actions.SelectionDispatchAction.run
(SelectionDispatchAction.java:172)
	at 
org.eclipse.jdt.internal.ui.packageview.PackageExplorerActionGroup.handleOpen
(PackageExplorerActionGroup.java:325)
	at org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart$5.open
(PackageExplorerPart.java:323)
	at org.eclipse.jface.viewers.StructuredViewer$2.run
(StructuredViewer.java:392)
	at org.eclipse.core.internal.runtime.InternalPlatform.run
(InternalPlatform.java:1015)
	at org.eclipse.core.runtime.Platform.run(Platform.java:420)
	at org.eclipse.jface.viewers.StructuredViewer.fireOpen
(StructuredViewer.java:390)
	at org.eclipse.jface.viewers.StructuredViewer.handleOpen
(StructuredViewer.java:600)
	at org.eclipse.jface.viewers.StructuredViewer$6.handleOpen
(StructuredViewer.java:689)
	at org.eclipse.jface.util.OpenStrategy.fireOpenEvent
(OpenStrategy.java:209)
	at org.eclipse.jface.util.OpenStrategy.access$2(OpenStrategy.java:204)
	at org.eclipse.jface.util.OpenStrategy$1.handleEvent
(OpenStrategy.java:233)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:848)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2188)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1878)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1680)
	at org.eclipse.ui.internal.Workbench.run(Workbench.java:1663)
	at org.eclipse.core.internal.boot.InternalBootLoader.run
(InternalBootLoader.java:858)
	at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
	at java.lang.reflect.Method.invoke(Native Method)
	at org.eclipse.core.launcher.Main.basicRun(Main.java:291)
	at org.eclipse.core.launcher.Main.run(Main.java:747)
	at org.eclipse.core.launcher.Main.main(Main.java:583)
Comment 1 Veronika Irvine CLA 2003-09-02 09:34:49 EDT
Can you provide a simple plugin that shows the problem?

Error is occurring in call to CoLockObjectExternal - "The CoLockObjectExternal 
function must be called in the process in which the object actually resides -
MSDN".
Comment 2 Veronika Irvine CLA 2004-05-26 14:36:38 EDT
Have not made progress with this problem because unable to reproduce it.
Comment 3 Clara MUI CLA 2004-10-14 21:51:52 EDT
when i plugged in another module which uses a third-party package to 
convert .dll to .jar, i got the following error message

!ENTRY org.eclipse.osgi Oct 14, 2004 18:39:52.161
!MESSAGE Application error
!STACK 1
org.eclipse.swt.SWTError: Cannot initialize Drop
	at org.eclipse.swt.dnd.DND.error(DND.java:220)
	at org.eclipse.swt.dnd.DND.error(DND.java:181)
	at org.eclipse.swt.dnd.DropTarget.<init>(DropTarget.java:135)
	at org.eclipse.ui.internal.EditorSashContainer.addDropSupport
(EditorSashContainer.java:388)
	at org.eclipse.ui.internal.EditorSashContainer.createControl
(EditorSashContainer.java:382)
	at org.eclipse.ui.internal.EditorAreaHelper.<init>
(EditorAreaHelper.java:47)
	at org.eclipse.ui.internal.WorkbenchPage.init(WorkbenchPage.java:1933)
	at org.eclipse.ui.internal.WorkbenchPage.<init>(WorkbenchPage.java:430)
	at org.eclipse.ui.internal.WorkbenchWindow.restoreState
(WorkbenchWindow.java:1371)
	at org.eclipse.ui.internal.Workbench.restoreState(Workbench.java:1224)
	at org.eclipse.ui.internal.Workbench.access$10(Workbench.java:1185)
	at org.eclipse.ui.internal.Workbench$13.run(Workbench.java:1096)
	at org.eclipse.core.internal.runtime.InternalPlatform.run
(InternalPlatform.java:616)
	at org.eclipse.core.runtime.Platform.run(Platform.java:747)
	at org.eclipse.ui.internal.Workbench.restoreState(Workbench.java:1029)
	at org.eclipse.ui.internal.WorkbenchConfigurer.restoreState
(WorkbenchConfigurer.java:167)
	at org.eclipse.ui.application.WorkbenchAdvisor.openWindows
(WorkbenchAdvisor.java:652)
	at org.eclipse.ui.internal.Workbench.init(Workbench.java:819)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1325)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench
(Workbench.java:254)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:141)
	at test.rcp.RcpApplication.run(RcpApplication.java:14)
	at org.eclipse.core.internal.runtime.PlatformActivator$1.run
(PlatformActivator.java:335)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run
(EclipseStarter.java:273)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run
(EclipseStarter.java:129)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:324)
	at org.eclipse.core.launcher.Main.basicRun(Main.java:185)
	at org.eclipse.core.launcher.Main.run(Main.java:704)
	at org.eclipse.core.launcher.Main.main(Main.java:688)
Comment 4 Eugene Ostroukhov CLA 2004-11-22 09:53:07 EST
Our application (RCP 3.0 based) runs perfectly on a Windows XP and Linux GTK 
but when we ran it on a Windows 2000 Terminal SP2 we received the following 
exception:
!SESSION Nov 22, 2004 08:44:27.02 ---------------------------------------------
-
eclipse.buildId=unknown
java.version=1.4.2_05
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US

!ENTRY org.eclipse.osgi Nov 22, 2004 08:44:27.02
!MESSAGE Application error
!STACK 1
org.eclipse.swt.SWTError: Cannot initialize Drop
	at org.eclipse.swt.dnd.DND.error(DND.java:220)
	at org.eclipse.swt.dnd.DND.error(DND.java:181)
	at org.eclipse.swt.dnd.DropTarget.<init>(DropTarget.java:133)
	at org.eclipse.ui.internal.EditorSashContainer.addDropSupport
(EditorSashContainer.java:388)
	at org.eclipse.ui.internal.EditorSashContainer.createControl
(EditorSashContainer.java:382)
	at org.eclipse.ui.internal.EditorAreaHelper.<init>
(EditorAreaHelper.java:47)
	at org.eclipse.ui.internal.WorkbenchPage.init(WorkbenchPage.java:1890)
	at org.eclipse.ui.internal.WorkbenchPage.<init>(WorkbenchPage.java:430)
	at org.eclipse.ui.internal.WorkbenchWindow.restoreState
(WorkbenchWindow.java:1371)
	at org.eclipse.ui.internal.Workbench.restoreState(Workbench.java:1224)
	at org.eclipse.ui.internal.Workbench.access$10(Workbench.java:1185)
	at org.eclipse.ui.internal.Workbench$13.run(Workbench.java:1096)
	at org.eclipse.core.internal.runtime.InternalPlatform.run
(InternalPlatform.java:615)
	at org.eclipse.core.runtime.Platform.run(Platform.java:747)
	at org.eclipse.ui.internal.Workbench.restoreState(Workbench.java:1029)
	at org.eclipse.ui.internal.WorkbenchConfigurer.restoreState
(WorkbenchConfigurer.java:167)
	at org.eclipse.ui.application.WorkbenchAdvisor.openWindows
(WorkbenchAdvisor.java:652)
	at org.eclipse.ui.internal.Workbench.init(Workbench.java:819)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1325)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench
(Workbench.java:254)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:141)
	at 
com.offshorecreations.reporteditor.application.ReportEditorApplication.run
(ReportEditorApplication.java:106)
	at org.eclipse.core.internal.runtime.PlatformActivator$1.run
(PlatformActivator.java:335)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run
(EclipseStarter.java:273)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run
(EclipseStarter.java:129)
	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.core.launcher.Main.basicRun(Main.java:183)
	at org.eclipse.core.launcher.Main.run(Main.java:644)
	at org.eclipse.core.launcher.Main.main(Main.java:628)
Comment 5 Niraj Modi CLA 2017-07-13 06:31:18 EDT
(In reply to Eugene Ostroukhov from comment #4)
> Our application (RCP 3.0 based) runs perfectly on a Windows XP and Linux GTK 
> but when we ran it on a Windows 2000 Terminal SP2 we received the following 
> exception:
Closing, as Win2000 is no longer a supported OS platform.
You can reopen this bug if it still happens with any of the current supported platforms with valid steps to reproduce this issue.