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 222186

Summary: RuntimeException: C:\workspace\swisslife\development\eclipse_config\pmd.xml (No such file or directory)
Product: contrib Reporter: onmomo <onmomo>
Component: PMDAssignee: _ rkubacki <rkubacki>
Status: NEW ---    
Severity: normal CC: bernd_zedv, majiknet, qpolarbear, ricktw
Priority: P3    
Version: 7.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 33702
Attachments: stacktrace

Description onmomo 2012-11-15 09:50:15 UTC
Build: NetBeans IDE 7.2.1 (Build 201210100934)
VM: Java HotSpot(TM) 64-Bit Server VM, 20.12-b01, Java(TM) SE Runtime Environment, 1.6.0_37-b06
OS: Linux

User Comments:
qpolarbear: Nothing... it just keeps popping up uncontrollably, making the IDE completely unusable.  First happened in 6.7, so I grabbed 6.8 M1 hoping it would go away, but it is back now and crippling my usage of NetBeans.

onmomo: Not able to delete the pmd.xml ruleset in the PMD settings dialog. The PMD settings were imported with the NB settings importer, before PMD plugin was installed.

bernd_zedv: Opened a java source file - the pmd.xml file is at its place for sure.

GUEST: PMD doesnt work...

qpolarbear: Editing a Java files.

GUEST: efqwedqw

GUEST: Run the application, then terminate it.

ricktw: Just executing the PMD check for an opened file
rats, my ruleset files were removed... No issue really...

qpolarbear: Changing tabs to a new Java file.




Stacktrace: 
java.lang.RuntimeException: C:\workspace\swisslife\development\eclipse_config\pmd.xml (No such file or directory)
   at pmd.config.ConfigUtils.getAllAvailableRules(ConfigUtils.java:175)
   at pmd.config.ConfigUtils.createRuleList(ConfigUtils.java:77)
   at pmd.config.PMDOptionsSettings.getRuleList(PMDOptionsSettings.java:166)
   at pmd.RunPMDAction.constructRuleSets(RunPMDAction.java:300)
   at pmd.RunPMDAction.performScan(RunPMDAction.java:160)
   at pmd.RunPMDAction.performAction(RunPMDAction.java:268)
Comment 1 onmomo 2012-11-15 09:50:17 UTC
Created attachment 127844 [details]
stacktrace