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 Dev (Build 20160104-a8e46ac0d935) VM: Java HotSpot(TM) 64-Bit Server VM, 25.66-b17, Java(TM) SE Runtime Environment, 1.8.0_66-b17 OS: Linux User Comments: jglick: Bogus compiler errors. Stacktrace: java.lang.NullPointerException at org.netbeans.api.java.source.ElementUtilities.enclosingTypeElementImpl(ElementUtilities.java:154) at org.netbeans.api.java.source.ElementUtilities.enclosingTypeElement(ElementUtilities.java:149) at de.markiewb.netbeans.plugins.hints.structure.MethodNameHint.convert(MethodNameHint.java:79) at sun.reflect.GeneratedMethodAccessor75.invoke(GeneratedMethodAccessor75.java:0) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497)
Created attachment 157988 [details] stacktrace
not a core NB code. ElementUtilities.enclosingTypeElement() seems to get null parameter.
(In reply to Svata Dedic from comment #2) > not a core NB code. ElementUtilities.enclosingTypeElement() seems to get > null parameter. I will fix it. https://github.com/markiewb/nb-additional-hints/issues/64
Fixed in https://github.com/markiewb/nb-additional-hints/releases/tag/v1.6.0.5
Hmm, http://plugins.netbeans.org/plugin/47589/additional-java-hints only seems to have 1.5.0?
Hmm, http://plugins.netbeans.org/plugin/47589/additional-java-hints only seems to have 1.5.0? -> Uploaded to plugin portal