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 20130506-f4ecab7ca8c5) VM: Java HotSpot(TM) 64-Bit Server VM, 23.6-b04, Java(TM) SE Runtime Environment, 1.7.0_10-b31 OS: Mac OS X User Comments: peppertech: typing in a javascript file. When I typed " ko. " the error occured. GUEST: I pressed CTRL + Space inside a <script> tag, in a fresh HTML 5 project with google closure added as a JS library. mfukala: code completion i <div data-bind="value: xxx"/> Stacktrace: java.lang.NullPointerException: The fileObject parameter cannot be null at org.openide.util.Parameters.notNull(Parameters.java:89) at org.netbeans.modules.parsing.api.Source.create(Source.java:130) at org.netbeans.modules.javascript2.editor.JsCodeCompletion.document(JsCodeCompletion.java:223) at org.netbeans.modules.csl.editor.completion.GsfCompletionDoc.<init>(GsfCompletionDoc.java:110) at org.netbeans.modules.csl.editor.completion.GsfCompletionDoc.create(GsfCompletionDoc.java:120) at org.netbeans.modules.csl.editor.completion.GsfCompletionProvider$JavaCompletionQuery.resolveDocumentation(GsfCompletionProvider.java:541)
Created attachment 134188 [details] stacktrace
100% reproducible on the knockout's $parent JS completion item. Very annoying => p2
Fixed in web-main 667e48243ef5.
Integrated into 'main-golden', will be available in build *201305132300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/667e48243ef5 User: Petr Hejl <phejl@netbeans.org> Log: #229463 - NullPointerException: The fileObject parameter cannot be null