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.
This bug was originally marked as duplicate of bug 257393, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related. Build: NetBeans IDE Dev (Build 20160928-1b0104a56292) VM: Java HotSpot(TM) 64-Bit Server VM, 25.92-b14, Java(TM) SE Runtime Environment, 1.8.0_92-b14 OS: Linux User Comments: jglick: Editing Java sources. Stacktrace: java.lang.NullPointerException at org.netbeans.api.java.source.ElementUtilities.enclosingTypeElementImpl(ElementUtilities.java:159) at org.netbeans.api.java.source.ElementUtilities.enclosingTypeElement(ElementUtilities.java:154) at de.markiewb.netbeans.plugins.hints.structure.MethodNameHint.convert(MethodNameHint.java:79) at sun.reflect.GeneratedMethodAccessor120.invoke(GeneratedMethodAccessor120.java:0) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498)
Created attachment 162357 [details] stacktrace
This bug already has 5 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=226607
Third-party plugin issue, should not pass null to ElementUtilities.enclosingTypeElement()
Created attachment 163199 [details] stacktrace Not remember
Filed as https://github.com/markiewb/nb-additional-hints/issues/77
Fixed in https://github.com/markiewb/nb-additional-hints/releases/tag/v1.6.0.10 Uploaded to plugin portal