Project: Eclipse_Platform_UI
Bug 54862 [Editor Mgmt] NPE in EditorWorkbook.updateControlBounds
Reported: 2004-03-15 13:25:45 | Status: resolved fixed

The zoom suites have 8 test failures with the following trace java.lang.NullPointerException at org.eclipse.ui.internal.EditorWorkbook.updateControlBounds (EditorWorkbook.java:948) at org.eclipse.ui.internal.EditorWorkbook.setState (EditorWorkbook.java:926) at org.eclipse.ui.internal.EditorWorkbook.setContainer (EditorWorkbook.java:897) at org.eclipse.ui.internal.PartSashContainer.dispose (PartSashContainer.java:270) at org.eclipse.ui.internal.EditorArea.dispose(EditorArea.java:109) at org.eclipse.ui.internal.EditorPresentation.dispose (EditorPresentation.java:129) at org.eclipse.ui.internal.WorkbenchPage.dispose (WorkbenchPage.java:1178) at org.eclipse.ui.internal.WorkbenchWindow.closeAllPages (WorkbenchWindow.java:486) at org.eclipse.ui.internal.WorkbenchWindow.hardClose (WorkbenchWindow.java:892) at org.eclipse.ui.internal.WorkbenchWindow.busyClose (WorkbenchWindow.java:386) at org.eclipse.ui.internal.WorkbenchWindow.access$0 (WorkbenchWindow.java:368) at org.eclipse.ui.internal.WorkbenchWindow$1.run (WorkbenchWindow.java:453) at org.eclipse.swt.custom.BusyIndicator.showWhile (BusyIndicator.java:84) at org.eclipse.ui.internal.WorkbenchWindow.close (WorkbenchWindow.java:451) at org.eclipse.ui.tests.util.UITestCase.closeAllTestWindows (UITestCase.java:172) at org.eclipse.ui.tests.util.UITestCase.doTearDown(UITestCase.java:138) at org.eclipse.ui.tests.util.UITestCase.tearDown(UITestCase.java:126) at junit.framework.TestCase.runBare(TestCase.java:130) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:118) at junit.framework.TestSuite.runTest(TestSuite.java:208) at junit.framework.TestSuite.run(TestSuite.java:203) at junit.framework.TestSuite.runTest(TestSuite.java:208) at junit.framework.TestSuite.run(TestSuite.java:203) at junit.framework.TestSuite.runTest(TestSuite.java:208) at junit.framework.TestSuite.run(TestSuite.java:203) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests (RemoteTestRunner.java:410) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run (RemoteTestRunner.java:294) at org.eclipse.pde.internal.junit.runtime.RemotePluginTestRunner.main (RemotePluginTestRunner.java:30) at org.eclipse.pde.internal.junit.runtime.UITestApplication$1.run (UITestApplication.java:91) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages (Synchronizer.java:106) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:2344) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2051) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1452) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1423) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench (Workbench.java:258) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:139) at org.eclipse.ui.internal.ide.IDEApplication.run (IDEApplication.java:79) at org.eclipse.pde.internal.junit.runtime.UITestApplication.run (UITestApplication.java:34) at org.eclipse.core.internal.runtime.PlatformActivator$1.run (PlatformActivator.java:260) at org.eclipse.core.runtime.adaptor.EclipseStarter.run (EclipseStarter.java:173) at org.eclipse.core.runtime.adaptor.EclipseStarter.run (EclipseStarter.java:106) 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:305) at org.eclipse.core.launcher.Main.run(Main.java:745) at org.eclipse.core.launcher.Main.main(Main.java:713)

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