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 255228 - NullPointerException at javax.swing.text.JTextComponent.getSelectionStart
Summary: NullPointerException at javax.swing.text.JTextComponent.getSelectionStart
Status: RESOLVED FIXED
Alias: None
Product: php
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Mysik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-11 15:31 UTC by everflux
Modified: 2016-04-14 20:46 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 219884


Attachments
stacktrace (1.60 KB, text/plain)
2015-09-11 15:31 UTC, everflux
Details
stacktrace (1.58 KB, text/plain)
2015-10-09 05:58 UTC, Tomas Mysik
Details
stacktrace (1.60 KB, text/plain)
2015-10-13 11:10 UTC, powellblyth
Details
stacktrace (1.60 KB, text/plain)
2015-11-06 23:25 UTC, kellerheikkila
Details

Note You need to log in before you can comment on or make changes to this bug.
Description everflux 2015-09-11 15:31:34 UTC
Build: NetBeans IDE Dev (Build 201509070002)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.60-b23, Java(TM) SE Runtime Environment, 1.8.0_60-b27
OS: Linux

User Comments:
everflux: Scrolling in the git history view/diff of a single file. (I can't remember that I selected anything)




Stacktrace: 
java.lang.NullPointerException
   at javax.swing.text.JTextComponent.getSelectionStart(JTextComponent.java:1770)
   at org.netbeans.modules.php.dbgp.annotations.ToolTipAnnotation.getIdentifier(ToolTipAnnotation.java:171)
   at org.netbeans.modules.php.dbgp.annotations.ToolTipAnnotation.evaluate(ToolTipAnnotation.java:155)
   at org.netbeans.modules.php.dbgp.annotations.ToolTipAnnotation.access$000(ToolTipAnnotation.java:80)
   at org.netbeans.modules.php.dbgp.annotations.ToolTipAnnotation$1.run(ToolTipAnnotation.java:95)
   at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
Comment 1 everflux 2015-09-11 15:31:35 UTC
Created attachment 156108 [details]
stacktrace
Comment 2 Tomas Mysik 2015-10-09 05:58:04 UTC
Created attachment 156640 [details]
stacktrace

- no file opened in the editor
- select 2 php files in the Projects view
- "diff" them
Comment 3 powellblyth 2015-10-13 11:10:30 UTC
Created attachment 156687 [details]
stacktrace

reporting an error, failed when error report marked as sent. Think I'll restart
Comment 4 kellerheikkila 2015-11-06 23:25:19 UTC
Created attachment 157199 [details]
stacktrace

Committing change to git
Comment 5 Tomas Mysik 2015-11-09 11:30:43 UTC
Should be fixed now.

http://hg.netbeans.org/web-main/rev/32243ce70af8
Comment 6 Quality Engineering 2015-11-10 02:32:01 UTC
Integrated into 'main-silver', will be available in build *201511100002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/32243ce70af8
User: Tomas Mysik <tmysik@netbeans.org>
Log: #255228 - NullPointerException at javax.swing.text.JTextComponent.getSelectionStart
Comment 7 sonnysavage 2016-04-14 20:46:13 UTC
This was marked as RESOLVED/FIXED back in November, but I'm just got the error today. Has the fix not been released?