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 254334 - AssertionError: Filling jar:file:/D:/java/jdk1.8.0_60_x64/lib/ct.sym!/META-INF/sym/rt.jar/java/lang/System.class during jar:file:/D:/java/jdk1.8.0_60_x64/lib/ct.sym!/META-INF/sym/rt.jar/java/lang/Inte
Summary: AssertionError: Filling jar:file:/D:/java/jdk1.8.0_60_x64/lib/ct.sym!/META-IN...
Status: RESOLVED FIXED
Alias: None
Product: debugger
Classification: Unclassified
Component: Java (show other bugs)
Version: 8.1
Hardware: PC Windows 10 x64
: P3 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-13 06:27 UTC by stwr
Modified: 2015-09-05 03:03 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 216099


Attachments
stacktrace (7.38 KB, text/plain)
2015-08-13 06:27 UTC, stwr
Details

Note You need to log in before you can comment on or make changes to this bug.
Description stwr 2015-08-13 06:27:46 UTC
Build: NetBeans IDE Dev (Build 201508120002)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.60-b23, Java(TM) SE Runtime Environment, 1.8.0_60-ea-b25
OS: Windows 10

User Comments:
stwr: I was debugging the MemoryView project and playing around exception breakpoints. The exception has been thrown when the debugger hit the breakpoint.

GUEST: error to report




Stacktrace: 
java.lang.AssertionError: Filling jar:file:/D:/java/jdk1.8.0_60_x64/lib/ct.sym!/META-INF/sym/rt.jar/java/lang/System.class during jar:file:/D:/java/jdk1.8.0_60_x64/lib/ct.sym!/META-INF/sym/rt.jar/java/lang/Integer.class
java.util.zip.ZipFile.getInputStream(ZipFile.java:350)
org.netbeans.modules.java.source.parsing.FileObjects$CachedZipFileObject.openInputStream(FileObjects.java:1525)
com.sun.tools.javac.jvm.ClassReader.fillIn(ClassReader.java:2563)
com.sun.tools.javac.jvm.ClassReader.complete(ClassReader.java:2484)
com.sun.tools.javac.jvm.ClassReader.access$000(ClassReader.java:77)
com.sun.tools.javac.jvm.ClassReader$1.complete(ClassReader.java:244)
com.sun.tools.javac.code.Symbol.complete(Symbol.java:577)
com.sun.tools.javac.code.Symbol$ClassSymbol.complete(Symbol.java:1061)
com.sun.tools.javac.code.Symbol$ClassSymbol.members(Symbol.java:995)
com.sun.tools.javac.jvm.ClassReader$AnnotationDeproxy.visitEnumAttributeProxy(ClassReader.java:1871)
com.sun.tools.javac.jvm.ClassReader$EnumAttributeProxy.accept(Class
   at com.sun.tools.javac.util.Assert.error(Assert.java:133)
   at com.sun.tools.javac.jvm.ClassReader.fillIn(ClassReader.java:2552)
   at com.sun.tools.javac.jvm.ClassReader.complete(ClassReader.java:2484)
   at com.sun.tools.javac.jvm.ClassReader.access$000(ClassReader.java:77)
   at com.sun.tools.javac.jvm.ClassReader$1.complete(ClassReader.java:244)
   at com.sun.tools.javac.code.Symbol.complete(Symbol.java:577)
Comment 1 stwr 2015-08-13 06:27:48 UTC
Created attachment 155321 [details]
stacktrace
Comment 2 Dusan Balek 2015-09-02 11:33:18 UTC
As can be seen from the attchaed messages.log, there is single javac instance used from two different debugger threads simultaneously.
Comment 3 Martin Entlicher 2015-09-04 12:35:39 UTC
Fixed by changeset:   291615:5200c3e6f221
http://hg.netbeans.org/core-main/rev/5200c3e6f221
Comment 4 Quality Engineering 2015-09-05 03:03:07 UTC
Integrated into 'main-silver', will be available in build *201509050002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/5200c3e6f221
User: mentlicher@netbeans.org
Log: #254334: Better synchronize the access to CompilationController.