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 256942 - NullPointerException at javax.swing.text.JTextComponent.getSelectionStart
Summary: NullPointerException at javax.swing.text.JTextComponent.getSelectionStart
Status: NEW
Alias: None
Product: editor
Classification: Unclassified
Component: Completion & Templates (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-03 07:15 UTC by Exceptions Reporter
Modified: 2018-02-02 12:05 UTC (History)
10 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 218805


Attachments
stacktrace (609 bytes, text/plain)
2015-12-03 07:15 UTC, Exceptions Reporter
Details
stacktrace (2.26 KB, text/plain)
2016-09-16 06:30 UTC, stefan79
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2015-12-03 07:15:04 UTC
Build: NetBeans IDE 8.1 (Build 201510222201)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.66-b17, Java(TM) SE Runtime Environment, 1.8.0_66-b17
OS: Windows 8.1

User Comments:
gtzabari: Clicked in editor.

dhaowoods: after mvn install

GUEST: .

clinuxrulz: Walked away to make a cup of coffee

GUEST: ...

GUEST: <?????????????????????????>a




Stacktrace: 
java.lang.NullPointerException
   at javax.swing.text.JTextComponent.getSelectionStart(JTextComponent.java:1770)
   at org.netbeans.lib.editor.codetemplates.SurroundWithFix.getFixes(SurroundWithFix.java:69)
   at org.netbeans.lib.editor.codetemplates.AbbrevDetection$2.run(AbbrevDetection.java:451)
   at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1443)
   at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:68)
   at org.openide.util.lookup.Lookups.executeWith(Lookups.java:303)
Comment 1 Exceptions Reporter 2015-12-03 07:15:06 UTC
Created attachment 157635 [details]
stacktrace
Comment 2 stefan79 2016-09-16 06:30:53 UTC
Created attachment 162072 [details]
stacktrace

Exception occured while CVS-Diff.