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 252530 - IllegalStateException: Attempt to mutate in notification
Summary: IllegalStateException: Attempt to mutate in notification
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Options&Settings (show other bugs)
Version: 8.1
Hardware: All All
: P1 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-21 12:51 UTC by Petr Pisl
Modified: 2015-05-28 02:46 UTC (History)
30 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 217440


Attachments
stacktrace (4.10 KB, text/plain)
2015-05-21 12:51 UTC, Petr Pisl
Details
stacktrace (3.35 KB, text/plain)
2015-05-21 13:27 UTC, Tomas Stupka
Details
stacktrace (3.58 KB, text/plain)
2015-05-21 13:30 UTC, Tomas Stupka
Details
stacktrace (4.10 KB, text/plain)
2015-05-21 17:30 UTC, mdeggersbeans
Details
stacktrace (2.41 KB, text/plain)
2015-05-21 17:33 UTC, luis.boch
Details
stacktrace (2.41 KB, text/plain)
2015-05-21 21:57 UTC, Alexander Simon
Details
stacktrace (4.21 KB, text/plain)
2015-05-22 07:06 UTC, Jiri Prox
Details
stacktrace (2.41 KB, text/plain)
2015-05-22 09:39 UTC, Maksim Khramov
Details
stacktrace (4.10 KB, text/plain)
2015-05-25 09:39 UTC, everflux
Details
stacktrace (2.41 KB, text/plain)
2015-05-25 20:37 UTC, MackSix
Details
stacktrace (3.58 KB, text/plain)
2015-05-26 04:16 UTC, Lou Dasaro
Details
stacktrace (3.35 KB, text/plain)
2015-05-26 04:37 UTC, Lou Dasaro
Details
stacktrace (3.35 KB, text/plain)
2015-05-26 12:04 UTC, Alexander Simon
Details
stacktrace (3.35 KB, text/plain)
2015-05-26 12:10 UTC, Alexander Simon
Details
stacktrace (2.41 KB, text/plain)
2015-05-26 17:25 UTC, Michel Graciano
Details
stacktrace (2.41 KB, text/plain)
2015-05-26 19:55 UTC, muellermi
Details
stacktrace (3.58 KB, text/plain)
2015-05-26 19:58 UTC, muellermi
Details
stacktrace (2.41 KB, text/plain)
2015-05-27 13:07 UTC, Ralph Ruijs
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Pisl 2015-05-21 12:51:49 UTC
This issue was reported manually by tmysik.
It already has 3 duplicates 


Build: NetBeans IDE Dev (Build 20150521-ed125599c2a5)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.25-b02, Java(TM) SE Runtime Environment, 1.8.0_25-b17
OS: Linux

User Comments:
ppisl: Switch from one workspace to another and then back. At the time there was opened Gulp tab in Onptions.

ppisl: I have press cancel in Gulp tab in Options.

ppisl: Pressing Cancel in Gulp tab in Options.




Stacktrace: 
java.lang.IllegalStateException: Attempt to mutate in notification
   at javax.swing.text.AbstractDocument.writeLock(AbstractDocument.java:1338)
   at javax.swing.text.AbstractDocument.replace(AbstractDocument.java:658)
   at javax.swing.text.JTextComponent.setText(JTextComponent.java:1669)
   at org.netbeans.modules.options.OptionsPanel.showHint(OptionsPanel.java:464)
   at org.netbeans.modules.options.OptionsPanel.access$800(OptionsPanel.java:125)
   at org.netbeans.modules.options.OptionsPanel$OptionsQSCallback.quickSearchCanceled(OptionsPanel.java:821)
Comment 1 Petr Pisl 2015-05-21 12:51:50 UTC
Created attachment 153788 [details]
stacktrace
Comment 2 Tomas Stupka 2015-05-21 13:27:31 UTC
Created attachment 153789 [details]
stacktrace

Was starig ugly at the options dialog. Maybe it got afraid ...
Comment 3 Tomas Stupka 2015-05-21 13:30:32 UTC
Created attachment 153790 [details]
stacktrace

