facebook

Bug in Eclipse "Open Type" when using MyEclipseIDE

  1. MyEclipse Archived
  2.  > 
  3. Bugs
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #233567 Reply

    When using MyEclipseIDE 4.0M2 and Eclipse 3.1, if I close all active editor windows and then use the “Open Type” functionality to open a source file, the source file does not open properly. The tab opens with the filename as the title, but there is no content just a blank gray area.

    
    !ENTRY org.eclipse.jface 4 2 2005-07-25 10:32:31.147
    !MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.jface".
    !STACK 0
    java.lang.NullPointerException
        at org.eclipse.ui.internal.WorkbenchPartReference.getId(WorkbenchPartReference.java:371)
        at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java(Compiled Code))
        at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:283)
        at org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart.java:126)
        at org.eclipse.ui.internal.presentations.util.PresentablePartFolder.select(PresentablePartFolder.java:268)
        at org.eclipse.ui.internal.presentations.util.LeftToRightTabOrder.select(LeftToRightTabOrder.java:65)
        at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation.selectPart(TabbedStackPresentation.java:391)
        at org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:1102)
        at org.eclipse.ui.internal.PartStack.setSelection(PartStack.java:1051)
        at org.eclipse.ui.internal.PartStack.showPart(PartStack.java:1256)
        at org.eclipse.ui.internal.PartStack.add(PartStack.java:442)
        at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:109)
        at org.eclipse.ui.internal.EditorSashContainer.addEditor(EditorSashContainer.java:60)
        at org.eclipse.ui.internal.EditorAreaHelper.addToLayout(EditorAreaHelper.java:212)
        at org.eclipse.ui.internal.EditorAreaHelper.addEditor(EditorAreaHelper.java:202)
        at org.eclipse.ui.internal.EditorManager.createEditorTab(EditorManager.java:753)
        at org.eclipse.ui.internal.EditorManager.openEditorFromDescriptor(EditorManager.java:665)
        at org.eclipse.ui.internal.EditorManager.openEditor(EditorManager.java:628)
        at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2323)
        at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2258)
        at org.eclipse.ui.internal.WorkbenchPage.access$9(WorkbenchPage.java:2250)
        at org.eclipse.ui.internal.WorkbenchPage$9.run(WorkbenchPage.java:2236)
        at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
        at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2231)
        at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2212)
        at org.eclipse.ui.ide.IDE.openEditor(IDE.java:371)
        at org.eclipse.ui.ide.IDE.openEditor(IDE.java:334)
        at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:251)
        at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:136)
        at org.eclipse.jdt.internal.ui.actions.OpenActionUtil.open(OpenActionUtil.java:49)
        at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:169)
        at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:153)
        at org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchRun(SelectionDispatchAction.java:222)
        at org.eclipse.jdt.ui.actions.SelectionDispatchAction.run(SelectionDispatchAction.java:198)
        at org.eclipse.jdt.internal.ui.packageview.PackageExplorerActionGroup.handleOpen(PackageExplorerActionGroup.java:296)
        at org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart$4.open(PackageExplorerPart.java:869)
        at org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredViewer.java:741)
        at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java(Inlined Compiled Code))
        at org.eclipse.core.runtime.Platform.run(Platform.java(Compiled Code))
        at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:44)
        at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:148)
        at org.eclipse.jface.viewers.StructuredViewer.fireOpen(StructuredViewer.java:739)
        at org.eclipse.jface.viewers.StructuredViewer.handleOpen(StructuredViewer.java:968)
        at org.eclipse.jface.viewers.StructuredViewer$6.handleOpen(StructuredViewer.java:1067)
        at org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrategy.java:243)
        at org.eclipse.jface.util.OpenStrategy.access$2(OpenStrategy.java:238)
        at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:277)
        at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java(Compiled Code))
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java(Inlined Compiled Code))
        at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java(Compiled Code))
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java(Compiled Code))
        at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java(Compiled Code))
        at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
        at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:367)
        at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143)
        at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:103)
        at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:163)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:41)
        at java.lang.reflect.Method.invoke(Method.java:371)
        at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334)
        at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
        at org.eclipse.core.launcher.Main.run(Main.java:973)
        at org.eclipse.core.launcher.Main.main(Main.java:948)
    
    #233624 Reply

    Riyad Kalla
    Member

    I don’t see MyEclipse anywhere in this stack trace, are you sure this works with non-MyEclipse files? Have you tried this with a .txt file or a .java file?

    #233647 Reply

    @support-rkalla wrote:

    I don’t see MyEclipse anywhere in this stack trace, are you sure this works with non-MyEclipse files? Have you tried this with a .txt file or a .java file?

    I apologize. I had run this yesterday by disabling MyEclipse and restarting Eclipse. It had worked. I then enabled MyEclipse and restarted Eclipse. The problem came back. I did find it weird none of the classes in the stack trace were MyEclipse related. :/ I’ll open up a bug with Eclipse.

    #233688 Reply

    Scott Anderson
    Participant

    Before doing that, can you restart eclipse with -clean (eclipse.exe -clean) and see if that resolves the issue?

    #234796 Reply

    kilo
    Member

    still

    #234800 Reply

    Scott Anderson
    Participant

    What is the build id of your Eclipse installation?

    Truthfully, given that this is an “all Eclipse” stack, the install just looks fundamentally broken in some way.
    What I’d personally do is download a fresh copy of Eclipse 3.1 final and install MyEclipse 4.0M3 (just released) with it to correct the problem.

    #234881 Reply

    kilo
    Member

    it is a fresh copy of Eclipse 3.1 final and MyEclipse 4.0M3,but doesn’t work …..

    #234883 Reply

    Scott Anderson
    Participant

    Kilo,

    I tried closing all editors and using Open Type to reproduce but could not. Are you trying to open a Java type that is part of one of your workspace projects? Or, is it part of some library jar? Is it a particular file, or all of them? Can you create a new workspace and try the same thing in it? Does it work in the new workspace?

Viewing 8 posts - 1 through 8 (of 8 total)
Reply To: Bug in Eclipse "Open Type" when using MyEclipseIDE

You must be logged in to post in the forum log in