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.
This bug was originally marked as duplicate of bug 163995, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related. Build: NetBeans IDE 6.9 (Build 201006101454) VM: Java HotSpot(TM) Server VM, 17.0-b16, Java(TM) SE Runtime Environment, 1.6.0_21-b06 OS: Windows XP User Comments: mpetras: Trying to use code completion for name of an exception in the "throws" declaration of a method. On the first attempt, I get the exception (error), the second time it always works. Stacktrace: java.lang.AssertionError: isSubtype 12 at com.sun.tools.javac.code.Types$5.visitType(Types.java:384) at com.sun.tools.javac.code.Types$5.visitType(Types.java:365) at com.sun.tools.javac.code.Types$DefaultTypeVisitor.visitMethodType(Types.java:3428) at com.sun.tools.javac.code.Type$MethodType.accept(Type.java:807) at com.sun.tools.javac.code.Types$DefaultTypeVisitor.visit(Types.java:3424) at com.sun.tools.javac.code.Types.isSubtype(Types.java:361)
Created attachment 100828 [details] stacktrace
Created attachment 109370 [details] stacktrace
Integrated into 'main-golden' Changeset: http://hg.netbeans.org/main-golden/rev/8205d68aead0 User: Dusan Balek <dbalek@netbeans.org> Log: Modified to prevent 'AssertionError: isSubtype 12' - see issue #188662.
This bug already has 5 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=171366
Created attachment 111130 [details] stacktrace
Created attachment 113911 [details] stacktrace keeps on popping up
Created attachment 117092 [details] Dump file as requested Just opened ShowFailures.java and moved caret around a bit; did not make any edits.
Created attachment 117094 [details] stacktrace
*** Bug 206068 has been marked as a duplicate of this bug. ***
Created attachment 118168 [details] Dump file again
Created attachment 121918 [details] Dump file
Created attachment 160141 [details] stacktrace goto line from analyze stack window
Created attachment 160145 [details] stacktrace debug allpication
Created attachment 160150 [details] stacktrace don't remember, but probably change import from package.OuterClass.Nested to package.OuterClass.*
Created attachment 160172 [details] stacktrace Edit java code. Replacing direct field access with access through getter
Created attachment 160173 [details] stacktrace While debugging maven java project.
Created attachment 160174 [details] stacktrace While debugging maven java project.
Created attachment 160208 [details] stacktrace Editing a JUnit test Java file
Created attachment 160240 [details] stacktrace Browsing code in SwingInterop example
Created attachment 160255 [details] stacktrace Exception occured after paste some String?s to java-class.
Created attachment 160257 [details] stacktrace Exception occured while debugging in a java-file.
Created attachment 160258 [details] stacktrace Exception occured while debugging in a java-file.
Product Version: NetBeans IDE Dev (Build 201606300002) Java: 1.8.0_92; Java HotSpot(TM) 64-Bit Server VM 25.92-b14 Runtime: Java(TM) SE Runtime Environment 1.8.0_92-b14 System: Windows 10 version 10.0 running on amd64; Cp1252; en_GB (nb) It looks like this bug is being seen more frequently; I've already seen multiple times using 8.2 development version. The bug appears to be in the compiler but seems to be exposed when using 8.2 development version. Error I see now is: java.lang.AssertionError: isSubtype METHOD at com.sun.tools.javac.code.Types$4.visitType(Types.java:1031) at com.sun.tools.javac.code.Types$4.visitType(Types.java:1007) at com.sun.tools.javac.code.Types$DefaultTypeVisitor.visitMethodType(Types.java:4703) at com.sun.tools.javac.code.Type$MethodType.accept(Type.java:1459) at com.sun.tools.javac.code.Types$DefaultTypeVisitor.visit(Types.java:4699) at com.sun.tools.javac.code.Types.isSubtype(Types.java:1003) at com.sun.tools.javac.code.Types.isSubtype(Types.java:974) at com.sun.tools.javac.code.Types.isSubtypeUncheckedInternal(Types.java:929) at com.sun.tools.javac.code.Types.isSubtypeUnchecked(Types.java:915) at com.sun.tools.javac.comp.Resolve$MethodCheckContext.compatible(Resolve.java:980) at com.sun.tools.javac.comp.Check.checkType(Check.java:571)
Product Version: NetBeans IDE Dev (Build 201606300002) Java: 1.8.0_92; Java HotSpot(TM) 64-Bit Server VM 25.92-b14 Runtime: Java(TM) SE Runtime Environment 1.8.0_92-b14 System: Windows 10 version 10.0 running on amd64; Cp1252; en_GB (nb) Exception is thrown when opening file SwingInterop from the Netbeans SwingInterop examples. Reproducible.
Created attachment 160317 [details] stacktrace Debugging a maven project.
This bug already has 50 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=171366
Created attachment 160344 [details] stacktrace ????
Created attachment 160360 [details] stacktrace attempt to step into a method when debugging a test
Created attachment 160392 [details] stacktrace Remote debugging a maven project.
Created attachment 160407 [details] stacktrace Ran I&T ALL Analyzers on Apache Commons Collection 4.0
Fixed in jet-main. http://hg.netbeans.org/jet-main/rev/94e4745c47c9 http://hg.netbeans.org/main/nb-javac/rev/836d1f5c59e5
Integrated into 'main-silver', will be available in build *201607210002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/94e4745c47c9 User: Dusan Balek <dbalek@netbeans.org> Log: Issues #188662 and ##262592 - fixed.
*** Bug 262677 has been marked as a duplicate of this bug. ***
*** Bug 267241 has been marked as a duplicate of this bug. ***