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 176573 - IllegalStateException: NbEditorDocument.createEditor(): ui=com.sun.java.swing.plaf.windows.WindowsEditorPaneUI@487096f3, kit=javax.swing.JEditorPane$PlainEditorKit@57c650ac, pane=org.openide.text.Quie
Summary: IllegalStateException: NbEditorDocument.createEditor(): ui=com.sun.java.swing...
Status: RESOLVED WORKSFORME
Alias: None
Product: platform
Classification: Unclassified
Component: Text (show other bugs)
Version: 6.x
Hardware: All All
: P4 normal (vote)
Assignee: issues@editor
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-11 10:30 UTC by andyr
Modified: 2012-10-26 14:21 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 160924


Attachments
stacktrace (2.03 KB, text/plain)
2009-11-11 10:30 UTC, andyr
Details

Note You need to log in before you can comment on or make changes to this bug.
Description andyr 2009-11-11 10:30:38 UTC
This issue was originally marked as duplicate of issue 138686, that is already resolved. This issue is still valid, so this seems to be another issue, but it might be related.

Build: NetBeans IDE Dev (Build nbms-and-javadoc-4251-on-091107)
VM: Java HotSpot(TM) 64-Bit Server VM, 10.0-b22, Java(TM) SE Runtime Environment, 1.6.0_06-b02
OS: Windows Vista, 6.0, amd64

User Comments:
andyr: open ide



Stacktrace: 
java.lang.IllegalStateException: NbEditorDocument.createEditor(): ui=com.sun.java.swing.plaf.windows.WindowsEditorPaneUI@487096f3, kit=javax.swing.JEditorPane$PlainEditorKit@57c650ac, pane=org.openide.text.QuietEditorPane[,0,0,0x0,invalid,layout=javax.swing.plaf.basic.BasicTextUI$UpdateHandler,alignmentX=0.0,alignmentY=0.0,border=javax.swing.plaf.basic.BasicBorders$MarginBorder@1cda7939,flags=296,maximumSize=,minimumSize=,preferredSize=,caretColor=javax.swing.plaf.ColorUIResource[r=0,g=0,b=0],disabledTextColor=javax.swing.plaf.ColorUIResource[r=128,g=128,b=128],editable=true,margin=javax.swing.plaf.InsetsUIResource[top=3,left=3,bottom=3,right=3],selectedTextColor=javax.swing.plaf.ColorUIResource[r=255,g=255,b=255],selectionColor=javax.swing.plaf.ColorUIResource[r=51,g=153,b=255],kit=javax.swing.JEditorPane$PlainEditorKit@57c650ac,typeHandlers=]
        at org.netbeans.modules.editor.NbEditorDocument.createEditor(NbEditorDocument.java:175)
        at org.openide.text.CloneableEditor$DoInitialize.initCustomEditor(CloneableEditor.java:497)
        at org.openide.text.CloneableEditor$DoInitialize.initVisual(CloneableEditor.java:599)
        at org.openide.text.CloneableEditor$DoInitialize.run(CloneableEditor.java:291)
        at org.netbeans.core.windows.WindowManagerImpl$Exclusive$1.run(WindowManagerImpl.java:1317)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
Comment 1 andyr 2009-11-11 10:30:42 UTC
Created attachment 90835 [details]
stacktrace
Comment 2 Vitezslav Stejskal 2009-11-13 04:41:06 UTC
Exception reports #287666 and #289263 are irrelevant, because they came from the build before issue #138686 was fixed (for the last time), which was in the build 200910280201.

The last (so far) exception report #298296 is from the build after the fix and so probably indicates some real problem.
Comment 3 Exceptions Reporter 2009-11-14 05:14:03 UTC
This issue already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=160924
Comment 4 mslama 2009-11-20 07:40:04 UTC
I will watch this.
Comment 5 David Strupl 2012-10-25 13:39:36 UTC
Bug prior to 7.0, not touched for the last 2 years --> P4.
Comment 6 David Strupl 2012-10-26 14:21:26 UTC
The last time the exception happened is in 2009. Closing as works for me.