[ 
http://jira.codehaus.org/browse/MJNCSS-11?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jean-Laurent de Morlhon updated MJNCSS-11:
------------------------------------------

    Fix Version/s: 2.0-beta-3

> JavaNCSS report crashes if code contains some variable called "enum"
> --------------------------------------------------------------------
>
>                 Key: MJNCSS-11
>                 URL: http://jira.codehaus.org/browse/MJNCSS-11
>             Project: Maven 2.x JavaNCSS Plugin
>          Issue Type: Bug
>    Affects Versions: 2.0-beta-2
>         Environment: Pass OK with 2.0-beta-1
> JavaNCSS 28.49 pass OK when launched with JavaNCSS GUI
>            Reporter: Francois Loison
>            Assignee: Jean-Laurent de Morlhon
>             Fix For: 2.0-beta-3
>
>
> Code tested contains:
> Enumeration enum = values.elements();
> while (enum.hasMoreElements())
> {
>       String value = (String) enum.nextElement();
>       System.out.println("    " + value);
> }
> Crash output as following:
> Embedded error: Error rendering Maven report: Error while JavaNCSS was 
> executing
> Encountered "enum" at line 165, column 49.
> Was expecting one of:
>     "instanceof" ...
>     ";" ...
>     "," ...
>     ">" ...
> etc...

-- 
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 from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to