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 270071 - NullPointerException at org.netbeans.modules.cnd.highlight.semantic.actions.SemanticUtils.navigateToOccurrence
Summary: NullPointerException at org.netbeans.modules.cnd.highlight.semantic.actions.S...
Status: VERIFIED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Editor (show other bugs)
Version: Dev
Hardware: All All
: P3 normal (vote)
Assignee: Alexander Simon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-14 21:33 UTC by Andrew Krasny
Modified: 2017-04-24 16:44 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 228408


Attachments
stacktrace (2.97 KB, text/plain)
2017-03-14 21:33 UTC, Andrew Krasny
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Krasny 2017-03-14 21:33:56 UTC
Build: NetBeans IDE Dev (Build 20161129-fddc8d380cac)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.51-b03, Java(TM) SE Runtime Environment, 1.8.0_51-b16
OS: Mac OS X

User Comments:
akrasny: an attempt to jump to the next occurrence of the variable  (Alt-Down)




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.cnd.highlight.semantic.actions.SemanticUtils.navigateToOccurrence(SemanticUtils.java:122)
   at org.netbeans.modules.cnd.highlight.semantic.actions.GotoNextOccurrenceAction.actionPerformed(GotoNextOccurrenceAction.java:77)
   at org.netbeans.editor.BaseAction.actionPerformed(BaseAction.java:347)
   at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1663)
   at javax.swing.JComponent.processKeyBinding(JComponent.java:2882)
   at javax.swing.JComponent.processKeyBindings(JComponent.java:2929)
Comment 1 Andrew Krasny 2017-03-14 21:33:59 UTC
Created attachment 163838 [details]
stacktrace
Comment 2 Alexander Simon 2017-03-15 10:46:06 UTC
fixed in enum, branch release82, change set 84360f9a48da
Comment 3 Quality Engineering 2017-03-24 02:53:20 UTC
Integrated into 'main-silver', will be available in build *201703240002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/35a5837013cb
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixed Bug #270071 NullPointerException at org.netbeans.modules.cnd.highlight.semantic.actions.SemanticUtils.navigateToOccurrence
(transplanted from 84360f9a48dab56da634d41684f33d9e2695ce34)
Comment 4 ilia 2017-04-13 11:12:53 UTC
https://netbeans.org/bugzilla/show_bug.cgi?id=270071 Changesets:
    http://hg.netbeans.org/releases/rev/84360f9a48da # fixed Bug #270071 NullPointerException at org.netbeans.modules.cnd.highlight.semantic.actions.SemanticUtils.navigateToOccurrence
Comment 5 Alexander Pepin 2017-04-24 16:44:42 UTC
Do not see such exception in netbeans-8.2-20170421.