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 251637 - NullPointerException at javax.swing.text.JTextComponent.setCaretPosition
Summary: NullPointerException at javax.swing.text.JTextComponent.setCaretPosition
Status: NEW
Alias: None
Product: platform
Classification: Unclassified
Component: Text (show other bugs)
Version: 8.1
Hardware: All All
: P2 normal (vote)
Assignee: Miloslav Metelka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-03 16:43 UTC by Andrew Krasny
Modified: 2017-06-30 15:10 UTC (History)
8 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 216558


Attachments
stacktrace (1.26 KB, text/plain)
2015-04-03 16:43 UTC, Andrew Krasny
Details
stacktrace (1.26 KB, text/plain)
2015-07-10 12:11 UTC, Alexander Simon
Details
stacktrace (1.26 KB, text/plain)
2015-08-19 18:10 UTC, emiddio
Details
stacktrace (1.26 KB, text/plain)
2015-08-24 15:50 UTC, Martin Fousek
Details
stacktrace (1.26 KB, text/plain)
2016-11-29 22:57 UTC, Andrew Krasny
Details
stacktrace (1.26 KB, text/plain)
2017-06-19 10:31 UTC, Andrew Krasny
Details
stacktrace (1.26 KB, text/plain)
2017-06-30 15:10 UTC, tbrunhoff
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Krasny 2015-04-03 16:43:37 UTC
Build: NetBeans IDE Dev (Build 20150402-422f58d14079)
VM: OpenJDK 64-Bit Server VM, 25.20-b23, OpenJDK Runtime Environment, 1.8.0_20-b26
OS: Mac OS X

User Comments:
akrasny: Occured right after stopping a C++ debug session (with stop button)




Stacktrace: 
java.lang.NullPointerException
   at javax.swing.text.JTextComponent.setCaretPosition(JTextComponent.java:1631)
   at org.openide.text.DocumentOpenClose$DocumentLoad$1.run(DocumentOpenClose.java:806)
   at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
   at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:744)
   at java.awt.EventQueue.access$400(EventQueue.java:97)
   at java.awt.EventQueue$3.run(EventQueue.java:697)
Comment 1 Andrew Krasny 2015-04-03 16:43:39 UTC
Created attachment 153030 [details]
stacktrace
Comment 2 Alexander Simon 2015-07-10 12:11:11 UTC
Created attachment 154560 [details]
stacktrace

debug
Comment 3 Exceptions Reporter 2015-08-13 12:21:38 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=216558
Comment 4 emiddio 2015-08-19 18:10:30 UTC
Created attachment 155462 [details]
stacktrace

closed window
Comment 5 Martin Fousek 2015-08-24 15:50:33 UTC
Created attachment 155587 [details]
stacktrace

get reset on the BG && closed all tabs in NetBeans
Comment 6 Exceptions Reporter 2016-02-17 18:49:51 UTC
This bug already has 10 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=216558
Comment 7 Andrew Krasny 2016-11-29 22:57:05 UTC
Created attachment 163084 [details]
stacktrace

I guess this happened when I stopped debugging session (remote c++)
Comment 8 Andrew Krasny 2017-06-19 10:31:26 UTC
Created attachment 164569 [details]
stacktrace

After invoking 'CloseAll' editor documents..
Comment 9 tbrunhoff 2017-06-30 15:10:33 UTC
Created attachment 164667 [details]
stacktrace

starting a debug session.
Comment 10 Exceptions Reporter 2017-06-30 15:10:39 UTC
This bug already has 20 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=216558