I have some modules that do not have any actual java code in them, and now I can't seem to stop getting this fatal PMD error:
[INFO] [site:site] [WARNING] Error loading report org.codehaus.mojo.surefire.SurefireReportMojo- AbstractMethodError: canGenerateReport() [DEBUG] maven-default-skin: resolved to version 1.0 from repository central [DEBUG] Generating C:\viewstore\esp_lynx_dap\esp\dap\c2\bpel\calculate-cob-total-bpel\target\site\checkstyle.html [INFO] Generate "Checkstyle" report. [DEBUG] resolveLocation(C:/viewstore/esp_lynx_dap/esp/dap//tools/build-tools/src/main/resources/sun_checks.xml, checkstyle-checker.xml) [DEBUG] Location is not a URL. [DEBUG] Potential File: C:\viewstore\esp_lynx_dap\esp\dap\tools\build-tools\src\main\resources\sun_checks.xml [DEBUG] resolveLocation(null, checkstyle-checker.properties) [DEBUG] resolveLocation(LICENSE.txt, checkstyle-header.txt) [DEBUG] Location is not a URL. [DEBUG] Potential File: C:\viewstore\esp_lynx_dap\esp\dap\LICENSE.txt [DEBUG] resolveLocation(null, checkstyle-packages.xml) [DEBUG] resolveLocation(null, checkstyle-suppressions.xml) [DEBUG] File C:\viewstore\esp_lynx_dap\esp\dap\c2\bpel\calculate-cob-total-bpel\target\site/checkstyle.rss created... [DEBUG] Generating C:\viewstore\esp_lynx_dap\esp\dap\c2\bpel\calculate-cob-total-bpel\target\site\cpd.html [INFO] Generate "CPD Report" report. [DEBUG] Excluded files: '**/*Bean.java ,**/generated-sources/*.java,**/xmlbeans/*.java,**/*~,**/#*#,**/.#*,**/%*%,**/._*,**/CVS,**/CVS/**,**/.cvsignore,**/S CCS,**/SCCS/**,**/vssver.scc,**/.svn,**/.svn/**,**/.arch-ids,**/.arch-ids/**,**/.DS_Store' [DEBUG] Generating C:\viewstore\esp_lynx_dap\esp\dap\c2\bpel\calculate-cob-total-bpel\target\site\pmd.html [INFO] Generate "PMD Report" report. [DEBUG] Preparing ruleset: C:/viewstore/esp_lynx_dap/esp/dap//tools/build-tools/src/main/resources/pmd- rules.xml [DEBUG] Before: C:/viewstore/esp_lynx_dap/esp/dap//tools/build-tools/src/main/resources/pmd- rules.xml After: pmd-rules.xml [INFO] ------------------------------------------------------------------------ [ERROR] FATAL ERROR [INFO] ------------------------------------------------------------------------ [INFO] Provider oracle.xml.jaxp.JXDocumentBuilderFactory could not be instantiated: java.lang.NullPointerException [INFO] ------------------------------------------------------------------------ [DEBUG] Trace javax.xml.parsers.FactoryConfigurationError: Provider oracle.xml.jaxp.JXDocumentBuilderFactory could not be instantiated: java.lang.NullPointerException at javax.xml.parsers.DocumentBuilderFactory.newInstance( DocumentBuilderFactory.java:104) at net.sourceforge.pmd.RuleSetFactory.createRuleSet( RuleSetFactory.java:189) at net.sourceforge.pmd.RuleSetFactory.createRuleSet( RuleSetFactory.java:177) at org.apache.maven.plugin.pmd.PmdReport.executeReport( PmdReport.java:182) at org.apache.maven.reporting.AbstractMavenReport.generate( AbstractMavenReport.java:98) at org.apache.maven.plugins.site.ReportDocumentRenderer.renderDocument( ReportDocumentRenderer.java:67) at org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.renderModule( DefaultSiteRenderer.java:239) at org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.render( DefaultSiteRenderer.java:115) at org.apache.maven.plugins.site.SiteMojo.renderLocale(SiteMojo.java :124) at org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java:92) at org.apache.maven.plugin.DefaultPluginManager.executeMojo( DefaultPluginManager.java:420) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals( DefaultLifecycleExecutor.java:539) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle (DefaultLifecycleExecutor.java:480) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal( DefaultLifecycleExecutor.java:459) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures (DefaultLifecycleExecutor.java:311) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments( DefaultLifecycleExecutor.java:278) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute( DefaultLifecycleExecutor.java:143) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:330) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:123) at org.apache.maven.cli.MavenCli.main(MavenCli.java:272) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke( NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke( DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java :315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java :430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) [INFO] ------------------------------------------------------------------------ [INFO] Total time: 57 seconds [INFO] Finished at: Tue Aug 14 13:58:19 PDT 2007 [INFO] Final Memory: 44M/81M [INFO] ------------------------------------------------------------------------ . Does anyone have any ideas why PMD would be doing anything to this module if there is no Java in it anyways? -- Thanks, Mick Knutson http://www.baselogic.com http://www.blincmagazine.com http://www.djmick.com http://www.myspace.com/mickknutson http://www.myspace.com/djmick_dot_com http://www.myspace.com/sexybeotches http://www.thumpradio.com ---