You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Lukas Theussl (JIRA)" <ji...@codehaus.org> on 2005/09/23 00:27:11 UTC

[jira] Closed: (MPJDEPEND-4) Exception in jsl when there are no cyclic dependencies.

     [ http://jira.codehaus.org/browse/MPJDEPEND-4?page=all ]
     
Lukas Theussl closed MPJDEPEND-4:
---------------------------------

    Resolution: Fixed

> 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

>
> Original Estimate: 5 minutes
>         Remaining: 5 minutes
>
> 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org