Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 1.5
-
Fix Version/s: 1.5.1
-
Component/s: None
-
Labels:None
-
Environment:maven-1.1-beta-1, maven-jdepend-plugin-1.5
-
Number of attachments :
Description
When there are no cyclic dependencies, jdepend-raw-report.xml contains empty Cycles tag, but jdepend.jsl tries to select Cycles/Package (null) and get size of the result. It causes exception in jexl parser. So I propose to add this check:
jdepend.jsl:
260: <j:when test="${packages == null || size(packages) == 0}">
now it looks like:
260: <j:when test="${size(packages) == 0}">
Reopen to assign fix version