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 211542 - UnsupportedOperationException at java.util.Collections$UnmodifiableCollection.remove
Summary: UnsupportedOperationException at java.util.Collections$UnmodifiableCollection...
Status: RESOLVED FIXED
Alias: None
Product: apisupport
Classification: Unclassified
Component: Project (show other bugs)
Version: 7.2
Hardware: All All
: P2 normal (vote)
Assignee: Jesse Glick
URL:
Keywords: REGRESSION
Depends on:
Blocks: 207454
  Show dependency tree
 
Reported: 2012-04-21 00:12 UTC by Jesse Glick
Modified: 2012-05-03 14:38 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 187252


Attachments
stacktrace (3.92 KB, text/plain)
2012-04-21 00:12 UTC, Jesse Glick
Details
stacktrace (3.26 KB, text/plain)
2012-05-03 14:38 UTC, Jan Lahoda
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2012-04-21 00:12:00 UTC
Build: NetBeans IDE Dev (Build 20120420-53323b77776c)
VM: Java HotSpot(TM) Client VM, 22.1-b02, Java(TM) SE Runtime Environment, 1.7.0_03-b04
OS: Linux

Stacktrace: 
java.lang.UnsupportedOperationException
   at java.util.Collections$UnmodifiableCollection.remove(Collections.java:1078)
   at org.netbeans.modules.apisupport.project.ui.customizer.CustomizerComponentFactory$DependencyListModel.editDependency(CustomizerComponentFactory.java:220)
   at org.netbeans.modules.apisupport.project.ui.customizer.CustomizerLibraries.editModuleDependency(CustomizerLibraries.java:720)
   at org.netbeans.modules.apisupport.project.ui.customizer.CustomizerLibraries.access$1200(CustomizerLibraries.java:123)
   at org.netbeans.modules.apisupport.project.ui.customizer.CustomizerLibraries$13.actionPerformed(CustomizerLibraries.java:465)
   at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018)
Comment 1 Jesse Glick 2012-04-21 00:12:06 UTC
Created attachment 118586 [details]
stacktrace
Comment 2 Jesse Glick 2012-04-21 01:15:48 UTC
core-main #d4319335220c
Comment 3 Quality Engineering 2012-04-22 09:50:41 UTC
Integrated into 'main-golden', will be available in build *201204220400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/d4319335220c
User: Jesse Glick <jglick@netbeans.org>
Log: #211542: UnsupportedOperationException at java.util.Collections$UnmodifiableCollection.remove
Backing out half the fix of #207454, since the other half (written later) seems to suffice on its own.
Comment 4 Jan Lahoda 2012-05-03 14:38:34 UTC
Created attachment 119035 [details]
stacktrace