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 252879 - NullPointerException at javax.swing.text.JTextComponent.getSelectionStart
Summary: NullPointerException at javax.swing.text.JTextComponent.getSelectionStart
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Navigation (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Alexander Simon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-08 15:20 UTC by Alexander Simon
Modified: 2015-09-04 01:24 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 217810


Attachments
stacktrace (5.96 KB, text/plain)
2015-06-08 15:21 UTC, Alexander Simon
Details
stacktrace (5.95 KB, text/plain)
2015-09-01 05:09 UTC, Milos Kleint
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Simon 2015-06-08 15:20:58 UTC
Build: Oracle Internal IDE 20150608-4743c59700af
VM: Java HotSpot(TM) 64-Bit Server VM, 24.75-b04, Java(TM) SE Runtime Environment, 1.7.0_75-b13
OS: SunOS

User Comments:
alexvsimon: close editor




Stacktrace: 
java.lang.NullPointerException
   at javax.swing.text.JTextComponent.getSelectionStart(JTextComponent.java:1819)
   at org.netbeans.modules.cnd.refactoring.hints.infrastructure.HintAction.getCurrentDocument(HintAction.java:123)
   at org.netbeans.modules.cnd.refactoring.hints.infrastructure.HintAction.updateEnabled(HintAction.java:72)
   at org.netbeans.modules.cnd.refactoring.hints.infrastructure.HintAction.propertyChange(HintAction.java:154)
   at org.openide.util.WeakListenerImpl$PropertyChange.propertyChange(WeakListenerImpl.java:215)
   at java.beans.PropertyChangeSupport.fire(PropertyChangeSupport.java:335)
Comment 1 Alexander Simon 2015-06-08 15:21:00 UTC
Created attachment 154109 [details]
stacktrace
Comment 2 Milos Kleint 2015-09-01 05:09:15 UTC
Created attachment 155789 [details]
stacktrace

closed xml file
Comment 3 Alexander Simon 2015-09-02 17:39:24 UTC
fixed, change set:
http://hg.netbeans.org/cnd-main/rev/ce9f85e57973
Comment 4 Quality Engineering 2015-09-04 01:24:26 UTC
Integrated into 'main-silver', will be available in build *201509040002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/ce9f85e57973
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixed Bug #252879 NullPointerException at javax.swing.text.JTextComponent.getSelectionStart