Message:

   The following issue has been closed.

   Resolver: dion gillard
       Date: Sun, 14 Sep 2003 10:09 AM

Removed bad code today
---------------------------------------------------------------------
View the issue:

  http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-812


Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MAVEN-812
    Summary: Java plugin generate a lot of exeption in maven.log
       Type: Bug

     Status: Closed
   Priority: Minor
 Resolution: FIXED

 Time Spent: Unknown
  Remaining: Unknown

    Project: maven
   Fix Fors:
             1.0-rc1

   Assignee: 
   Reporter: Simone Zorzetti

    Created: Fri, 12 Sep 2003 2:40 AM
    Updated: Sun, 14 Sep 2003 10:09 AM
Environment: Windows 2000

Description:
Compiling project without resources the resulting maven.log file contains a lot of 
exceptions like this:

2003-09-10 15:36:28,527 WARN  org.apache.commons.jelly.expression.jexl.JexlExpression 
- Caught exception evaluating: [EMAIL PROTECTED] Reason: 
java.lang.NumberFormatException: For input string: "includes"
java.lang.NumberFormatException: For input string: "includes"
        at 
java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
        at java.lang.Integer.parseInt(Integer.java:468)
        at java.lang.Integer.valueOf(Integer.java:574)
        at org.apache.commons.jexl.util.Coercion.coerceInteger(Coercion.java:95)
        at 
org.apache.commons.jexl.parser.ASTArrayAccess.evaluateExpr(ASTArrayAccess.java:177)
        at org.apache.commons.jexl.parser.ASTIdentifier.execute(ASTIdentifier.java:104)
        at org.apache.commons.jexl.parser.ASTReference.execute(ASTReference.java:106)
at java.lang.Integer.parseInt(Integer.java:468)
....

To me this seems to be due to the lack of a couple of check in the jelly script of the 
java plugin.
I have attached a patch that solve the problem.




---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


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

Reply via email to