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 255382 - NullPointerException at org.netbeans.modules.javascript2.requirejs.editor.RequireJSCodeCompletion.isClientCode
Summary: NullPointerException at org.netbeans.modules.javascript2.requirejs.editor.Req...
Status: RESOLVED FIXED
Alias: None
Product: javascript
Classification: Unclassified
Component: RequireJS (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-17 23:27 UTC by David Konecny
Modified: 2015-09-19 03:05 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 220012


Attachments
stacktrace (2.50 KB, text/plain)
2015-09-17 23:27 UTC, David Konecny
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Konecny 2015-09-17 23:27:09 UTC
Build: NetBeans IDE Dev (Build 201509090002)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.11-b03, Java(TM) SE Runtime Environment, 1.8.0_11-b12
OS: Linux

User Comments:
dkonecny: just opened code completion




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.javascript2.requirejs.editor.RequireJSCodeCompletion.isClientCode(RequireJSCodeCompletion.java:386)
   at org.netbeans.modules.javascript2.requirejs.editor.RequireJSCodeCompletion.complete(RequireJSCodeCompletion.java:245)
   at org.netbeans.modules.javascript2.editor.JsCodeCompletion.complete(JsCodeCompletion.java:252)
   at org.netbeans.modules.csl.editor.completion.GsfCompletionProvider$JavaCompletionQuery.addCodeCompletionItems(GsfCompletionProvider.java:623)
   at org.netbeans.modules.csl.editor.completion.GsfCompletionProvider$JavaCompletionQuery.resolveCompletion(GsfCompletionProvider.java:610)
   at org.netbeans.modules.csl.editor.completion.GsfCompletionProvider$JavaCompletionQuery.access$400(GsfCompletionProvider.java:250)
Comment 1 David Konecny 2015-09-17 23:27:10 UTC
Created attachment 156264 [details]
stacktrace
Comment 2 Petr Pisl 2015-09-18 07:21:39 UTC
Fixed in web-main.
Comment 3 Quality Engineering 2015-09-19 03:05:06 UTC
Integrated into 'main-silver', will be available in build *201509190002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/ba7b8a62312d
User: Petr Pisl <ppisl@netbeans.org>
Log: #255382 - NullPointerException at org.netbeans.modules.javascript2.requirejs.editor.RequireJSCodeCompletion.isClientCode