Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ClassFormatException - trying to index something that is not a class. #170

Closed
mikerussellnz opened this issue Mar 24, 2017 · 2 comments
Closed
Labels

Comments

@mikerussellnz
Copy link

Error when application references icu4j-2.6.1.jar. Appears to be attempting to index file named "LocaleElements_zh__PINYIN" which is not a class file.

[Error - 6:28:33 PM] 24/03/2017 6:25:00 PM Unable to index C:/Users/twlrlm/.m2/repository/com/ibm/icu/icu4j/2.6.1/icu4j-2.6.1.jar|Lcom/ibm/icu/impl/data/LocaleElements_zh__PINYIN;
null
org.eclipse.jdt.internal.compiler.classfmt.ClassFormatException
at org.eclipse.jdt.internal.compiler.classfmt.ClassFileReader.(ClassFileReader.java:406)
at org.eclipse.jdt.internal.core.nd.indexer.Indexer.addElement(Indexer.java:677)
at org.eclipse.jdt.internal.core.nd.indexer.Indexer.rescanArchive(Indexer.java:541)
at org.eclipse.jdt.internal.core.nd.indexer.Indexer.rescan(Indexer.java:231)
at org.eclipse.jdt.internal.core.nd.indexer.Indexer.lambda$0(Indexer.java:115)
at org.eclipse.core.runtime.jobs.Job$2.run(Job.java:182)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)

[Warn - 6:30:46 PM] 24/03/2017 6:25:00 PM The Java indexing could not index C:/Users/twlrlm/.m2/repository/com/ibm/icu/icu4j/2.6.1/icu4j-2.6.1.jar|com/ibm/icu/impl/data/LocaleElements_zh__PINYIN.class. This .class file doesn't follow the class file format specification. Please report this issue against the .class file vendor

@gorkem
Copy link
Member

gorkem commented Mar 24, 2017

Filed https://bugs.eclipse.org/bugs/show_bug.cgi?id=514175 for eclipse.jdt.core

@fbricon
Copy link
Collaborator

fbricon commented Mar 28, 2017

@mikerussellnz this version of icu4j is known to be broken (see these bugs). You should try to use a more recent version if you can

@gorkem gorkem closed this as completed Mar 30, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants