Bug 73330 - NullPointerException in search
Summary: NullPointerException in search
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.2   Edit
Assignee: Kent Johnson CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-06 10:51 EDT by Volodymyr Bychkoviak CLA
Modified: 2005-01-26 16:33 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Volodymyr Bychkoviak CLA 2004-09-06 10:51:47 EDT
!MESSAGE Background Indexer Crash Recovery
!STACK 0
java.lang.NullPointerException
	at org.eclipse.jdt.internal.core.search.indexing.IndexManager.
saveIndex(IndexManager.java:524)
	at org.eclipse.jdt.internal.core.search.indexing.AddJarFileToIndex.
execute(AddJarFileToIndex.java:176)
	at org.eclipse.jdt.internal.core.search.processing.JobManager.
run(JobManager.java:361)
	at java.lang.Thread.run(Thread.java:534)
Comment 1 Kent Johnson CLA 2004-09-08 11:43:38 EDT
Which build are you running?
Comment 2 Volodymyr Bychkoviak CLA 2004-09-08 11:56:51 EDT
reproducable on 3.0.1/200408051455

Comment 3 Kent Johnson CLA 2004-09-08 12:04:23 EDT
Can you provide the rest of your .log file please.
Comment 4 Kent Johnson CLA 2004-09-08 12:29:53 EDT
Found the problem. If we fail to recreate an index for a jar file, we answer 
null... but we didn't check for this case in AddJarFileToIndex.
Comment 5 Kent Johnson CLA 2004-09-21 11:15:57 EDT
Backported to the stream for 3.0.2.
Comment 6 Frederic Fusier CLA 2004-09-24 04:43:03 EDT
Verified for 3.1 M2 with build I200409231635.
Comment 7 Philipe Mulet CLA 2005-01-26 16:33:20 EST
Candidating for 3.0.2 release (not committed yet)