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 175071 - IllegalStateException: NbEditorDocument.createEditor(): ui=com.sun.java.swing.plaf.windows.WindowsEditorPaneUI@1063635, kit=javax.swing.JEditorPane$PlainEditorKit@d10fa6, pane=org.openide.text.QuietEd
Summary: IllegalStateException: NbEditorDocument.createEditor(): ui=com.sun.java.swing...
Status: RESOLVED DUPLICATE of bug 138686
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (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: 2009-10-21 09:36 UTC by flexjoly
Modified: 2009-10-21 10:56 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 160541


Attachments
stacktrace (2.02 KB, text/plain)
2009-10-21 09:36 UTC, flexjoly
Details
stacktrace (2.00 KB, text/plain)
2009-10-21 10:47 UTC, Sergey Petrov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description flexjoly 2009-10-21 09:36:14 UTC
Build: NetBeans IDE Dev (Build 2009-10-21_09-05-12 )
VM: Java HotSpot(TM) Client VM, 14.2-b01, Java(TM) SE Runtime Environment, 1.6.0_16-b01
OS: Windows XP, 5.1, x86

User Comments:
flexjoly: opening a file

mpiskorz: I tried to open a controller file for a RoR project.

GUEST: closing windows



Stacktrace: 
java.lang.IllegalStateException: NbEditorDocument.createEditor(): ui=com.sun.java.swing.plaf.windows.WindowsEditorPaneUI@1063635, kit=javax.swing.JEditorPane$PlainEditorKit@d10fa6, 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@1651361,flags=296,maximumSize=,minimumSize=,preferredSize=,caretColor=javax.swing.plaf.ColorUIResource[r=0,g=0,b=0],disabledTextColor=javax.swing.plaf.ColorUIResource[r=172,g=168,b=153],editable=true,margin=javax.swing.plaf.InsetsUIResource[top=3,left=3,bottom=3,right=3],selectedTextColor=javax.swing.plaf.ColorUIResource[r=0,g=0,b=0],selectionColor=javax.swing.plaf.ColorUIResource[r=178,g=180,b=191],kit=javax.swing.JEditorPane$PlainEditorKit@d10fa6,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 flexjoly 2009-10-21 09:36:20 UTC
Created attachment 89825 [details]
stacktrace
Comment 2 Exceptions Reporter 2009-10-21 09:36:24 UTC
This issue already has 6 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=160541
Comment 3 Sergey Petrov 2009-10-21 10:47:20 UTC
Build: NetBeans IDE Dev (Build 091021)
VM: Java HotSpot(TM) Client VM, 14.0-b16, Java(TM) SE Runtime Environment, 1.6.0_14-b08
OS: Linux, 2.6.27-14-generic, i386

User Comments: 
tried context menu on Web Pages node in Web Project right after project creation before scanning was completed. may be also switch from nb window as it ws waiting for scanning.

Stacktrace: 
java.lang.IllegalStateException: NbEditorDocument.createEditor(): ui=javax.swing.plaf.synth.SynthEditorPaneUI@1639c06, kit=javax.swing.JEditorPane$PlainEditorKit@986d66, 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.synth.SynthBorder@1366ff4,flags=296,maximumSize=,minimumSize=,preferredSize=,caretColor=javax.swing.plaf.ColorUIResource[r=0,g=0,b=0],disabledTextColor=javax.swing.plaf.ColorUIResource[r=177,g=165,b=152],editable=true,margin=javax.swing.plaf.InsetsUIResource[top=3,left=3,bottom=3,right=3],selectedTextColor=javax.swing.plaf.ColorUIResource[r=26,g=26,b=26],selectionColor=javax.swing.plaf.ColorUIResource[r=250,g=209,b=132],kit=javax.swing.JEditorPane$PlainEditorKit@986d66,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 4 Sergey Petrov 2009-10-21 10:47:25 UTC
Created attachment 89837 [details]
stacktrace
Comment 5 Exceptions Reporter 2009-10-21 10:47:30 UTC
This issue already has 7 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=160541
Comment 6 Vitezslav Stejskal 2009-10-21 10:56:23 UTC
Although the exceptions are different the problem is the same as in issue #138686.

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