Bug 40950 - [infrastructure] NPE from indexer
Summary: [infrastructure] NPE from indexer
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: 2.1.3   Edit
Assignee: Kent Johnson CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 39545 42213 42388 45290 46234 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-07-30 10:43 EDT by Tod Creasey CLA
Modified: 2004-03-01 12:00 EST (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tod Creasey CLA 2003-07-30 10:43:34 EDT
20030730

Not sure exactly where I got this problem from (it was in my log file). I had 
imported platform-ui from the repository and then brought in the rest of 
Eclipse as binary plugins. I had also made a change to one of the class files 
and released it.

java.lang.NullPointerException
	at java.lang.Throwable.<init>(Throwable.java)
	at java.lang.Throwable.<init>(Throwable.java)
	at java.lang.NullPointerException.<init>(NullPointerException.java:63)
	at org.eclipse.jdt.internal.core.index.impl.Util.quickSort(Util.java)
	at org.eclipse.jdt.internal.core.index.impl.Util.sort(Util.java:293)
	at 
org.eclipse.jdt.internal.core.index.impl.InMemoryIndex.getSortedWordEntries
(InMemoryIndex.java:134)
	at org.eclipse.jdt.internal.core.index.impl.SimpleIndexInput.open
(SimpleIndexInput.java:118)
	at org.eclipse.jdt.internal.core.index.impl.MergeFactory.merge
(MergeFactory.java)
	at org.eclipse.jdt.internal.core.index.impl.Index.merge(Index.java)
	at org.eclipse.jdt.internal.core.index.impl.Index.save(Index.java:348)
	at org.eclipse.jdt.internal.core.search.indexing.IndexManager.saveIndex
(IndexManager.java)
	at 
org.eclipse.jdt.internal.core.search.indexing.AddJarFileToIndex.execute
(AddJarFileToIndex.java)
	at org.eclipse.jdt.internal.core.search.processing.JobManager.run
(JobManager.java:375)
	at java.lang.Thread.run(Thread.java:801)
Comment 1 Kent Johnson CLA 2003-08-11 11:16:39 EDT
Todd, which VM are you using?
Comment 2 Kent Johnson CLA 2003-08-11 11:17:29 EDT
*** Bug 39545 has been marked as a duplicate of this bug. ***
Comment 3 Tod Creasey CLA 2003-08-11 11:27:10 EDT
The June 27 Sidecar VM.
Comment 4 Kent Johnson CLA 2003-08-28 16:22:46 EDT
*** Bug 42213 has been marked as a duplicate of this bug. ***
Comment 5 Kent Johnson CLA 2003-09-09 09:57:24 EDT
*** Bug 42388 has been marked as a duplicate of this bug. ***
Comment 6 Kent Johnson CLA 2003-10-21 14:13:07 EDT
*** Bug 45290 has been marked as a duplicate of this bug. ***
Comment 7 Kent Johnson CLA 2003-11-06 15:50:22 EST
Changed asArray to resize if null word entries were found.

This fix was released 2 weeks ago.
Comment 8 Kent Johnson CLA 2003-11-06 15:52:34 EST
*** Bug 46234 has been marked as a duplicate of this bug. ***
Comment 9 Philipe Mulet CLA 2003-11-07 09:43:24 EST
Could you backport it to 2.1 stream as well ?
Comment 10 Kent Johnson CLA 2003-11-07 11:32:23 EST
Backported to 2.1.x stream.
Comment 11 David Audel CLA 2003-11-24 12:16:38 EST
Verified for 3.0M5
Comment 12 David Audel CLA 2004-03-01 12:00:47 EST
Verified for 2.1.3 (M20040225)