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 193862

Summary: NullPointerException at com.sun.tools.javac.code.Types$UnaryVisitor.visit
Product: java Reporter: ehsavoie <ehsavoie>
Component: CompilerAssignee: Dusan Balek <dbalek>
Status: RESOLVED WORKSFORME    
Severity: normal CC: asmotrich, bclemens, ehsavoie, FrantaM, fvogler, ivar_grimstad, jmichelberger, mmirilovic, peterwlynch, sreimers, velodiver
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 175392
Attachments: stacktrace
stacktrace
stacktrace

Description ehsavoie 2010-12-28 08:15:16 UTC
Build: NetBeans IDE Dev (Build 201012130001)
VM: Java HotSpot(TM) 64-Bit Server VM, 17.1-b03, Java(TM) SE Runtime Environment, 1.6.0_22-b04
OS: Linux

Stacktrace: 
java.lang.NullPointerException
   at com.sun.tools.javac.code.Types$UnaryVisitor.visit(Types.java:3643)
   at com.sun.tools.javac.code.Types$Subst.subst(Types.java:2182)
   at com.sun.tools.javac.code.Types.subst(Types.java:2156)
   at com.sun.tools.javac.comp.Infer.instantiateMethod(Infer.java:400)
   at com.sun.tools.javac.comp.Resolve.rawInstantiate(Resolve.java:393)
   at com.sun.tools.javac.comp.Resolve.instantiate(Resolve.java:428)
Comment 1 ehsavoie 2010-12-28 08:15:18 UTC
Created attachment 104545 [details]
stacktrace
Comment 2 Exceptions Reporter 2011-01-05 23:46:38 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=175392
Comment 3 Dusan Balek 2011-01-10 13:15:18 UTC
Do you have a reproducible test case?
Comment 4 FrantaM 2011-01-12 11:09:24 UTC
Created attachment 104906 [details]
stacktrace
Comment 5 sreimers 2011-01-18 15:21:26 UTC
Created attachment 105099 [details]
stacktrace
Comment 6 Exceptions Reporter 2011-01-21 21:57:26 UTC
This bug already has 10 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=175392
Comment 7 Exceptions Reporter 2011-03-30 15:10:01 UTC
This bug already has 100 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=175392
Comment 8 Dusan Balek 2011-03-30 15:19:35 UTC
Hard to fix without a reproducible test case.
Comment 9 sreimers 2011-03-30 15:22:58 UTC
Can I send you the reproducible case via private e-mail? (production code I would not like to post here, for your eyes only)
Comment 10 Marian Mirilovic 2011-05-30 09:13:45 UTC
103 reports and the latest report came from 7.0 Beta 2 (most of reports) Is anybody from cc-list able to reproduce this problem in final 7.0 ? If so please reopen.
Comment 11 Marian Mirilovic 2012-10-22 20:50:30 UTC
*** Bug 195069 has been marked as a duplicate of this bug. ***