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 188594 - ClassCastException: java.lang.Boolean cannot be cast to net.sourceforge.pmd.Rule
Summary: ClassCastException: java.lang.Boolean cannot be cast to net.sourceforge.pmd.Rule
Status: RESOLVED WONTFIX
Alias: None
Product: third-party
Classification: Unclassified
Component: sqe tools (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: sreimers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-12 13:57 UTC by gtg
Modified: 2011-12-13 12:27 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 163223


Attachments
stacktrace (2.83 KB, text/plain)
2010-07-12 13:57 UTC, gtg
Details

Note You need to log in before you can comment on or make changes to this bug.
Description gtg 2010-07-12 13:57:08 UTC
Build: NetBeans IDE Dev (Build 201007040001)
VM: Java HotSpot(TM) 64-Bit Server VM, 16.3-b01, Java(TM) SE Runtime Environment, 1.6.0_20-b02
OS: Linux

User Comments:
i30817: Clicked PMD enabled column

i30817: In the sqe plugin, clicking in the Enabled table column sorter in the PMD tab in the options->Quality subsection throws this exception

GUEST: Cheking/Uncheking checkboxes in the PMD (SQE plugin : http://kenai.com/projects/sqe/pages/Home) settings table.




Stacktrace: 
java.lang.ClassCastException: java.lang.Boolean cannot be cast to net.sourceforge.pmd.Rule
   at org.nbheaven.sqe.tools.pmd.codedefects.core.option.SortedRuleTableModel$Row.compareTo(SortedRuleTableModel.java:248)
   at java.util.Arrays.mergeSort(Arrays.java:1144)
   at java.util.Arrays.mergeSort(Arrays.java:1155)
   at java.util.Arrays.mergeSort(Arrays.java:1155)
   at java.util.Arrays.mergeSort(Arrays.java:1155)
   at java.util.Arrays.mergeSort(Arrays.java:1155)
Comment 1 gtg 2010-07-12 13:57:11 UTC
Created attachment 100774 [details]
stacktrace
Comment 2 Marian Mirilovic 2011-12-13 12:27:12 UTC
Please report this against http://pmd.sourceforge.net/integrations.html