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 256004 - NullPointerException at javax.swing.text.JTextComponent.getCaretPosition
Summary: NullPointerException at javax.swing.text.JTextComponent.getCaretPosition
Status: NEW
Alias: None
Product: editor
Classification: Unclassified
Component: Navigation (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Milutin Kristofic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-19 02:00 UTC by 22bueno
Modified: 2015-10-19 02:00 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 220613


Attachments
stacktrace (4.43 KB, text/plain)
2015-10-19 02:00 UTC, 22bueno
Details

Note You need to log in before you can comment on or make changes to this bug.
Description 22bueno 2015-10-19 02:00:41 UTC
Build: NetBeans IDE 8.1 Beta (Build 201508041349)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.45-b02, Java(TM) SE Runtime Environment, 1.8.0_45-b14
OS: Windows 7

User Comments:
22bueno: <record>
  <date>2015-10-18T23:51:41</date>
  <millis>1445219501435</millis>
  <sequence>4812</sequence>
  <level>500</level>
  <thread>20</thread>
  <message>LOG_WINDOW_DEACTIVATED</message>
  <key>LOG_WINDOW_DEACTIVATED</key>
  <catalog>org.netbeans.core.ui.warmup.Bundle</catalog>
</record>
<record>
  <date>2015-10-18T23:51:58</date>
  <millis>1445219518352</millis>
  <sequence>4815</sequence>
  <level>500</level>
  <thread>670</thread>
  <message>LOG_WINDOW_ACTIVATED</message>
  <key>LOG_WINDOW_ACTIVATED</key>
  <catalog>org.netbeans.core.ui.warmup.Bundle</catalog>
  <param>74</param>
</record>
<record>
  <date>2015-10-18T23:52:40</date>
  <millis>1445219560096</millis>
  <sequence>4951</sequence>
  <level>1000</level>
  <thread>20</thread>
  <exception>
    <message>java.lang.NullPointerException</message>
    <frame>
      <class>javax.swing.text.JTextComponent</class>
      <method>getCaretPosition</method>
      <line>1644</line>
      <file>${java.home}lib/rt.jar</file>
    </f




Stacktrace: 
java.lang.NullPointerException
   at javax.swing.text.JTextComponent.getCaretPosition(JTextComponent.java:1644)
   at org.netbeans.modules.editor.errorstripe.AnnotationView.getCurrentLine(AnnotationView.java:295)
   at org.netbeans.modules.editor.errorstripe.AnnotationView.paintComponent(AnnotationView.java:351)
   at javax.swing.JComponent.paint(JComponent.java:1056)
   at javax.swing.JComponent.paintChildren(JComponent.java:889)
   at javax.swing.JComponent.paint(JComponent.java:1065)
Comment 1 22bueno 2015-10-19 02:00:43 UTC
Created attachment 156788 [details]
stacktrace