Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 45653 - Can't open office documents inside Eclipse
Summary: Can't open office documents inside Eclipse
Status: RESOLVED DUPLICATE of bug 21148
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-28 05:59 EST by Eric Jain CLA
Modified: 2003-10-28 10:08 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Jain CLA 2003-10-28 05:59:05 EST
Opening an Excel document inside Eclipse M4 produces a new but empty editor. No 
context menu, special toolbars or menu items are displayed. The editor does 
display an Excel icon in its tab. Word documents fail to open, see below. 
Office 2002 Pro is installed.

org.eclipse.swt.SWTException: Failed to find requested interface on OLE Object. 
result = -2147467262
at org.eclipse.swt.ole.win32.OLE.error(OLE.java:312)
at org.eclipse.swt.ole.win32.OleClientSite.addObjectReferences
(OleClientSite.java:406)
at org.eclipse.swt.ole.win32.OleClientSite.<init>(OleClientSite.java:195)
at org.eclipse.ui.internal.editorsupport.win32.OleEditor.createClientSite
(OleEditor.java:227)
at org.eclipse.ui.internal.editorsupport.win32.OleEditor.createPartControl
(OleEditor.java:215)
at org.eclipse.ui.internal.PartPane$4.run(PartPane.java:141)
at org.eclipse.core.internal.runtime.InternalPlatform.run
(InternalPlatform.java:1018)
at org.eclipse.core.runtime.Platform.run(Platform.java:461)
at org.eclipse.ui.internal.PartPane.createChildControl(PartPane.java:137)
at org.eclipse.ui.internal.PartPane.createControl(PartPane.java:186)
at org.eclipse.ui.internal.EditorWorkbook.createPage(EditorWorkbook.java:404)
at org.eclipse.ui.internal.EditorWorkbook.add(EditorWorkbook.java:123)
at org.eclipse.ui.internal.EditorArea.addEditor(EditorArea.java:55)
at org.eclipse.ui.internal.EditorPresentation.openEditor
(EditorPresentation.java:351)
at org.eclipse.ui.internal.EditorManager$2.run(EditorManager.java:585)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:84)
at org.eclipse.ui.internal.EditorManager.createEditorTab(EditorManager.java:574)
at org.eclipse.ui.internal.EditorManager.openEditorFromInput
(EditorManager.java:341)
at org.eclipse.ui.internal.EditorManager.openEditor(EditorManager.java:424)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2081)
at org.eclipse.ui.internal.WorkbenchPage.access$6(WorkbenchPage.java:2029)
at org.eclipse.ui.internal.WorkbenchPage$9.run(WorkbenchPage.java:2016)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:84)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2011)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:1896)
at org.eclipse.ui.actions.OpenWithMenu$3.handleEvent(OpenWithMenu.java:267)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:847)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2173)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1863)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2347)
at org.eclipse.ui.internal.Workbench.run(Workbench.java:2330)
at org.eclipse.core.internal.boot.InternalBootLoader.run
(InternalBootLoader.java:858)
at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
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:299)
at org.eclipse.core.launcher.Main.run(Main.java:765)
at org.eclipse.core.launcher.Main.main(Main.java:599)
Comment 1 Eric Jain CLA 2003-10-28 07:19:13 EST
I just tested opening PowerPoint and Visio documents inside Eclipse - both 
work. So it's only Word and Excel who are not working.
Comment 2 Rafael Chaves CLA 2003-10-28 09:49:56 EST
Looks like a duplicate of bug 21148.
Comment 3 Eric Jain CLA 2003-10-28 10:08:28 EST

*** This bug has been marked as a duplicate of 21148 ***