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 153285 - NullPointerException at javax.swing.text.JTextComponent.getCaretPosition
Summary: NullPointerException at javax.swing.text.JTextComponent.getCaretPosition
Status: RESOLVED DUPLICATE of bug 155664
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:
Depends on:
Blocks:
 
Reported: 2008-11-16 19:23 UTC by buzzword
Modified: 2009-02-19 20:45 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 133299


Attachments
stacktrace (425 bytes, text/plain)
2008-11-16 19:23 UTC, buzzword
Details

Note You need to log in before you can comment on or make changes to this bug.
Description buzzword 2008-11-16 19:23:38 UTC
Build: NetBeans IDE Dev (Build 200811120201)
VM: Java HotSpot(TM) Client VM, 10.0-b22, Java(TM) SE Runtime Environment, 1.6.0_06-b02
OS: Windows XP, 5.1, x86

User Comments:
buzzword: Quickly opening and closing a scala class while Netbeans was scaning the project.

GUEST: I just closed the last open editor window.

buzzword: Quickly opening and closing a scala class while Netbeans was scaning the project.



Stacktrace: 
java.lang.NullPointerException
        at javax.swing.text.JTextComponent.getCaretPosition(JTextComponent.java:1664)
        at org.netbeans.napi.gsfret.source.support.CaretAwareSourceTaskFactory$ComponentListener$.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 buzzword 2008-11-16 19:23:45 UTC
Created attachment 73799 [details]
stacktrace
Comment 2 David Strupl 2009-01-14 14:35:52 UTC
Moving from ruby/GSF to editor/CSL. Step one: assign to myself ;-)
Comment 3 David Strupl 2009-01-14 14:44:17 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

*** This issue has been marked as a duplicate of 155664 ***