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 267984 - NullPointerException at org.netbeans.modules.javascript2.editor.navigation.DeclarationFinderImpl.processIndexResult
Summary: NullPointerException at org.netbeans.modules.javascript2.editor.navigation.De...
Status: RESOLVED FIXED
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: Dev
Hardware: All All
: P3 normal (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-09-12 21:34 UTC by Exceptions Reporter
Modified: 2016-12-06 07:05 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 226196


Attachments
stacktrace (2.52 KB, text/plain)
2016-09-12 21: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 2016-09-12 21:34:08 UTC
This bug was originally marked as duplicate of bug 256141, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE Dev (Build nbms-and-javadoc-601-on-20160912)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.60-b23, Java(TM) SE Runtime Environment, 1.8.0_60-b27
OS: Windows 7

User Comments:
luislobo: pressing control and hover over a javascript function name

luislobo: reading nodejs source code

mjanicek: Editing JS file

punchi: dont know what happened... didnt see any problem

GUEST: Work with Magento 2 (PHP) project.

j0inty: edit on javascript file

GUEST: I just try ctrl+R for JS var.




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.javascript2.editor.navigation.DeclarationFinderImpl.processIndexResult(DeclarationFinderImpl.java:356)
   at org.netbeans.modules.javascript2.editor.navigation.DeclarationFinderImpl.findDeclaration(DeclarationFinderImpl.java:292)
   at org.netbeans.modules.csl.editor.hyperlink.GoToSupport$2.run(GoToSupport.java:173)
   at org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:609)
   at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:153)
   at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:137)
Comment 1 Exceptions Reporter 2016-09-12 21:34:11 UTC
Created attachment 162017 [details]
stacktrace
Comment 2 Petr Pisl 2016-09-19 09:47:23 UTC
Fixed in web-main.
Comment 3 Quality Engineering 2016-09-20 02:37:35 UTC
Integrated into 'main-silver', will be available in build *201609200002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/4c1a99e4cd56
User: Petr Pisl <ppisl@netbeans.org>
Log: #267984 - NullPointerException at org.netbeans.modules.javascript2.editor.navigation.DeclarationFinderImpl.processIndexResult
Comment 4 Petr Pisl 2016-12-06 07:05:42 UTC
Transplanted to the releases/release82.