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 232458 - UnsupportedOperationException at java.util.Collections$UnmodifiableList.add
Summary: UnsupportedOperationException at java.util.Collections$UnmodifiableList.add
Status: RESOLVED FIXED
Alias: None
Product: php
Classification: Unclassified
Component: Code (show other bugs)
Version: 7.4
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Mysik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-09 15:30 UTC by MackSix
Modified: 2013-07-12 02:34 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 202010


Attachments
stacktrace (1.30 KB, text/plain)
2013-07-09 15:30 UTC, MackSix
Details
stacktrace (1.30 KB, text/plain)
2013-07-09 17:57 UTC, MackSix
Details

Note You need to log in before you can comment on or make changes to this bug.
Description MackSix 2013-07-09 15:30:34 UTC
Build: NetBeans IDE Dev (Build 201307082300)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.25-b01, Java(TM) SE Runtime Environment, 1.7.0_25-b16
OS: Windows 7

User Comments:
MackSix: After http://statistics.netbeans.org/analytics/exception.do?id=680337
Reactivated PHP, then C/C++ and this happened.




Stacktrace: 
java.lang.UnsupportedOperationException
   at java.util.Collections$UnmodifiableList.add(Collections.java:1216)
   at org.netbeans.modules.php.analysis.ui.CodeSnifferStandardsComboBoxModel$2$1.run(CodeSnifferStandardsComboBoxModel.java:174)
   at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
   at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
   at java.awt.EventQueue.access$200(EventQueue.java:103)
   at java.awt.EventQueue$3.run(EventQueue.java:694)
Comment 1 MackSix 2013-07-09 15:30:36 UTC
Created attachment 136888 [details]
stacktrace
Comment 2 MackSix 2013-07-09 17:57:35 UTC
Created attachment 136893 [details]
stacktrace

Click Apply Button on Tools>>Options>>PHP>>Code Analysis Tab several times quickly and this happened.Although I have not done this before, It does make this happen.
Comment 3 MackSix 2013-07-10 12:48:11 UTC
Still valid in:

Product Version: NetBeans IDE 7.4 Beta (Build 201307092200)
Java: 1.7.0_25; Java HotSpot(TM) 64-Bit Server VM 23.25-b01
Runtime: Java(TM) SE Runtime Environment 1.7.0_25-b16
System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)
Comment 4 Tomas Mysik 2013-07-11 07:22:05 UTC
Fixed.

http://hg.netbeans.org/web-main/rev/7b44b317ede6
Comment 5 Quality Engineering 2013-07-12 02:34:30 UTC
Integrated into 'main-silver', will be available in build *201307112300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/7b44b317ede6
User: Tomas Mysik <tmysik@netbeans.org>
Log: #232458 - UnsupportedOperationException at java.util.Collections$UnmodifiableList.add