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
Depends on:
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

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

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

java.lang.NullPointerException: The sources[0] parameter cannot be null
   at org.openide.util.Parameters.notNull(
   at org.netbeans.modules.parsing.api.ParserManager.parse(
   at org.netbeans.modules.javascript2.editor.JsCodeCompletion.documentElement(
   at org.netbeans.modules.csl.editor.completion.GsfCompletionDoc.<init>(
   at org.netbeans.modules.csl.editor.completion.GsfCompletionDoc.create(
   at org.netbeans.modules.csl.editor.completion.GsfCompletionProvider$JavaCompletionQuery.resolveDocumentation(
Comment 1 Tomas Mysik 2016-10-06 12:16:43 UTC
Created attachment 162365 [details]
Comment 2 Exceptions Reporter 2017-08-13 13:11:00 UTC
This bug already has 5 duplicates