Bug 15174

Summary: NPE in GammaCompressedIndexBlock
Product: [Eclipse Project] JDT Reporter: Dirk Baeumer <dirk_baeumer>
Component: CoreAssignee: Kent Johnson <kent_johnson>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P3    
Version: 2.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description Dirk Baeumer CLA 2002-05-03 06:19:51 EDT
Build 20020502

Found the following NPE in my console. Couldn't reproduce.

An exception occurred while writing to the platform log:
java.lang.NullPointerException: null
Logging to the console instead.
An exception occurred while logging to the console:
java.lang.NullPointerException: null
java.lang.ArrayIndexOutOfBoundsException
        at java.lang.System.arraycopy(Native Method)
        at org.eclipse.jdt.internal.core.index.impl.GammaCompressedIndexBlock.ne
xtEntry(GammaCompressedIndexBlock.java:79)
        at org.eclipse.jdt.internal.core.index.impl.BlocksIndexInput.moveToNextW
ordEntry(BlocksIndexInput.java:181)
        at org.eclipse.jdt.internal.core.index.impl.MergeFactory.mergeReferences
(MergeFactory.java:170)
        at org.eclipse.jdt.internal.core.index.impl.MergeFactory.merge(MergeFact
ory.java:79)
        at org.eclipse.jdt.internal.core.index.impl.Index.merge(Index.java:236)
        at org.eclipse.jdt.internal.core.index.impl.Index.save(Index.java:341)
        at org.eclipse.jdt.internal.core.search.indexing.IndexManager.saveIndexe
s(IndexManager.java:408)
        at org.eclipse.jdt.internal.core.search.indexing.IndexManager.notifyIdle
(IndexManager.java:313)
        at org.eclipse.jdt.internal.core.search.processing.JobManager.run(JobMan
ager.java:302)
        at java.lang.Thread.run(Thread.java:484)
Comment 1 Philipe Mulet CLA 2002-05-03 16:54:12 EDT
Which runtime where you using ? IBM jdk1.3.1 ?
Comment 2 Dirk Baeumer CLA 2002-05-06 03:54:08 EDT
No, I am using Sun JDK 1.3.1_01
Comment 3 Kent Johnson CLA 2002-05-08 15:05:30 EDT
Not identical... just a few lines earlier.

*** This bug has been marked as a duplicate of 15262 ***