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

Summary: NullPointerException: The sources[0] parameter cannot be null
Product: javascript Reporter: Tomas Mysik <tmysik>
Component: EditorAssignee: Petr Pisl <ppisl>
Status: NEW ---    
Severity: normal CC: NukemBy
Priority: P3    
Version: 8.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 204131
Attachments: stacktrace

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