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 155664 - NullPointerException at javax.swing.text.JTextComponent.getCaretPosition
Summary: NullPointerException at javax.swing.text.JTextComponent.getCaretPosition
Status: RESOLVED WONTFIX
Alias: None
Product: editor
Classification: Unclassified
Component: CSL (API & infrastructure) (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@editor
URL: http://statistics.netbeans.org/except...
Keywords:
: 153285 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-12-17 14:41 UTC by ki4ngel
Modified: 2009-11-02 10:58 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 120416


Attachments
stacktrace (426 bytes, text/plain)
2008-12-17 14:41 UTC, ki4ngel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ki4ngel 2008-12-17 14:41:46 UTC
Build: NetBeans IDE Dev (Build 200812170201)
VM: Java HotSpot(TM) Client VM, 1.5.0_16-133, Java(TM) 2 Runtime Environment, Standard Edition, 1.5.0_16-b06-284
OS: Mac OS X, 10.5.6, i386

User Comments:
GUEST: trying to close a file that was modified outside netbeans



Stacktrace: 
java.lang.NullPointerException
        at javax.swing.text.JTextComponent.getCaretPosition(JTextComponent.java:1412)
        at org.netbeans.napi.gsfret.source.support.CaretAwareSourceTaskFactory$ComponentListener$1.run(CaretAwareSourceTaskFactory.java:167)
        at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:573)
        at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1005)
Comment 1 ki4ngel 2008-12-17 14:41:51 UTC
Created attachment 75092 [details]
stacktrace
Comment 2 David Strupl 2009-01-14 14:34:54 UTC
Moving from ruby/GSF to editor/CSL. Step one: assign to myself ;-)
Comment 3 David Strupl 2009-01-14 14:41:51 UTC
Step 2: trying to make the owner not myself but the owner of the subcomponent.
Comment 4 Vitezslav Stejskal 2009-02-02 12:56:05 UTC
*** Issue 153285 has been marked as a duplicate of this issue. ***
Comment 5 David Strupl 2009-03-31 15:46:03 UTC
Resolving all issues with milestone "future" as LATER. If you feel strongly that
it should be implemented please reopen and set the target milestone to "next".
Comment 6 Quality Engineering 2009-11-02 10:58:19 UTC
NetBeans.org Migration: changing resolution from LATER to WONTFIX