Community
Participate
Working Groups
Build ID: Eclipse SDK 4.2m5 Having worked a day on Java / Plugin Development with 4.2m5, I see tons of NPE's in my log (see below). These started appearing when I synchronized my CVS workspace and had some stuff in the compare viewer (editor area), and then pulled up the lower pane's handle to make the information pane larger (and editor area thus smaller). java.lang.NullPointerException at org.eclipse.compare.contentmergeviewer.ContentMergeViewer$ContentMergeViewerLayout.layout(ContentMergeViewer.java:121) at org.eclipse.swt.widgets.Composite.updateLayout(Composite.java:1263) at org.eclipse.swt.widgets.Composite.updateLayout(Composite.java:1270) at org.eclipse.swt.widgets.Composite.updateLayout(Composite.java:1270) at org.eclipse.swt.widgets.Composite.updateLayout(Composite.java:1270) at org.eclipse.swt.widgets.Composite.updateLayout(Composite.java:1270) at org.eclipse.swt.widgets.Composite.updateLayout(Composite.java:1270) at org.eclipse.swt.widgets.Composite.updateLayout(Composite.java:1270) at org.eclipse.swt.widgets.Composite.updateLayout(Composite.java:1270) at org.eclipse.swt.widgets.Composite.updateLayout(Composite.java:1270) at org.eclipse.swt.widgets.Composite.updateLayout(Composite.java:1270) at org.eclipse.swt.widgets.Composite.updateLayout(Composite.java:1270) at org.eclipse.swt.widgets.Composite.updateLayout(Composite.java:1249) at org.eclipse.swt.widgets.Composite.setLayoutDeferred(Composite.java:1086) at org.eclipse.swt.widgets.Display.runDeferredLayouts(Display.java:4189) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3747) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:999) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:893) at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:85) at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:579) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:534) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:352) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) 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.equinox.launcher.Main.invokeFramework(Main.java:624) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:579) at org.eclipse.equinox.launcher.Main.run(Main.java:1433)
Created attachment 210321 [details] Full log
The NPE's keep appearing when I drag the lower handle, even after a "close all editors" ... although no compare viewer is visible any more.
The workaround is to use 'Window > New Window'. At the moment, I believe bug 347558 to be the root cause. *** This bug has been marked as a duplicate of bug 348429 ***
If you have this problem please vote for this bug please vote for its duplicate here: https://bugs.eclipse.org/bugs/show_bug.cgi?id=348429