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 229463 - NullPointerException: The fileObject parameter cannot be null
Summary: NullPointerException: The fileObject parameter cannot be null
Status: RESOLVED FIXED
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.4
Hardware: All All
: P2 normal (vote)
Assignee: Petr Hejl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-07 13:44 UTC by Marek Fukala
Modified: 2013-05-14 02:24 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 194289


Attachments
stacktrace (2.23 KB, text/plain)
2013-05-07 13:44 UTC, Marek Fukala
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marek Fukala 2013-05-07 13:44:03 UTC
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)
Comment 1 Marek Fukala 2013-05-07 13:44:06 UTC
Created attachment 134188 [details]
stacktrace
Comment 2 Marek Fukala 2013-05-07 13:57:23 UTC
100% reproducible on the knockout's $parent JS completion item. Very annoying => p2
Comment 3 Petr Hejl 2013-05-13 13:31:52 UTC
Fixed in web-main 667e48243ef5.
Comment 4 Quality Engineering 2013-05-14 02:24:36 UTC
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