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 212981

Summary: IllegalStateException: Attempt to mutate in notification
Product: serverplugins Reporter: javadimon <javadimon>
Component: TomcatAssignee: Petr Hejl <phejl>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: P3    
Version: 7.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 188345
Attachments: stacktrace

Description javadimon 2012-05-25 01:27:05 UTC
Build: NetBeans IDE 7.2 Beta (Build 201205031832)
VM: Java HotSpot(TM) 64-Bit Server VM, 22.1-b02, Java(TM) SE Runtime Environment, 1.7.0_03-b04
OS: Linux

Stacktrace: 
java.lang.IllegalStateException: Attempt to mutate in notification
   at javax.swing.text.AbstractDocument.writeLock(AbstractDocument.java:1338)
   at javax.swing.text.AbstractDocument.remove(AbstractDocument.java:585)
   at javax.swing.text.DefaultEditorKit$DeletePrevCharAction.actionPerformed(DefaultEditorKit.java:1062)
   at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1661)
   at javax.swing.JComponent.processKeyBinding(JComponent.java:2879)
   at javax.swing.JComponent.processKeyBindings(JComponent.java:2926)
Comment 1 javadimon 2012-05-25 01:27:11 UTC
Created attachment 119849 [details]
stacktrace
Comment 2 Jan Peska 2012-06-04 07:59:16 UTC
It seems that tomcat DocumentListener tries to mutate the document. Reassigning or evaluation.
Comment 3 Quality Engineering 2015-02-04 03:35:21 UTC
Reported for 7.3.x or earlier, no new info since then -> closing as worksforme, please reopen in case you see it.