Bug 260861

Summary: ClassFormatException during indexing
Product: [Eclipse Project] JDT Reporter: Jerome Lanneluc <jerome_lanneluc>
Component: CoreAssignee: Olivier Thomann <Olivier_Thomann>
Status: VERIFIED INVALID QA Contact:
Severity: normal    
Priority: P3 CC: frederic_fusier, philippe_mulet
Version: 3.3.2   
Target Milestone: 3.5 M5   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Jerome Lanneluc CLA 2009-01-13 10:41:45 EST
v_793_R33x

Running an Eclipse 3.3.x based product, I got the following exception during indexing:

ClassFormatException in com.ibm.team.jrs/lib/db2jcc.jar|COM/ibm/db2os390/sqlj/custom/DB2SQLJProfile.class. Please report this issue to JDT/Core including the problematic document

org.eclipse.jdt.internal.compiler.classfmt.ClassFormatException
at org.eclipse.jdt.internal.compiler.classfmt.ClassFileReader.<init>(ClassFileReader.java:342)
at org.eclipse.jdt.internal.compiler.classfmt.ClassFileReader.<init>(ClassFileReader.java:121)
at org.eclipse.jdt.internal.core.search.indexing.BinaryIndexer.indexDocument(BinaryIndexer.java:622)
at org.eclipse.jdt.internal.core.search.JavaSearchParticipant.indexDocument(JavaSearchParticipant.java:74)
at org.eclipse.jdt.internal.core.search.indexing.IndexManager.indexDocument(IndexManager.java:314)
at org.eclipse.jdt.internal.core.search.indexing.AddJarFileToIndex.execute(AddJarFileToIndex.java:197)
at org.eclipse.jdt.internal.core.search.processing.JobManager.run(JobManager.java:392)
at java.lang.Thread.run(Thread.java:810)

I'll send the corresponding jar privately as this is a proprietary product.
Comment 1 Olivier Thomann CLA 2009-01-13 11:05:46 EST
This class file doesn't even start with the magic numbers (0xCAFEBABE).
I can investigate other issues if necessary, but something is clearly wrong with this class file.
Closing as INVALID.
Comment 2 Frederic Fusier CLA 2009-01-27 05:19:06 EST
Verified for 3.5M5