Bug 233329 - com.sun.tools.javac.jvm.ClassReader$BadClassFile: bad class file: package-info.class class file contains wrong class: org.junit.package-info Please remove or make sure it appears in the correct su
com.sun.tools.javac.jvm.ClassReader$BadClassFile: bad class file: package-inf...
Status: NEW
Product: java
Classification: Unclassified
Component: Compiler
7.4
All All
: P3 (vote)
: TBD
Assigned To: Dusan Balek
issues@java
EXCEPTIONS_REPORT
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-07-24 14:52 UTC by rmoquin
Modified: 2014-02-18 07:49 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
:


Attachments
stacktrace (9.17 KB, text/plain)
2013-07-24 14:52 UTC, rmoquin
Details
stacktrace (9.10 KB, text/plain)
2013-11-13 19:18 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description rmoquin 2013-07-24 14:52:03 UTC
This bug was originally marked as duplicate of bug 151419, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 7.4 Beta (Build 201307092200)
VM: Java HotSpot(TM) Client VM, 23.7-b01, Java(TM) SE Runtime Environment, 1.7.0_17-b02
OS: Windows 7

User Comments:
rmoquin: I've been getting mostly OSGi related exceptions when starting up, I decided to hold off on sending those, this one here came up on startup... not sure which project, but all the projects I have loaded are maven projects.




Stacktrace: 
com.sun.tools.javac.jvm.ClassReader$BadClassFile: bad class file: package-info.class
  class file contains wrong class: org.junit.package-info
  Please remove or make sure it appears in the correct subdirectory of the classpath.
   at com.sun.tools.javac.jvm.ClassReader.badClassFile(ClassReader.java:353)
   at com.sun.tools.javac.jvm.ClassReader.readClass(ClassReader.java:2185)
   at com.sun.tools.javac.jvm.ClassReader.readClassFile(ClassReader.java:2296)
   at com.sun.tools.javac.jvm.ClassReader.fillIn(ClassReader.java:2518)
   at com.sun.tools.javac.jvm.ClassReader.complete(ClassReader.java:2438)
   at com.sun.tools.javac.code.Symbol.complete(Symbol.java:437)
Comment 1 rmoquin 2013-07-24 14:52:04 UTC
Created attachment 137710 [details]
stacktrace
Comment 2 Exceptions Reporter 2013-11-13 19:18:26 UTC
Created attachment 142152 [details]
stacktrace

not sure
Comment 3 Exceptions Reporter 2014-02-03 13:52:16 UTC
This bug already has 10 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=202473


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo