Bug 21761

Summary: [Tasks] NPE refreshing the the task list view
Product: [Eclipse Project] Platform Reporter: Philipe Mulet <philippe_mulet>
Component: UIAssignee: Chris McLaren <csmclaren>
Status: RESOLVED FIXED QA Contact:
Severity: critical    
Priority: P1    
Version: 2.0   
Target Milestone: 2.0.1   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description Philipe Mulet CLA 2002-07-22 10:51:33 EDT
Build R2.0 - 200207161002

Got the following exception dumped into the log, at the end of a full build.

!ENTRY org.eclipse.core.resources 4 2 Jul 22, 2002 16:59:33.343
!MESSAGE Problems occurred when invoking code from plug-
in: "org.eclipse.core.resources".
!STACK 0
java.lang.NullPointerException
        at org.eclipse.ui.views.tasklist.TaskList.checkResource
(TaskList.java:686)
        at org.eclipse.ui.views.tasklist.TaskList.isAffectedBy
(TaskList.java:660)
        at org.eclipse.ui.views.tasklist.TaskListContentProvider.resourceChanged
(TaskListContentProvider.java:477)
        at org.eclipse.core.internal.events.NotificationManager$1.run
(NotificationManager.java:128)
        at org.eclipse.core.internal.runtime.InternalPlatform.run
(InternalPlatform.java:831)
        at org.eclipse.core.runtime.Platform.run(Platform.java:416)
        at org.eclipse.core.internal.events.NotificationManager.notify
(NotificationManager.java:143)
        at org.eclipse.core.internal.events.NotificationManager.broadcastChanges
(NotificationManager.java:67)
        at org.eclipse.core.internal.resources.Workspace.broadcastChanges
(Workspace.java:133)
        at org.eclipse.core.internal.resources.Workspace.endOperation
(Workspace.java:741)
        at org.eclipse.core.internal.resources.Workspace.build
(Workspace.java:145)
        at org.eclipse.ui.actions.GlobalBuildAction$1.run
(GlobalBuildAction.java:156)
        at org.eclipse.jface.operation.ModalContext$ModalContextThread.run
(ModalContext.java:98)
Comment 1 Nick Edgar CLA 2002-07-24 14:57:32 EDT
Fix released in HEAD stream.  Need to merge into 2.0.1 stream.

Comment 2 Chris McLaren CLA 2002-08-22 11:10:03 EDT
fixed. this problem is not present in 2.0.1, it was introduced (and 
subsequently fixed) in head already.