Hudson JDepend Plugin does not work

2.2k Views Asked by At

I am trying to build a continuous integration environment for php using hudson. I am running a shell script, which generates my phpdepend output, which can be used by the jdepend plugin. Although the xml-File is ready, the plugin throws an exception:

console output:

[JDepend] JDepend plugin is ready
[JDepend] Couldn't generate JDepend file at 'jdepend.xml'java.lang.NullPointerException

on jdepend-symbol click:

 Report generation failed: org.apache.maven.reporting.MavenReportException: Failed to generate JDepend report:null

thanks for all your help. Martin

3

There are 3 best solutions below

0
On

If you feel that you have found a bug with this plugin (which seems like the case because you are getting a NullPointerException), go here and look under the 'Bug reporting' section to see how to report the bug.

2
On

Try configuring a path, not a file.

See Hudson keeps failing with Phing AND Ant.

0
On

I had the same issue, but instead of putting the folder path, i put also the xml filename and it worked well, like this :

/build/logs/jdepend.xml