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 216216

Summary: UnsupportedOperationException at java.util.AbstractList.remove
Product: contrib Reporter: brotherjohn1234 <brotherjohn1234>
Component: PMDAssignee: _ rkubacki <rkubacki>
Status: NEW ---    
Severity: normal CC: rusty_turkey
Priority: P3    
Version: 7.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 177597
Attachments: stacktrace

Description brotherjohn1234 2012-07-31 18:07:05 UTC
Build: NetBeans IDE 7.2 (Build 201207171143)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.1-b03, Java(TM) SE Runtime Environment, 1.7.0_05-b05
OS: Windows 7

User Comments:
GUEST: Trying to remove PMD rules

GUEST: add a pmd file

GUEST: I'm trying to remove a PMD Ruleset

GUEST: Deleting an exisiting Ruleset xml. It was the only one left there

brotherJohn1234: remove an old pmd ruleset-file from list

GUEST: rwsgsdgds




Stacktrace: 
java.lang.UnsupportedOperationException
   at java.util.AbstractList.remove(AbstractList.java:161)
   at pmd.config.ui.RuleSetListModel.removeElementAt(RuleSetListModel.java:61)
   at pmd.config.ui.RuleSetChooser.removeRuleSetActionPerformed(RuleSetChooser.java:244)
   at pmd.config.ui.RuleSetChooser.access$000(RuleSetChooser.java:17)
   at pmd.config.ui.RuleSetChooser$1.actionPerformed(RuleSetChooser.java:89)
   at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018)
Comment 1 brotherjohn1234 2012-07-31 18:07:07 UTC
Created attachment 122599 [details]
stacktrace