Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 70347 - [misc] Trying to open a Class file through File -> Open External File
Summary: [misc] Trying to open a Class file through File -> Open External File
Status: CLOSED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.0   Edit
Hardware: PC Linux
: P3 minor (vote)
Target Milestone: ---   Edit
Assignee: Platform-Text-Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
: 111049 112681 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-07-19 10:58 EDT by Adam Michaud CLA
Modified: 2019-09-04 03:01 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Michaud CLA 2004-07-19 10:58:47 EDT
When trying to open a .class file through the Open External File dialog, I get
the following error spewed to my Terminal window:

org.eclipse.ui.PartInitException: Class File Viewer
        at
org.eclipse.ui.texteditor.AbstractTextEditor.internalInit(AbstractTextEditor.java:2251)
        at
org.eclipse.ui.texteditor.AbstractTextEditor.init(AbstractTextEditor.java:2264)
        at org.eclipse.ui.internal.EditorManager.createSite(EditorManager.java:721)
        at
org.eclipse.ui.internal.EditorManager.openInternalEditor(EditorManager.java:780)
        at
org.eclipse.ui.internal.EditorManager.openEditorFromDescriptor(EditorManager.java:585)
        at org.eclipse.ui.internal.EditorManager.openEditor(EditorManager.java:573)
        at
org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2201)
        at
org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2134)
        at org.eclipse.ui.internal.WorkbenchPage.access$6(WorkbenchPage.java:2126)
        at org.eclipse.ui.internal.WorkbenchPage$9.run(WorkbenchPage.java:2113)
        at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
        at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2108)
        at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2091)
        at
org.eclipse.ui.internal.editors.text.OpenExternalFileAction.run(OpenExternalFileAction.java:115)
        at
org.eclipse.ui.internal.editors.text.OpenExternalFileAction.run(OpenExternalFileAction.java:87)
        at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:276)
        at
org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPluginAction.java:206)
        at
org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:915)
        at
org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:866)
        at
org.eclipse.jface.action.ActionContributionItem$7.handleEvent(ActionContributionItem.java:785)
        at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:731)
        at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2938)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2642)
        at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1377)
        at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1348)
        at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:254)
        at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:141)
        at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:96)
        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 1 Dani Megert CLA 2004-07-19 11:22:57 EDT
Cannot reproduce using R3.0. What I see is that nothing happens (see bug 58179)
i.e. no editor is opened, nothing in .log and nothing in .console.


*** This bug has been marked as a duplicate of 58179 ***
Comment 2 Dani Megert CLA 2005-09-22 10:24:16 EDT
Not a duplicate since the real problem here is the Java Model not supporting the
external files.
Comment 3 Dani Megert CLA 2005-10-03 08:45:04 EDT
*** Bug 111049 has been marked as a duplicate of this bug. ***
Comment 4 Dani Megert CLA 2005-10-17 04:16:56 EDT
There would now be a dialog but this is currently not working due to bug 112277.
Comment 5 Dani Megert CLA 2005-10-17 04:17:00 EDT
*** Bug 112681 has been marked as a duplicate of this bug. ***
Comment 6 Lars Vogel CLA 2019-09-04 03:01:12 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it and remove the stalebug whiteboard tag. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--