This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

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
Summary: com.sun.tools.javac.jvm.ClassReader$BadClassFile: bad class file: package-inf...
Status: RESOLVED DUPLICATE of bug 248045
Alias: None
Product: java
Classification: Unclassified
Component: Compiler (show other bugs)
Version: 7.4
Hardware: All All
: P3 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-24 14:52 UTC by rmoquin
Modified: 2015-02-26 16:01 UTC (History)
9 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 202473


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
stacktrace (8.98 KB, text/plain)
2015-02-26 15:45 UTC, abien
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
Comment 4 abien 2015-02-26 15:45:58 UTC
Created attachment 152258 [details]
stacktrace

Happened during browsing code
Comment 5 Dusan Balek 2015-02-26 16:01:00 UTC
Already fixed in jet-main.

*** This bug has been marked as a duplicate of bug 248045 ***