Bug 13743

Summary: (NPE) Eclipse froze during "open type"
Product: [Eclipse Project] JDT Reporter: Rodrigo Peretti <rodrigo>
Component: CoreAssignee: Philipe Mulet <philippe_mulet>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: P3    
Version: 2.0   
Target Milestone: 2.0 M6   
Hardware: Other   
OS: Linux-Motif   
Whiteboard:

Description Rodrigo Peretti CLA 2002-04-13 12:13:31 EDT
build 20020412 - Mandrake Linux 8.2 - Motif

During an open type operation, a dialog showed up saying
"2 files left to index" and froze leaving the progress
monitor in less than half.
The stack trace is as follows. It is a copy of what I had in
the console since the log file was not created and I could not
copy/paste the console. Might have typos.

java.lang.NullPointerException
	at org.eclipse.jdt.internal.core.index.impl.InMemoryIndex.getSortedWords((InMemoryIndex.java(Compiled Code))
	at org.eclipse.jdt.internal.core.index.impl.SimpleIndexInput.open((SimpleIndexInput.java:116)
	at org.eclipse.jdt.internal.core.index.impl.MergeFactory.merge((MergeFactory.java:72)
	at org.eclipse.jdt.internal.core.index.impl.Index.merge((Index.java:231)
	at org.eclipse.jdt.internal.core.index.impl.Index.save((Index.java:341)
	at org.eclipse.jdt.internal.core.search.indexing.IndexManager.saveIndexes((IndexManager.java:394)
	at org.eclipse.jdt.internal.core.search.indexing.IndexManager.notifyIdle((IndexManager.java(Compiled Code))
	at org.eclipse.jdt.internal.core.search.processing.JobManager.run((JobManager.java(Compiled Code))
	at java.lang.Thread.run
Comment 1 Philipe Mulet CLA 2002-04-17 09:33:54 EDT
Were you running IBM jre 1.3.1 with jit enabled ?
Comment 2 Rodrigo Peretti CLA 2002-04-17 09:42:30 EDT
Probably IBM JDK 1.3.0 for Linux "standard" (meaning that I do not supply 
extra command line arguments).
Comment 3 Philipe Mulet CLA 2002-04-30 06:52:37 EDT
Closing as JIT bug. Indexer crash recovery was added.