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 242651 - NullPointerException at org.netbeans.modules.javascript2.editor.navigation.DeclarationFinderImpl.findDeclaration
Summary: NullPointerException at org.netbeans.modules.javascript2.editor.navigation.De...
Status: VERIFIED 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: 2014-03-07 08:58 UTC by atlioddsson
Modified: 2014-04-27 12:51 UTC (History)
5 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 195521


Attachments
stacktrace (2.14 KB, text/plain)
2014-03-07 08:58 UTC, atlioddsson
Details
stacktrace (2.14 KB, text/plain)
2014-03-12 13:52 UTC, Ondrej Vrabec
Details

Note You need to log in before you can comment on or make changes to this bug.
Description atlioddsson 2014-03-07 08:58:14 UTC
Build: NetBeans IDE 8.0 Beta (Build 201401141042)
VM: Java HotSpot(TM) 64-Bit Server VM, 24.51-b03, Java(TM) SE Runtime Environment, 1.7.0_51-b13
OS: Windows 8

User Comments:
peterd1212: Exception during refactoring with CTR+C/CTR+V - in JavaScript file.

atlioddsson: just recently pasted some JSON objects from Excel to the editor

GUEST: Do not know how to reproduce

naugtur: just after removing selection with ctrl+e




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.javascript2.editor.navigation.DeclarationFinderImpl.findDeclaration(DeclarationFinderImpl.java:111)
   at org.netbeans.modules.csl.editor.hyperlink.GoToSupport$2.run(GoToSupport.java:172)
   at org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:593)
   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)
Comment 1 atlioddsson 2014-03-07 08:58:16 UTC
Created attachment 145833 [details]
stacktrace
Comment 2 Ondrej Vrabec 2014-03-12 13:52:09 UTC
Created attachment 145972 [details]
stacktrace

thinking about other things and just pressing Ctrl+S for fun many times in a row
Comment 3 Petr Pisl 2014-04-04 09:27:46 UTC
Should be fixed in web-main
Comment 4 Quality Engineering 2014-04-05 03:27:42 UTC
Integrated into 'main-silver', will be available in build *201404050001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/b927f5b6a93a
User: Petr Pisl <ppisl@netbeans.org>
Log: #242651 - NullPointerException at org.netbeans.modules.javascript2.editor.navigation.DeclarationFinderImpl.findDeclaration
Comment 5 Vladimir Riha 2014-04-16 07:20:10 UTC
Cannot reproduce, verified

Product Version: NetBeans IDE Dev (Build 201404150001)
Java: 1.8.0; Java HotSpot(TM) Client VM 25.0-b70
Runtime: Java(TM) SE Runtime Environment 1.8.0-b132
System: Linux version 3.2.0-60-generic-pae running on i386; UTF-8; en_US (nb)
Comment 6 Petr Pisl 2014-04-17 07:51:07 UTC
Transplanted to the releases/release80 branch.
Comment 7 Quality Engineering 2014-04-24 02:06:52 UTC
Integrated into 'releases/release80', will be available in build *201404240045* or newer. Wait for official and publicly available build.

Changeset: http://hg.netbeans.org/releases/rev/1998eaae8cba
User: Petr Pisl <ppisl@netbeans.org>
Log: #242651 - NullPointerException at org.netbeans.modules.javascript2.editor.navigation.DeclarationFinderImpl.findDeclaration
Comment 8 Vladimir Riha 2014-04-27 12:51:02 UTC
Cannot reproduce in patch

Product Version: NetBeans IDE 8.0 (Build 201403101706)
Updates: NetBeans IDE is updated to version NetBeans 8.0 Patch 1
Java: 1.7.0_55; Java HotSpot(TM) Client VM 24.55-b03
Runtime: Java(TM) SE Runtime Environment 1.7.0_55-b13
System: Linux version 3.2.0-60-generic-pae running on i386; UTF-8; en_US (nb)