Community
Participate
Working Groups
N20050525-0010 While synchronizing with the repository, I had the progress view open and the following error appeared in my log: org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NullPointerException) at org.eclipse.swt.SWT.error(SWT.java:2940) at org.eclipse.swt.SWT.error(SWT.java:2863) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:121) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:2906) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2565) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1652) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1616) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:336) 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:372) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:161) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:85) at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:58) at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:60) at java.lang.reflect.Method.invoke(Method.java:391) at org.eclipse.core.launcher.Main.invokeFramework(Main.java:330) at org.eclipse.core.launcher.Main.basicRun(Main.java:274) at org.eclipse.core.launcher.Main.run(Main.java:969) at org.eclipse.core.launcher.Main.main(Main.java:944) Caused by: java.lang.NullPointerException at org.eclipse.ui.internal.progress.JobInfo.getDisplayStringWithStatus (JobInfo.java:262) at org.eclipse.ui.internal.progress.JobInfo.getDisplayString(JobInfo.java:241) at org.eclipse.ui.internal.progress.JobTreeElement.compareTo (JobTreeElement.java:71) at org.eclipse.ui.internal.progress.JobInfo.compareTo(JobInfo.java:159) at org.eclipse.ui.internal.progress.ProgressManagerUtil$1.compare (ProgressManagerUtil.java:94) at org.eclipse.jface.viewers.ViewerSorter$1.compare(ViewerSorter.java:177) at java.util.Arrays.mergeSort(Arrays.java:1292) at java.util.Arrays.sort(Arrays.java:1233) at org.eclipse.jface.viewers.ViewerSorter.sort(ViewerSorter.java:175) at org.eclipse.jface.viewers.StructuredViewer.getSortedChildren (StructuredViewer.java:909) at org.eclipse.ui.internal.progress.ProgressViewer.internalRefresh (ProgressViewer.java:135) at org.eclipse.jface.viewers.StructuredViewer.internalRefresh (StructuredViewer.java:1110) at org.eclipse.jface.viewers.StructuredViewer$8.run(StructuredViewer.java:1291) at org.eclipse.jface.viewers.StructuredViewer.preservingSelection (StructuredViewer.java:1201) at org.eclipse.jface.viewers.StructuredViewer.refresh (StructuredViewer.java:1289) at org.eclipse.jface.viewers.StructuredViewer.refresh (StructuredViewer.java:1246) at org.eclipse.ui.internal.progress.ProgressViewerContentProvider.add (ProgressViewerContentProvider.java:42) at org.eclipse.ui.internal.progress.ProgressViewUpdater$1.runInUIThread (ProgressViewUpdater.java:263) at org.eclipse.ui.progress.UIJob$1.run(UIJob.java:93) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:118) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:2906) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2565) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1652) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1616) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:336) 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:372) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:161) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:85) at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:58) at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:60) at java.lang.reflect.Method.invoke(Method.java:391) at org.eclipse.core.launcher.Main.invokeFramework(Main.java:330) at org.eclipse.core.launcher.Main.basicRun(Main.java:274) at org.eclipse.core.launcher.Main.run(Main.java:969) at org.eclipse.core.launcher.Main.main(Main.java:944)
Had the same exception in I20051115-0800. I was synchronizing in the background with no progress dialog open. Sorry, no better steps to reproduce.
*** Bug 123169 has been marked as a duplicate of this bug. ***
I am going to mark this as remind as we have not seen it for some time
Note that bug 123169 comment 0 has insights why this could happen and suggests a fix.
Thanks Markus I have reopened Bug 123169
As of now 'LATER' and 'REMIND' resolutions are no longer supported. Please reopen this bug if it is still valid for you.