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.
Build: NetBeans IDE 7.4 (Build 20131002-1083ea2694ae) VM: Java HotSpot(TM) 64-Bit Server VM, 23.25-b01, Java(TM) SE Runtime Environment, 1.7.0_25-b15 OS: SunOS User Comments: vv159170: typing template class declaration Stacktrace: java.lang.NullPointerException at com.sun.tools.javac.comp.Attr.attribTypeVariables(Attr.java:721) at com.sun.tools.javac.comp.MemberEnter.complete(MemberEnter.java:1259) at com.sun.tools.javac.code.Symbol.complete(Symbol.java:553) at com.sun.tools.javac.code.Symbol$ClassSymbol.complete(Symbol.java:1020) at com.sun.tools.javac.code.Symbol$ClassSymbol.flags(Symbol.java:949) at com.sun.tools.javac.code.Symbol$ClassSymbol.getKind(Symbol.java:1063)
Created attachment 140717 [details] stacktrace
This bug already has 5 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=204315
Created attachment 156821 [details] stacktrace rename type problem occurt whilst renaming a second type
Created attachment 156823 [details] stacktrace Reproducable: rename 2nd type
Created attachment 156827 [details] stacktrace rename typ, same problem in today's build
NB completely freezes (need to be killed by taskmanager) after this problem occured and a file should be saved.
Created attachment 156830 [details] stacktrace Trying to reproduce issue #256037. Happened after closing the first exception report and invoking Ctrl+S.
Fixed in jet-main. http://hg.netbeans.org/jet-main/rev/af642218148a http://hg.netbeans.org/main/nb-javac/rev/3d13b661be63
verified in trunk
The fix seems good to me.
Integrated into release81. http://hg.netbeans.org/releases/rev/12d53b7efa45
Integrated into 'main-silver', will be available in build *201510220002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/af642218148a User: Dusan Balek <dbalek@netbeans.org> Log: Issue #236636 - NullPointerException at com.sun.tools.javac.comp.Attr.attribTypeVariables - fixed.
verified Product Version: NetBeans IDE 8.1 (Build 201510222201) Java: 1.8.0_65; Java HotSpot(TM) 64-Bit Server VM 25.65-b01 Runtime: Java(TM) SE Runtime Environment 1.8.0_65-b17 System: Windows 7 version 6.1 running on amd64; Cp1250; en_US (nb) User directory: C:\Users\jprox\AppData\Roaming\NetBeans\8.1 Cache directory: C:\Users\jprox\AppData\Local\NetBeans\Cache\8.1