Project: Eclipse_Platform_UI
Bug 50979 [Workbench] NPE opening a new Window from CVS Repositories perspective
Reported: 2004-01-30 12:03:23 | Status: closed fixed

20030130 If you try and open a new Window from the CVS repositories perspective you get a NullPointrException from PartTabFolder STEPS 1) Switch the the CVS Repositories Perspective 2) Select New Window Note this is fine from the Resource Perspective java.lang.NullPointerException at org.eclipse.ui.internal.PartTabFolder.createPartTab (PartTabFolder.java:369) at org.eclipse.ui.internal.PartTabFolder.createControl (PartTabFolder.java:323) at org.eclipse.ui.internal.PartSashContainer.createControl (PartSashContainer.java:192) at org.eclipse.ui.internal.PerspectivePresentation.activate (PerspectivePresentation.java:130) at org.eclipse.ui.internal.Perspective.onActivate(Perspective.java:757) at org.eclipse.ui.internal.WorkbenchPage.onActivate (WorkbenchPage.java:1911) at org.eclipse.ui.internal.WorkbenchWindow$6.run (WorkbenchWindow.java:1820) at org.eclipse.swt.custom.BusyIndicator.showWhile (BusyIndicator.java:84) at org.eclipse.ui.internal.WorkbenchWindow.setActivePage (WorkbenchWindow.java:1807) at org.eclipse.ui.internal.WorkbenchWindow.busyOpenPage (WorkbenchWindow.java:585) at org.eclipse.ui.internal.Workbench.busyOpenWorkbenchWindow (Workbench.java:534) at org.eclipse.ui.internal.Workbench.access$9(Workbench.java:524) at org.eclipse.ui.internal.Workbench$12.run(Workbench.java:1277) at org.eclipse.swt.custom.BusyIndicator.showWhile (BusyIndicator.java:84) at org.eclipse.ui.internal.Workbench.openWorkbenchWindow (Workbench.java:1274) at org.eclipse.ui.actions.OpenInNewWindowAction.run (OpenInNewWindowAction.java:100) at org.eclipse.jface.action.Action.runWithEvent(Action.java:881) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection (ActionContributionItem.java:536) at org.eclipse.jface.action.ActionContributionItem.access$2 (ActionContributionItem.java:488) at org.eclipse.jface.action.ActionContributionItem$5.handleEvent (ActionContributionItem.java:420) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:833) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2340) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2021) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1530) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1506) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench (Workbench.java:265) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:139) at org.eclipse.ui.internal.ide.IDEApplication.run (IDEApplication.java:47) at org.eclipse.core.internal.runtime.PlatformActivator$1.run (PlatformActivator.java:221) at org.eclipse.core.runtime.adaptor.EclipseStarter.run (EclipseStarter.java:101) 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:279) at org.eclipse.core.launcher.Main.run(Main.java:742) at org.eclipse.core.launcher.Main.main(Main.java:581)

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