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 268376 - NullPointerException: The sources[0] parameter cannot be null
Summary: NullPointerException: The sources[0] parameter cannot be null
Status: NEW
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: 8.2
Hardware: All All
: P3 normal (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-06 12:16 UTC by Tomas Mysik
Modified: 2017-08-13 13:11 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 204131


Attachments
stacktrace (2.50 KB, text/plain)
2016-10-06 12:16 UTC, Tomas Mysik
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Mysik 2016-10-06 12:16:40 UTC
Build: NetBeans IDE 8.2 (Build 201609300101)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.101-b13, Java(TM) SE Runtime Environment, 1.8.0_101-b13
OS: Linux

User Comments:
tmysik: editing JS file

GUEST: javscript autocomlete ctrl+space

NukemBy: Removed some source files outside NetBeans




Stacktrace: 
java.lang.NullPointerException: The sources[0] parameter cannot be null
   at org.openide.util.Parameters.notNull(Parameters.java:89)
   at org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:103)
   at org.netbeans.modules.javascript2.editor.JsCodeCompletion.documentElement(JsCodeCompletion.java:319)
   at org.netbeans.modules.csl.editor.completion.GsfCompletionDoc.<init>(GsfCompletionDoc.java:116)
   at org.netbeans.modules.csl.editor.completion.GsfCompletionDoc.create(GsfCompletionDoc.java:137)
   at org.netbeans.modules.csl.editor.completion.GsfCompletionProvider$JavaCompletionQuery.resolveDocumentation(GsfCompletionProvider.java:553)
Comment 1 Tomas Mysik 2016-10-06 12:16:43 UTC
Created attachment 162365 [details]
stacktrace
Comment 2 Exceptions Reporter 2017-08-13 13:11:00 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=204131