Bug 252508 - Opening project generated by maven
Summary: Opening project generated by maven
Status: CLOSED NOT_ECLIPSE
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.5   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 3.5 M3   Edit
Assignee: Olivier Thomann CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-28 18:05 EDT by Cusnir Ruslan CLA
Modified: 2008-10-29 10:21 EDT (History)
1 user (show)

See Also:


Attachments

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