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 - java.lang.NullPointerException at org.netbeans.modules.java.hints.bugs.InfiniteRecursion.run
Summary: java.lang.NullPointerException at org.netbeans.modules.java.hints.bugs.Infini...
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Hints (show other bugs)
Version: 8.2
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-08 17:37 UTC by theshadow27
Modified: 2017-05-08 17:39 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
log file (36.08 KB, text/plain)
2017-05-08 17:37 UTC, theshadow27
Details

Note You need to log in before you can comment on or make changes to this bug.
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.