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 152919 - AssertionError: Filling jar:file:/C:/Java/jdk1.6.0_10/jre/lib/rt.jar!/java/io/Serializable.class during jar:file:/C:/WORK/konakart/lib/commons-lang-2.1.jar!/org/apache/commons/lang/exception/NestableE
Summary: AssertionError: Filling jar:file:/C:/Java/jdk1.6.0_10/jre/lib/rt.jar!/java/io...
Status: CLOSED FIXED
Alias: None
Product: debugger
Classification: Unclassified
Component: Java (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Martin Entlicher
URL:
Keywords:
: 153519 160041 160854 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-11-11 04:45 UTC by davti
Modified: 2010-04-29 09:45 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
stacktrace (8.40 KB, text/plain)
2008-11-11 04:45 UTC, davti
Details
stacktrace (2.20 KB, text/plain)
2008-12-24 10:23 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description davti 2008-11-11 04:45:33 UTC
Build: NetBeans IDE 6.5 RC2 (Build 200810270001)
VM: Java HotSpot(TM) Client VM, 11.0-b15, Java(TM) SE Runtime Environment, 1.6.0_10-b33
OS: Windows XP, 5.1, x86

Stacktrace: 
java.lang.AssertionError: Filling jar:file:/C:/Java/jdk1.6.0_10/jre/lib/rt.jar!/java/io/Serializable.class during jar:file:/C:/WORK/konakart/lib/commons-lang-2.1.jar!/org/apache/commons/lang/exception/NestableException.class
        at com.sun.tools.javac.jvm.ClassReader.fillIn(ClassReader.java:1898)
        at com.sun.tools.javac.jvm.ClassReader.complete(ClassReader.java:1840)
        at com.sun.tools.javac.code.Symbol.complete(Symbol.java:401)
        at com.sun.tools.javac.code.Symbol$ClassSymbol.complete(Symbol.java:784)
        at com.sun.tools.javac.code.Symbol$ClassSymbol.getSuperclass(Symbol.java:809)
        at com.sun.tools.javac.code.Types$.visitClassType(Types.java:1634)
Comment 1 davti 2008-11-11 04:45:38 UTC
Created attachment 73607 [details]
stacktrace
Comment 2 Dusan Balek 2008-11-28 09:01:56 UTC
Seems like a race condition. Is debugger accessing its javac instance from the single thread only?
Comment 3 Martin Entlicher 2008-11-28 17:05:44 UTC
There is no synchronization on debugger side.
javac has no synchronization, right? In that case we need to assure that it's synchronous on our side.
Comment 4 Martin Entlicher 2008-11-28 17:11:21 UTC
Moving to debuggerjpda module to fix the synchronization.
Comment 5 Martin Entlicher 2008-11-30 08:43:36 UTC
Synchronization is fixed in changeset:   110009:c1d1c43b4592
http://hg.netbeans.org/main/rev/c1d1c43b4592

Please verify if it resolved the problem.
Comment 6 Quality Engineering 2008-11-30 17:10:05 UTC
Integrated into 'main-golden', will be available in build *200811301401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/c1d1c43b4592
User: mentlicher@netbeans.org
Log: #152919 - Synchronized access to the private compilation controller.
Comment 7 Dusan Balek 2008-12-02 09:12:42 UTC
*** Issue 153519 has been marked as a duplicate of this issue. ***
Comment 8 Exceptions Reporter 2008-12-24 10:22:57 UTC
Build: NetBeans IDE 6.5 (Build 200811100001)
VM: Java HotSpot(TM) Client VM, 11.0-b16, Java(TM) SE Runtime Environment, 1.6.0_11-b03
OS: Windows XP, 5.1, x86

User Comments: 


Stacktrace: 
java.lang.AssertionError: Filling jar:file:/C:/Programme/NetBeans%206.5/javafx2/javafx-sdk1.0/lib/desktop/rt15.jar!/java/lang/Class.class during jar:file:/C:/Programme/NetBeans%206.5/javafx2/javafx-sdk1.0/lib/desktop/rt15.jar!/java/lang/Long.class
        at com.sun.tools.javac.jvm.ClassReader.fillIn(ClassReader.java:1864)
        at com.sun.tools.javac.jvm.ClassReader.complete(ClassReader.java:1807)
        at com.sun.tools.javac.code.Symbol.complete(Symbol.java:400)
        at com.sun.tools.javac.code.Symbol$ClassSymbol.complete(Symbol.java:777)
        at com.sun.tools.javac.jvm.ClassReader.loadClass(ClassReader.java:1981)
        at com.sun.tools.javafx.comp.JavafxClassReader.complete(JavafxClassReader.java:432)
Comment 9 Exceptions Reporter 2008-12-24 10:23:02 UTC
Created attachment 75296 [details]
stacktrace
Comment 10 Dusan Balek 2009-03-23 12:49:51 UTC
*** Issue 160854 has been marked as a duplicate of this issue. ***
Comment 11 Dusan Balek 2009-03-24 14:51:51 UTC
*** Issue 160041 has been marked as a duplicate of this issue. ***
Comment 12 Quality Engineering 2010-04-29 09:45:24 UTC
Verified ... and Closing all issues resolved into NetBeans 6.7 and earlier.