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 270590

Summary: java.lang.NullPointerException at org.netbeans.modules.java.hints.bugs.InfiniteRecursion.run
Product: java Reporter: theshadow27 <theshadow27>
Component: HintsAssignee: Svata Dedic <sdedic>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.2   
Hardware: PC   
OS: Windows 7   
Issue Type: DEFECT Exception Reporter:
Attachments: log file

Description theshadow27 2017-05-08 17:37:26 UTC
Created attachment 164277 [details]
log file

INFO [org.netbeans.modules.java.hints.providers.code.CodeHintProviderImpl$WorkerImpl]: org.netbeans.modules.java.hints.bugs.InfiniteRecursion.run
java.lang.NullPointerException
	at com.sun.tools.javac.comp.Attr$ResultInfo.attr(Attr.java:496)
	at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:637)
	at com.sun.tools.javac.comp.Attr.attribType(Attr.java:696)
	at com.sun.tools.javac.comp.Attr.attribType(Attr.java:689)
	at com.sun.tools.javac.comp.MemberEnter.visitVarDef(MemberEnter.java:416)
	at com.sun.tools.javadoc.JavadocMemberEnter.visitVarDef(JavadocMemberEnter.java:86)


...

Caused: java.lang.reflect.InvocationTargetException
	at sun.reflect.GeneratedMethodAccessor124.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
[catch] at org.netbeans.modules.java.hints.providers.code.CodeHintProviderImpl$WorkerImpl.createErrors(CodeHintProviderImpl.java:340)
	at org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.runHint(HintsInvoker.java:821)
	at org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.access$400(HintsInvoker.java:113)
	at org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.runAndAdd(HintsInvoker.java:680)
	at org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.scan(HintsInvoker.java:699)
	at org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.scan(HintsInvoker.java:633)

...


SEVERE [org.openide.util.Exceptions]
java.lang.NullPointerException
	at com.sun.tools.javac.comp.Attr$ResultInfo.attr(Attr.java:496)
	at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:637)
	at com.sun.tools.javac.comp.Attr.attribType(Attr.java:696)


... there is an associated dump file too.
Comment 1 theshadow27 2017-05-08 17:39:34 UTC
This is possibly related to the second variety of Bug 250595 where 
	at com.sun.tools.javac.code.Types$SameTypeVisitor.visitType(Types.java:1283)

because that started happening right after this one in the log.