Bug 260861 - ClassFormatException during indexing
Summary: ClassFormatException during indexing
Status: VERIFIED INVALID
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.3.2   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.5 M5   Edit
Assignee: Olivier Thomann CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-13 10:41 EST by Jerome Lanneluc CLA
Modified: 2009-01-27 05:19 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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