Project: Eclipse_Platform_UI
Bug 6479 NPE in a detached view with right mouse click
Reported: 2001-11-30 13:08:21 | Status: resolved fixed

In the debug perspective, click the Open a Type in the Editor toolbar action. Type in Runtime Ensure that Show in Type Hierarchy is checked Hit OK Detach this realized hierarchy view Right click with the mouse over the top sash of the detached view 4 org.eclipse.ui 0 java.lang.NullPointerException java.lang.NullPointerException at org.eclipse.ui.internal.ViewPane.findSashes(ViewPane.java:422) at org.eclipse.ui.internal.PartPane.addSizeItems(PartPane.java:394) at org.eclipse.ui.internal.PartPane.showPaneMenu(PartPane.java:310) at org.eclipse.ui.internal.ViewPane$6.mouseDown(ViewPane.java:245) at org.eclipse.swt.widgets.TypedListener.handleEvent (TypedListener.java:124) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:54) at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:635) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:1368) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1170) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:781) at org.eclipse.ui.internal.Workbench.run(Workbench.java:764) at org.eclipse.core.internal.boot.InternalBootLoader.run (InternalBootLoader.java:820) at org.eclipse.core.boot.BootLoader.run(BootLoader.java:285) at java.lang.reflect.Method.invoke(Native Method) at org.eclipse.core.launcher.Main.basicRun(Main.java:151) at org.eclipse.core.launcher.Main.run(Main.java:502) at org.eclipse.core.launcher.Main.main(Main.java:362)

Files changed in fix:
bundles/org.eclipse.ui/Eclipse UI/org/eclipse/ui/internal/ViewPane.java