Bug 63434 - NPE during checkout/build
Summary: NPE during checkout/build
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.0 RC1   Edit
Assignee: Jerome Lanneluc CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-21 11:34 EDT by DJ Houghton CLA
Modified: 2004-05-28 15:40 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description DJ Houghton CLA 2004-05-21 11:34:31 EDT
build i0521-0800

I selected all the modules in CVS and checked them out. Autobuild was on. In the
middle of the checkout I got the following error in my log file.

osgi> !SESSION May 21, 2004 11:20:02.387 ---------------------------------------
------
eclipse.buildId=I200405210800
java.fullversion=J2RE 1.4.1 IBM J9 build 20040510 (JIT enabled)
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments: -showlocation
!ENTRY org.eclipse.core.runtime 4 2 May 21, 2004 11:20:02.397
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.core.ru
ntime".
!STACK 0
java.lang.NullPointerException
        at java.lang.Throwable.<init>(Throwable.java)
        at java.lang.Throwable.<init>(Throwable.java)
        at java.lang.NullPointerException.<init>(NullPointerException.java:60)
        at org.eclipse.jdt.internal.core.DeltaProcessor.nonJavaResourcesChanged(
DeltaProcessor.java:1543)
        at org.eclipse.jdt.internal.core.DeltaProcessor.traverseDelta(DeltaProce
ssor.java)
        at org.eclipse.jdt.internal.core.DeltaProcessor.traverseDelta(DeltaProce
ssor.java)
        at org.eclipse.jdt.internal.core.DeltaProcessor.processResourceDelta(Del
taProcessor.java:1671)
        at org.eclipse.jdt.internal.core.DeltaProcessor.resourceChanged(DeltaPro
cessor.java)
        at org.eclipse.jdt.internal.core.DeltaProcessingState.resourceChanged(De
ltaProcessingState.java:414)
        at org.eclipse.core.internal.events.NotificationManager$2.run(Notificati
onManager.java)
        at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatfo
rm.java)
        at org.eclipse.core.runtime.Platform.run(Platform.java)
        at org.eclipse.core.internal.events.NotificationManager.notify(Notificat
ionManager.java:277)
        at org.eclipse.core.internal.events.NotificationManager.broadcastChanges
(NotificationManager.java:151)
        at org.eclipse.core.internal.resources.Workspace.broadcastChanges(Worksp
ace.java:172)
        at org.eclipse.core.internal.resources.Workspace.endOperation(Workspace.
java)
        at org.eclipse.core.internal.resources.Workspace.run(Workspace.java)
        at org.eclipse.core.internal.events.NotificationManager$NotifyJob.run(No
tificationManager.java:38)
        at org.eclipse.core.internal.jobs.Worker.run(Worker.java)
Comment 1 Olivier Thomann CLA 2004-05-21 13:27:30 EDT
Too late for M9.
Comment 2 Jerome Lanneluc CLA 2004-05-25 10:37:30 EDT
Could not reproduce. However JavaElementDelta.find(...) can return null. 
Changed JavaElementDelta.changed(...) to return the delta that it just 
created, and removed the call to JavaElementDelta.find(...).
Comment 3 Olivier Thomann CLA 2004-05-28 15:40:17 EDT
Could not reproduce.
Verified in 200405281200 that the fix is in.