Bug 252508

Summary: Opening project generated by maven
Product: [Eclipse Project] JDT Reporter: Cusnir Ruslan <ruslancusnir>
Component: CoreAssignee: Olivier Thomann <Olivier_Thomann>
Status: CLOSED NOT_ECLIPSE QA Contact:
Severity: normal    
Priority: P3 CC: Olivier_Thomann
Version: 3.5   
Target Milestone: 3.5 M3   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Cusnir Ruslan CLA 2008-10-28 18:05:12 EDT
-- Error Log --
Date: Tue Oct 28 23:56:42 EET 2008
Message: ClassFormatException in /home/rcusnir/.m2/repository/com/atlassian/extras/atlassian-extras/1.17/atlassian-extras-1.17.jar|com/atlassian/jira/issue/Bug.class. Please report this issue to JDT/Core including the problematic document
Severity: Error
Plugin ID: org.eclipse.jdt.core
Stack Trace:
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:636)
Comment 1 Olivier Thomann CLA 2008-10-28 20:26:15 EDT
Would it be possible to get the .class file com/atlassian/jira/issue/Bug.class inside the file atlassian-extras-1.17.jar?
Thanks.
Comment 2 Olivier Thomann CLA 2008-10-29 10:11:12 EDT
This is not even a valid .class file. Closing as NOT_ECLIPSE.
Comment 3 Cusnir Ruslan CLA 2008-10-29 10:21:00 EDT
Agree with resolution.

It seems that maven downloaded a corrupted jar file.
This situation was repeated some times.

Redownloading artefacts, and regenerating of the eclipse project fix the problem.

Sorry, for inconvenience.