well, perhaps it wasn't my looks. It just happened again after i hit escape ...
Comment 4 Exceptions Reporter 2015-05-21 13:30:35 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=217440
Comment 5 cezariusz 2015-05-21 13:53:08 UTC
(In reply to Tomas Stupka from comment #2)
> Was starig ugly at the options dialog. Maybe it got afraid ...

ROTF. Best error report ever.
Comment 6 mdeggersbeans 2015-05-21 17:30:35 UTC
Created attachment 153794 [details]
stacktrace

cancel dialog box after checking Options->Team-Subversion to make sure I'm using JavaHL
Comment 7 luis.boch 2015-05-21 17:33:32 UTC
Created attachment 153795 [details]
stacktrace

Just looking Options (nothing applied)
Comment 8 Exceptions Reporter 2015-05-21 21:33:35 UTC
This bug already has 10 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=217440
Comment 9 Alexander Simon 2015-05-21 21:57:34 UTC
Created attachment 153800 [details]
stacktrace

save options
Comment 10 Jiri Prox 2015-05-22 07:06:38 UTC
Created attachment 153806 [details]
stacktrace

ISE when serching in keymap
Comment 11 Petr Pisl 2015-05-22 08:29:49 UTC
Increasing to P2. Sometimes the exception is riced in cycle and I have to switch off the ide from console.
Comment 12 Maksim Khramov 2015-05-22 09:39:40 UTC
Created attachment 153809 [details]
stacktrace

Open Options dialog
Invoke Test Proxy connection
Close dialog
Comment 13 Exceptions Reporter 2015-05-23 06:42:45 UTC
This bug already has 20 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=217440
Comment 14 everflux 2015-05-25 09:39:55 UTC
Created attachment 153842 [details]
stacktrace

opened tools->option, clicked 'cancel' right away
Comment 15 MackSix 2015-05-25 20:37:12 UTC
Created attachment 153852 [details]
stacktrace

Click OK button in options.
Comment 16 Lou Dasaro 2015-05-26 04:16:12 UTC
Created attachment 153854 [details]
stacktrace

In Tools->Options->Keymap, clicked on ... (elipses) on row with "Comment".
Comment 17 Lou Dasaro 2015-05-26 04:37:12 UTC
Created attachment 153855 [details]
stacktrace

Working in Python, I invoked Tools-Options and clicked different tabs across the top. Received a few errors of this type. When I navigated to Fonts&Colors, Exception occured in a loop, and I had to terminate the IDE from the OS.
Comment 18 Alexander Simon 2015-05-26 12:04:12 UTC
Created attachment 153872 [details]
stacktrace

open options
Comment 19 Alexander Simon 2015-05-26 12:10:13 UTC
Created attachment 153873 [details]
stacktrace

opem options
Comment 20 Michel Graciano 2015-05-26 17:25:17 UTC
Created attachment 153880 [details]
stacktrace

Editing general options.
Comment 21 muellermi 2015-05-26 19:55:18 UTC
Created attachment 153883 [details]
stacktrace

maximize native look and feel -> save
Comment 22 muellermi 2015-05-26 19:58:16 UTC
Created attachment 153884 [details]
stacktrace

options, fonts and colors
Comment 23 Exceptions Reporter 2015-05-26 19:58:25 UTC
This bug already has 50 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=217440
Comment 24 Roman Svitanic 2015-05-27 08:20:39 UTC
It seems that this issue is probably caused by fix of issue #251852.
Martine, could you look on this? Thanks
Comment 25 Theofanis Oikonomou 2015-05-27 08:50:08 UTC
(In reply to Roman Svitanic from comment #24)
> It seems that this issue is probably caused by fix of issue #251852.
> Martine, could you look on this? Thanks

Thank you Roman for tracking this down. Martin re-assiging to you.
Comment 26 Ralph Ruijs 2015-05-27 13:07:24 UTC
Created attachment 153901 [details]
stacktrace

Changed linewrap in formatting
Comment 27 Martin Entlicher 2015-05-27 13:41:07 UTC
Fixed by changeset:   288122:bca79ade0ac7
http://hg.netbeans.org/core-main/rev/bca79ade0ac7
Comment 28 Quality Engineering 2015-05-28 02:46:46 UTC
Integrated into 'main-silver', will be available in build *201505280001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/bca79ade0ac7
User: mentlicher@netbeans.org
Log: #252530: Do not mutate the document in notification.