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 159974 - AssertionError at org.netbeans.editor.BaseCaret.install
Summary: AssertionError at org.netbeans.editor.BaseCaret.install
Status: RESOLVED WONTFIX
Alias: None
Product: editor
Classification: Unclassified
Component: CSL (API & infrastructure) (show other bugs)
Version: 6.x
Hardware: Macintosh All
: P3 blocker (vote)
Assignee: David Strupl
URL: http://statistics.netbeans.org/except...
Keywords: TEST
Depends on:
Blocks:
 
Reported: 2009-03-10 10:33 UTC by Ivan Sidorkin
Modified: 2010-09-30 14:27 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 147396


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ivan Sidorkin 2009-03-10 10:33:38 UTC
Build: NetBeans Platform Dev (Build 200903100201)
VM: Java HotSpot(TM) 64-Bit Server VM, 1.6.0_07-b06-57, Java(TM) SE Runtime Environment, 1.6.0_07-b06-153
OS: Mac OS X, 10.5.6, x86_64
User comments: 
STACKTRACE: (first 10 lines)
java.lang.AssertionError
        at org.netbeans.editor.BaseCaret.install(BaseCaret.java:358)
        at javax.swing.text.JTextComponent.setCaret(JTextComponent.java:582)
        at org.netbeans.editor.BaseTextUI.installUI(BaseTextUI.java:238)
        at javax.swing.JComponent.setUI(JComponent.java:673)
        at javax.swing.text.JTextComponent.setUI(JTextComponent.java:322)
        at org.netbeans.editor.BaseKit.install(BaseKit.java:720)
        at javax.swing.JEditorPane.setEditorKit(JEditorPane.java:1096)
        at org.netbeans.modules.java.editor.JavaEditorWarmUpTask.run(JavaEditorWarmUpTask.java:174)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
Comment 1 Vitezslav Stejskal 2009-03-11 16:21:51 UTC
Strange, the assertion checks that the code runs in AWT thread. Looking at the stacktrace I would swear that the code
really ran in AWT thread. Or am I wrong?
Comment 2 Ivan Sidorkin 2009-03-11 16:54:52 UTC
I don't know
Comment 3 David Strupl 2009-06-08 14:09:01 UTC
Marek, these are yours now ...
Comment 4 David Strupl 2010-09-30 14:27:32 UTC
This is a very strange report, I am closing it as wontfix.