Bug 96602 - [Progress] NPE from progress viewer
Summary: [Progress] NPE from progress viewer
Status: RESOLVED INVALID
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2005-05-25 09:21 EDT by Darin Wright CLA
Modified: 2009-08-30 02:11 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Darin Wright CLA 2005-05-25 09:21:02 EDT
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)
Comment 1 Markus Keller CLA 2005-11-22 05:37:20 EST
Had the same exception in I20051115-0800. I was synchronizing in the background with no progress dialog open. Sorry, no better steps to reproduce.
Comment 2 Tod Creasey CLA 2006-02-06 14:44:06 EST
*** Bug 123169 has been marked as a duplicate of this bug. ***
Comment 3 Tod Creasey CLA 2006-06-14 14:40:17 EDT
I am going to mark this as remind as we have not seen it for some time
Comment 4 Markus Keller CLA 2006-06-15 04:57:02 EDT
Note that bug 123169 comment 0 has insights why this could happen and suggests a fix.
Comment 5 Tod Creasey CLA 2006-06-15 08:20:28 EDT
Thanks Markus I have reopened Bug 123169
Comment 6 Denis Roy CLA 2009-08-30 02:11:16 EDT
As of now 'LATER' and 'REMIND' resolutions are no longer supported.
Please reopen this bug if it is still valid for you.