Exception in jsl when there are no cyclic dependencies.
-------------------------------------------------------

         Key: MPJDEPEND-4
         URL: http://jira.codehaus.org/browse/MPJDEPEND-4
     Project: maven-jdepend-plugin
        Type: Bug
 Environment: maven-1.1-beta-1, maven-jdepend-plugin-1.5
 Reporter: Alexey Demakov
    Priority: Minor


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}">


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to