Bug 22104 - [infrastructure] NPE from IndexSummary.read(...)
Summary: [infrastructure] NPE from IndexSummary.read(...)
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.0   Edit
Hardware: Other Linux-GTK
: P3 normal (vote)
Target Milestone: 3.0 M8   Edit
Assignee: Kent Johnson CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 22578 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-08-01 11:19 EDT by Jared Burns CLA
Modified: 2004-03-24 11:06 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jared Burns CLA 2002-08-01 11:19:30 EDT
Build 20020723 + latest debug plugins.

I launched a selfhosting instance of Eclipse and the following showed up in 
the console in my host. I don't know how to reproduce the problem. 
Hopefully, the stack trace will be useful.

java.lang.NullPointerException
	at java.io.DataInputStream.readUTF(DataInputStream.java:580)
	at java.io.RandomAccessFile.readUTF(RandomAccessFile.java:857)
	at 
org.eclipse.jdt.internal.core.index.impl.IndexSummary.read(IndexSummary.java:278)
	at 
org.eclipse.jdt.internal.core.index.impl.BlocksIndexInput.open(BlocksIndexInput.java:205)
	at 
org.eclipse.jdt.internal.core.index.impl.Index.initialize(Index.java:204)
	at 
org.eclipse.jdt.internal.core.index.impl.Index.<init>(Index.java:85)
	at 
org.eclipse.jdt.internal.core.search.indexing.IndexManager.getIndex(IndexManager.java:203)
	at 
org.eclipse.jdt.internal.core.search.indexing.AddJarFileToIndex.execute(AddJarFileToIndex.java:82)
	at 
org.eclipse.jdt.internal.core.search.processing.JobManager.run(JobManager.java:327)
	at java.lang.Thread.run(Thread.java:536)
Comment 1 Kent Johnson CLA 2003-01-06 17:55:11 EST
*** Bug 22578 has been marked as a duplicate of this bug. ***
Comment 2 Kent Johnson CLA 2004-02-17 14:23:19 EST
We have replaced the entire index infrastructure.

This bug is now obsolete.
Comment 3 Jerome Lanneluc CLA 2004-03-24 11:06:29 EST
Verified in build I200403240800.