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 255231 - NullPointerException at org.netbeans.modules.javascript2.editor.doc.JsDocumentationCompleter$DocumentationGenerator$1.run
Summary: NullPointerException at org.netbeans.modules.javascript2.editor.doc.JsDocumen...
Status: RESOLVED FIXED
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-11 16:34 UTC by Exceptions Reporter
Modified: 2015-09-15 01:25 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 219886


Attachments
stacktrace (1.42 KB, text/plain)
2015-09-11 16:34 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2015-09-11 16:34:39 UTC
This bug was originally marked as duplicate of bug 217343, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 8.0.2 (Build 201411181905)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.25-b01, Java(TM) SE Runtime Environment, 1.7.0_25-b15
OS: Mac OS X

User Comments:
GUEST: opening ide




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.javascript2.editor.doc.JsDocumentationCompleter$DocumentationGenerator$1.run(JsDocumentationCompleter.java:135)
   at org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:598)
   at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:155)
   at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:139)
   at org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:206)
   at org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:203)
Comment 1 Exceptions Reporter 2015-09-11 16:34:41 UTC
Created attachment 156112 [details]
stacktrace
Comment 2 Petr Pisl 2015-09-14 13:06:17 UTC
I have fixed the case, when you pres ENTER at position marked via | in  this document:

/**|

function name(){



Fixed in web-main.
Comment 3 Quality Engineering 2015-09-15 01:25:03 UTC
Integrated into 'main-silver', will be available in build *201509150002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/2595c33396f3
User: Petr Pisl <ppisl@netbeans.org>
Log: #255231 - NullPointerException at org.netbeans.modules.javascript2.editor.doc.JsDocumentationCompleter.run