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 201311130002) VM: Java HotSpot(TM) 64-Bit Server VM, 24.45-b08, Java(TM) SE Runtime Environment, 1.7.0_45-b18 OS: Windows 7 User Comments: jskrivanek: Create JSON file from template and try to invoke code completion. Stacktrace: java.lang.NullPointerException at org.netbeans.modules.html.angular.editor.AngularJsDeclarationFinder.getReferenceSpan(AngularJsDeclarationFinder.java:144) at org.netbeans.modules.javascript2.editor.navigation.DeclarationFinderImpl.getReferenceSpan(DeclarationFinderImpl.java:226) at org.netbeans.modules.csl.editor.hyperlink.GoToSupport.identifyActiveFindersLanguage(GoToSupport.java:387) at org.netbeans.modules.csl.editor.hyperlink.GoToSupport.getIdentifierSpan(GoToSupport.java:350) at org.netbeans.modules.csl.editor.hyperlink.GsfHyperlinkProvider.getHyperlinkSpan(GsfHyperlinkProvider.java:77) at org.netbeans.modules.csl.editor.hyperlink.GsfHyperlinkProvider.isHyperlinkPoint(GsfHyperlinkProvider.java:73)
Created attachment 142129 [details] stacktrace
Created attachment 142259 [details] stacktrace having opened JSON file
Seems to happen every time you press Ctrl in JSON file, so e.g. saving via Ctrl+S is not possible etc.
Created attachment 142414 [details] stacktrace Editing a JSON file.
This bug already has 5 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=205221
Fixed in web-main.