RE: [m11b2] Long coercion exception

2005-10-09 Thread Anthony Kong
Indeed! I have some varaibles defined as ${project-abc}. Once I changed
them to ${project_abc}, the problem goes away!

Thanks for helping out.

Cheers,
AK 

-Original Message-
From: Dion Gillard [mailto:[EMAIL PROTECTED] 
Sent: Friday, 7 October 2005 5:54 PM
To: [EMAIL PROTECTED]
Subject: Re: [m11b2] Long coercion exception

It happens somewhere after this echo:

[echo] Clearing the old source  ...

It looks like there is a property or expression somewhere with a '-'
in the name,
e.g. ${12-there} or ${label-1} or something similar.

On 10/7/05, Anthony Kong [EMAIL PROTECTED] wrote:

 Hi,

 Attached is the trace file. Couldn't tell what expression is causing 
 the problem from it...

 Cheers,
 AK


 -Original Message-
 From: Dion Gillard [mailto:[EMAIL PROTECTED]
 Sent: Friday, 7 October 2005 1:50 PM
 To: [EMAIL PROTECTED]
 Cc: Maven Users List
 Subject: Re: [m11b2] Long coercion exception

 Try running maven -X whateverGoalCausesTheProblem

 Somewhere there is an expression, probably with a +/- or other 
 arithmetic expression in it.

 On 10/7/05, Anthony Kong [EMAIL PROTECTED] wrote:
  Hi,
 
  Thanks for the reply! Actually there is so little information, I do 
  not know even what and where causes the error.
 
  Basically I develop a custom goal in a maven.xml (without any
  project.xml) and use m11b2 to invoke it. And the error came out 
  before build:start is printed out to the console. Also it would 
  remind me to define default goal in build/.
 
  I have tried to use maven:genapp to create a dummy project.xml, 
  and the error still occur. But if I run m11b2 on other projects, it 
  runs
 run...
 
  I did not define any email address in either maven.xml or project.xml.
 
  Cheers,
 
  AK
 
  PS. FYI, Here is what I got from maven -i
 
   __  __
  |  \/  |__ _Apache__ ___
  | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
  |_|  |_\__,_|\_/\___|_||_|  v. 1.1-beta-2
 
  plugin maven-cruisecontrol-plugin-1.6 is cached (dynatag dep) but no 
  longer present Cache invalidated due to out of date plugins
  - Environment
java.version=1.5.0_04
file.encoding=Cp1252
java.ext.dirs=c:\Program Files\Java\jdk1.5.0_04\jre\lib\ext
 
  java.class.path=f:\opt\cygwin\opt\maven-1.1-beta-2/lib/forehead-1.0-
  be
  ta-5.j
  ar
os.name=Windows XP
java.vendor=Sun Microsystems Inc.
sun.boot.class.path=c:\Program
  Files\Java\jdk1.5.0_04\jre\lib\rt.jar;c:\Program Files\Ja 
  va\jdk1.5.0_04\jre\lib\i18n.jar;c:\Program
  Files\Java\jdk1.5.0_04\jre\lib\sunrsasign.jar;c
  :\Program Files\Java\jdk1.5.0_04\jre\lib\jsse.jar;c:\Program
  Files\Java\jdk1.5.0_04\jre\li
  b\jce.jar;c:\Program
  Files\Java\jdk1.5.0_04\jre\lib\charsets.jar;c:\Program
  Files\Java\jdk
  1.5.0_04\jre\classes
java.runtime.name=Java(TM) 2 Runtime Environment, Standard Edition
  -
 
  Installed plugins :
icmsbuild-plugin-1.5
maven-abbot-plugin-1.1
maven-announcement-plugin-1.3
maven-ant-plugin-1.9
maven-antlr-plugin-1.2.1
maven-artifact-plugin-1.6
maven-aspectj-plugin-3.2
maven-castor-plugin-1.2
maven-changelog-plugin-1.8.2
maven-changes-plugin-1.5.1
maven-checkstyle-plugin-2.5
maven-clean-plugin-1.3
maven-clover-plugin-1.10
maven-console-plugin-1.1
maven-cruisecontrol-plugin-1.7
maven-dashboard-plugin-1.8
maven-developer-activity-plugin-1.5.2
maven-dist-plugin-1.6.1
maven-ear-plugin-1.7
maven-eclipse-plugin-1.9
maven-ejb-plugin-1.7.1
maven-faq-plugin-1.5
maven-file-activity-plugin-1.5.2
maven-genapp-plugin-2.2.1
maven-gump-plugin-2.0.1
maven-hibernate-plugin-1.3
maven-html2xdoc-plugin-1.3.1
maven-idea-plugin-1.6
maven-j2ee-plugin-1.5.1
maven-jalopy-plugin-1.3.1
maven-jar-plugin-1.7
maven-java-plugin-1.5
maven-javacc-plugin-1.1
maven-javadoc-plugin-1.7
maven-jboss-plugin-1.5
maven-jbuilder-plugin-1.5
maven-jcoverage-plugin-1.0.9
maven-jdepend-plugin-1.5
maven-jdiff-plugin-1.5
maven-jellydoc-plugin-1.3.1
maven-jetty-plugin-1.1
maven-jira-plugin-1.1.2
maven-jnlp-plugin-1.4.1
maven-junit-report-plugin-1.5
maven-jxr-plugin-1.4.3
maven-license-plugin-1.2
maven-linkcheck-plugin-1.3.4
maven-multichanges-plugin-1.1
maven-multiproject-plugin-1.4.1
maven-native-plugin-1.1
maven-nsis-plugin-1.1
maven-pdf-plugin-2.4
maven-plugin-plugin-1.6
maven-pmd-plugin-1.7
maven-pom-plugin-1.4.1
maven-rar-plugin-1.0
maven-release-plugin-1.4.1
maven-repository-plugin-1.2
maven-scm-plugin-1.5
maven-simian-plugin-1.5
maven-site-plugin-1.6.1
maven-tasklist-plugin-2.4
maven-test-plugin-1.7
maven-uberjar-plugin-1.2
maven-war-plugin-1.6.1
maven-xdoc-plugin-1.9.2
 
 
 
 
  -Original Message-
  From: Dion Gillard [mailto:[EMAIL PROTECTED]
  Sent: Thursday, 6 October 2005 4:57 PM
  To: Maven Users List; [EMAIL PROTECTED]
  Subject: Re: [m11b2] Long coercion exception

RE: [m11b2] Long coercion exception

2005-10-07 Thread Anthony Kong

Hi, 

Attached is the trace file. Couldn't tell what expression is causing the
problem from it...

Cheers,
AK
 

-Original Message-
From: Dion Gillard [mailto:[EMAIL PROTECTED] 
Sent: Friday, 7 October 2005 1:50 PM
To: [EMAIL PROTECTED]
Cc: Maven Users List
Subject: Re: [m11b2] Long coercion exception

Try running maven -X whateverGoalCausesTheProblem

Somewhere there is an expression, probably with a +/- or other arithmetic
expression in it.

On 10/7/05, Anthony Kong [EMAIL PROTECTED] wrote:
 Hi,

 Thanks for the reply! Actually there is so little information, I do 
 not know even what and where causes the error.

 Basically I develop a custom goal in a maven.xml (without any 
 project.xml) and use m11b2 to invoke it. And the error came out before 
 build:start is printed out to the console. Also it would remind me 
 to define default goal in build/.

 I have tried to use maven:genapp to create a dummy project.xml, and 
 the error still occur. But if I run m11b2 on other projects, it runs
run...

 I did not define any email address in either maven.xml or project.xml.

 Cheers,

 AK

 PS. FYI, Here is what I got from maven -i

  __  __
 |  \/  |__ _Apache__ ___
 | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
 |_|  |_\__,_|\_/\___|_||_|  v. 1.1-beta-2

 plugin maven-cruisecontrol-plugin-1.6 is cached (dynatag dep) but no 
 longer present Cache invalidated due to out of date plugins
 - Environment
   java.version=1.5.0_04
   file.encoding=Cp1252
   java.ext.dirs=c:\Program Files\Java\jdk1.5.0_04\jre\lib\ext

 java.class.path=f:\opt\cygwin\opt\maven-1.1-beta-2/lib/forehead-1.0-be
 ta-5.j
 ar
   os.name=Windows XP
   java.vendor=Sun Microsystems Inc.
   sun.boot.class.path=c:\Program
 Files\Java\jdk1.5.0_04\jre\lib\rt.jar;c:\Program Files\Ja 
 va\jdk1.5.0_04\jre\lib\i18n.jar;c:\Program
 Files\Java\jdk1.5.0_04\jre\lib\sunrsasign.jar;c
 :\Program Files\Java\jdk1.5.0_04\jre\lib\jsse.jar;c:\Program
 Files\Java\jdk1.5.0_04\jre\li
 b\jce.jar;c:\Program 
 Files\Java\jdk1.5.0_04\jre\lib\charsets.jar;c:\Program
 Files\Java\jdk
 1.5.0_04\jre\classes
   java.runtime.name=Java(TM) 2 Runtime Environment, Standard Edition
 -

 Installed plugins :
   icmsbuild-plugin-1.5
   maven-abbot-plugin-1.1
   maven-announcement-plugin-1.3
   maven-ant-plugin-1.9
   maven-antlr-plugin-1.2.1
   maven-artifact-plugin-1.6
   maven-aspectj-plugin-3.2
   maven-castor-plugin-1.2
   maven-changelog-plugin-1.8.2
   maven-changes-plugin-1.5.1
   maven-checkstyle-plugin-2.5
   maven-clean-plugin-1.3
   maven-clover-plugin-1.10
   maven-console-plugin-1.1
   maven-cruisecontrol-plugin-1.7
   maven-dashboard-plugin-1.8
   maven-developer-activity-plugin-1.5.2
   maven-dist-plugin-1.6.1
   maven-ear-plugin-1.7
   maven-eclipse-plugin-1.9
   maven-ejb-plugin-1.7.1
   maven-faq-plugin-1.5
   maven-file-activity-plugin-1.5.2
   maven-genapp-plugin-2.2.1
   maven-gump-plugin-2.0.1
   maven-hibernate-plugin-1.3
   maven-html2xdoc-plugin-1.3.1
   maven-idea-plugin-1.6
   maven-j2ee-plugin-1.5.1
   maven-jalopy-plugin-1.3.1
   maven-jar-plugin-1.7
   maven-java-plugin-1.5
   maven-javacc-plugin-1.1
   maven-javadoc-plugin-1.7
   maven-jboss-plugin-1.5
   maven-jbuilder-plugin-1.5
   maven-jcoverage-plugin-1.0.9
   maven-jdepend-plugin-1.5
   maven-jdiff-plugin-1.5
   maven-jellydoc-plugin-1.3.1
   maven-jetty-plugin-1.1
   maven-jira-plugin-1.1.2
   maven-jnlp-plugin-1.4.1
   maven-junit-report-plugin-1.5
   maven-jxr-plugin-1.4.3
   maven-license-plugin-1.2
   maven-linkcheck-plugin-1.3.4
   maven-multichanges-plugin-1.1
   maven-multiproject-plugin-1.4.1
   maven-native-plugin-1.1
   maven-nsis-plugin-1.1
   maven-pdf-plugin-2.4
   maven-plugin-plugin-1.6
   maven-pmd-plugin-1.7
   maven-pom-plugin-1.4.1
   maven-rar-plugin-1.0
   maven-release-plugin-1.4.1
   maven-repository-plugin-1.2
   maven-scm-plugin-1.5
   maven-simian-plugin-1.5
   maven-site-plugin-1.6.1
   maven-tasklist-plugin-2.4
   maven-test-plugin-1.7
   maven-uberjar-plugin-1.2
   maven-war-plugin-1.6.1
   maven-xdoc-plugin-1.9.2




 -Original Message-
 From: Dion Gillard [mailto:[EMAIL PROTECTED]
 Sent: Thursday, 6 October 2005 4:57 PM
 To: Maven Users List; [EMAIL PROTECTED]
 Subject: Re: [m11b2] Long coercion exception

 I'm guessing the expression starting with 'mailto:' is being parsed as 
 a number.

 Where is it being declared?

 On 10/6/05, Anthony Kong [EMAIL PROTECTED] wrote:
  Hi, all,
 
  Anyone has any idea what cause this exception?
 
  Cheers,
  AK
 
  ==
 
  Caught exception evaluating:
  mailto:[EMAIL PROTECTED]
  [EMAIL PROTECTED] Reason: java.l
  ang.Exception: Long coercion exception
  java.lang.Exception: Long coercion exception
  at
  org.apache.commons.jexl.util.Coercion.coerceLong(Coercion.java:100)
  at
  org.apache.commons.jexl.parser.ASTSubtractNode.value(ASTSubtractNode
  .j
  ava:81
  )
  at
 
org.apache.commons.jexl.parser.ASTExpression.value(ASTExpression.java:47

Re: [m11b2] Long coercion exception

2005-10-06 Thread Dion Gillard
I'm guessing the expression starting with 'mailto:' is being parsed as a number.

Where is it being declared?

On 10/6/05, Anthony Kong [EMAIL PROTECTED] wrote:
 Hi, all,

 Anyone has any idea what cause this exception?

 Cheers,
 AK

 ==

 Caught exception evaluating:
 mailto:[EMAIL PROTECTED]
 [EMAIL PROTECTED] Reason: java.l
 ang.Exception: Long coercion exception
 java.lang.Exception: Long coercion exception
 at
 org.apache.commons.jexl.util.Coercion.coerceLong(Coercion.java:100)
 at
 org.apache.commons.jexl.parser.ASTSubtractNode.value(ASTSubtractNode.java:81
 )
 at
 org.apache.commons.jexl.parser.ASTExpression.value(ASTExpression.java:47)
 at
 org.apache.commons.jexl.ExpressionImpl.evaluate(ExpressionImpl.java:86)
 at
 org.apache.commons.jelly.expression.jexl.JexlExpression.evaluate(JexlExpress
 ion
 .java:69)
 at
 org.apache.commons.jelly.expression.jexl.JexlExpressionFactory$ExpressionSup
 por
 tLocal.evaluate(JexlExpressionFactory.java:122)
 at
 org.apache.commons.jelly.expression.ExpressionSupport.evaluateRecurse(Expres
 sio
 nSupport.java:61)
 at
 org.apache.commons.jelly.expression.ExpressionSupport.evaluateAsString(Expre
 ssi
 onSupport.java:46)
 at
 org.apache.commons.jelly.expression.CompositeExpression.evaluateAsString(Com
 pos
 iteExpression.java:256)
 at
 org.apache.commons.jelly.expression.CompositeExpression.evaluate(CompositeEx
 pre
 ssion.java:248)
 at
 org.apache.commons.jelly.expression.ExpressionSupport.evaluateRecurse(Expres
 sio
 nSupport.java:61)
 at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:241)
 at
 org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
 at
 org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:
 78)

 at
 org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction
 (Ma
 venGoalTag.java:109)
 at org.apache.maven.werkz.Goal.fire(Goal.java:656)
 at org.apache.maven.werkz.Goal.attain(Goal.java:592)
 at
 org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:693)
 at org.apache.maven.MavenSession.attainGoals(MavenSession.java:263)
 at org.apache.maven.cli.App.doMain(App.java:511)
 at org.apache.maven.cli.App.main(App.java:1258)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
 )
 at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
 .ja
 va:25)
 at java.lang.reflect.Method.invoke(Method.java:585)
 at com.werken.forehead.Forehead.run(Forehead.java:551)
 at com.werken.forehead.Forehead.main(Forehead.java:581)




--
http://www.multitask.com.au/people/dion/
You are going to let the fear of poverty govern your life and your
reward will be that you will eat, but you will not live. - George
Bernard Shaw

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



RE: [m11b2] Long coercion exception

2005-10-06 Thread Anthony Kong
Hi, 

Thanks for the reply! Actually there is so little information, I do not know
even what and where causes the error. 

Basically I develop a custom goal in a maven.xml (without any project.xml)
and use m11b2 to invoke it. And the error came out before build:start is
printed out to the console. Also it would remind me to define default goal
in build/.

I have tried to use maven:genapp to create a dummy project.xml, and the
error still occur. But if I run m11b2 on other projects, it runs run...

I did not define any email address in either maven.xml or project.xml.

Cheers,

AK

PS. FYI, Here is what I got from maven -i

 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.1-beta-2

plugin maven-cruisecontrol-plugin-1.6 is cached (dynatag dep) but no longer
present
Cache invalidated due to out of date plugins
- Environment
  java.version=1.5.0_04
  file.encoding=Cp1252
  java.ext.dirs=c:\Program Files\Java\jdk1.5.0_04\jre\lib\ext
 
java.class.path=f:\opt\cygwin\opt\maven-1.1-beta-2/lib/forehead-1.0-beta-5.j
ar
  os.name=Windows XP
  java.vendor=Sun Microsystems Inc.
  sun.boot.class.path=c:\Program
Files\Java\jdk1.5.0_04\jre\lib\rt.jar;c:\Program Files\Ja
va\jdk1.5.0_04\jre\lib\i18n.jar;c:\Program
Files\Java\jdk1.5.0_04\jre\lib\sunrsasign.jar;c
:\Program Files\Java\jdk1.5.0_04\jre\lib\jsse.jar;c:\Program
Files\Java\jdk1.5.0_04\jre\li
b\jce.jar;c:\Program Files\Java\jdk1.5.0_04\jre\lib\charsets.jar;c:\Program
Files\Java\jdk
1.5.0_04\jre\classes
  java.runtime.name=Java(TM) 2 Runtime Environment, Standard Edition
-

Installed plugins :
  icmsbuild-plugin-1.5
  maven-abbot-plugin-1.1
  maven-announcement-plugin-1.3
  maven-ant-plugin-1.9
  maven-antlr-plugin-1.2.1
  maven-artifact-plugin-1.6
  maven-aspectj-plugin-3.2
  maven-castor-plugin-1.2
  maven-changelog-plugin-1.8.2
  maven-changes-plugin-1.5.1
  maven-checkstyle-plugin-2.5
  maven-clean-plugin-1.3
  maven-clover-plugin-1.10
  maven-console-plugin-1.1
  maven-cruisecontrol-plugin-1.7
  maven-dashboard-plugin-1.8
  maven-developer-activity-plugin-1.5.2
  maven-dist-plugin-1.6.1
  maven-ear-plugin-1.7
  maven-eclipse-plugin-1.9
  maven-ejb-plugin-1.7.1
  maven-faq-plugin-1.5
  maven-file-activity-plugin-1.5.2
  maven-genapp-plugin-2.2.1
  maven-gump-plugin-2.0.1
  maven-hibernate-plugin-1.3
  maven-html2xdoc-plugin-1.3.1
  maven-idea-plugin-1.6
  maven-j2ee-plugin-1.5.1
  maven-jalopy-plugin-1.3.1
  maven-jar-plugin-1.7
  maven-java-plugin-1.5
  maven-javacc-plugin-1.1
  maven-javadoc-plugin-1.7
  maven-jboss-plugin-1.5
  maven-jbuilder-plugin-1.5
  maven-jcoverage-plugin-1.0.9
  maven-jdepend-plugin-1.5
  maven-jdiff-plugin-1.5
  maven-jellydoc-plugin-1.3.1
  maven-jetty-plugin-1.1
  maven-jira-plugin-1.1.2
  maven-jnlp-plugin-1.4.1
  maven-junit-report-plugin-1.5
  maven-jxr-plugin-1.4.3
  maven-license-plugin-1.2
  maven-linkcheck-plugin-1.3.4
  maven-multichanges-plugin-1.1
  maven-multiproject-plugin-1.4.1
  maven-native-plugin-1.1
  maven-nsis-plugin-1.1
  maven-pdf-plugin-2.4
  maven-plugin-plugin-1.6
  maven-pmd-plugin-1.7
  maven-pom-plugin-1.4.1
  maven-rar-plugin-1.0
  maven-release-plugin-1.4.1
  maven-repository-plugin-1.2
  maven-scm-plugin-1.5
  maven-simian-plugin-1.5
  maven-site-plugin-1.6.1
  maven-tasklist-plugin-2.4
  maven-test-plugin-1.7
  maven-uberjar-plugin-1.2
  maven-war-plugin-1.6.1
  maven-xdoc-plugin-1.9.2




-Original Message-
From: Dion Gillard [mailto:[EMAIL PROTECTED] 
Sent: Thursday, 6 October 2005 4:57 PM
To: Maven Users List; [EMAIL PROTECTED]
Subject: Re: [m11b2] Long coercion exception

I'm guessing the expression starting with 'mailto:' is being parsed as a
number.

Where is it being declared?

On 10/6/05, Anthony Kong [EMAIL PROTECTED] wrote:
 Hi, all,

 Anyone has any idea what cause this exception?

 Cheers,
 AK

 ==

 Caught exception evaluating:
 mailto:[EMAIL PROTECTED]
 [EMAIL PROTECTED] Reason: java.l
 ang.Exception: Long coercion exception
 java.lang.Exception: Long coercion exception
 at
 org.apache.commons.jexl.util.Coercion.coerceLong(Coercion.java:100)
 at
 org.apache.commons.jexl.parser.ASTSubtractNode.value(ASTSubtractNode.j
 ava:81
 )
 at
 org.apache.commons.jexl.parser.ASTExpression.value(ASTExpression.java:47)
 at
 org.apache.commons.jexl.ExpressionImpl.evaluate(ExpressionImpl.java:86)
 at
 org.apache.commons.jelly.expression.jexl.JexlExpression.evaluate(JexlE
 xpress
 ion
 .java:69)
 at
 org.apache.commons.jelly.expression.jexl.JexlExpressionFactory$Express
 ionSup
 por
 tLocal.evaluate(JexlExpressionFactory.java:122)
 at
 org.apache.commons.jelly.expression.ExpressionSupport.evaluateRecurse(
 Expres
 sio
 nSupport.java:61)
 at
 org.apache.commons.jelly.expression.ExpressionSupport.evaluateAsString
 (Expre
 ssi
 onSupport.java:46)
 at
 org.apache.commons.jelly.expression.CompositeExpression.evaluateAsStri
 ng(Com

Re: [m11b2] Long coercion exception

2005-10-06 Thread Dion Gillard
Try running maven -X whateverGoalCausesTheProblem

Somewhere there is an expression, probably with a +/- or other
arithmetic expression in it.

On 10/7/05, Anthony Kong [EMAIL PROTECTED] wrote:
 Hi,

 Thanks for the reply! Actually there is so little information, I do not know
 even what and where causes the error.

 Basically I develop a custom goal in a maven.xml (without any project.xml)
 and use m11b2 to invoke it. And the error came out before build:start is
 printed out to the console. Also it would remind me to define default goal
 in build/.

 I have tried to use maven:genapp to create a dummy project.xml, and the
 error still occur. But if I run m11b2 on other projects, it runs run...

 I did not define any email address in either maven.xml or project.xml.

 Cheers,

 AK

 PS. FYI, Here is what I got from maven -i

  __  __
 |  \/  |__ _Apache__ ___
 | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
 |_|  |_\__,_|\_/\___|_||_|  v. 1.1-beta-2

 plugin maven-cruisecontrol-plugin-1.6 is cached (dynatag dep) but no longer
 present
 Cache invalidated due to out of date plugins
 - Environment
   java.version=1.5.0_04
   file.encoding=Cp1252
   java.ext.dirs=c:\Program Files\Java\jdk1.5.0_04\jre\lib\ext

 java.class.path=f:\opt\cygwin\opt\maven-1.1-beta-2/lib/forehead-1.0-beta-5.j
 ar
   os.name=Windows XP
   java.vendor=Sun Microsystems Inc.
   sun.boot.class.path=c:\Program
 Files\Java\jdk1.5.0_04\jre\lib\rt.jar;c:\Program Files\Ja
 va\jdk1.5.0_04\jre\lib\i18n.jar;c:\Program
 Files\Java\jdk1.5.0_04\jre\lib\sunrsasign.jar;c
 :\Program Files\Java\jdk1.5.0_04\jre\lib\jsse.jar;c:\Program
 Files\Java\jdk1.5.0_04\jre\li
 b\jce.jar;c:\Program Files\Java\jdk1.5.0_04\jre\lib\charsets.jar;c:\Program
 Files\Java\jdk
 1.5.0_04\jre\classes
   java.runtime.name=Java(TM) 2 Runtime Environment, Standard Edition
 -

 Installed plugins :
   icmsbuild-plugin-1.5
   maven-abbot-plugin-1.1
   maven-announcement-plugin-1.3
   maven-ant-plugin-1.9
   maven-antlr-plugin-1.2.1
   maven-artifact-plugin-1.6
   maven-aspectj-plugin-3.2
   maven-castor-plugin-1.2
   maven-changelog-plugin-1.8.2
   maven-changes-plugin-1.5.1
   maven-checkstyle-plugin-2.5
   maven-clean-plugin-1.3
   maven-clover-plugin-1.10
   maven-console-plugin-1.1
   maven-cruisecontrol-plugin-1.7
   maven-dashboard-plugin-1.8
   maven-developer-activity-plugin-1.5.2
   maven-dist-plugin-1.6.1
   maven-ear-plugin-1.7
   maven-eclipse-plugin-1.9
   maven-ejb-plugin-1.7.1
   maven-faq-plugin-1.5
   maven-file-activity-plugin-1.5.2
   maven-genapp-plugin-2.2.1
   maven-gump-plugin-2.0.1
   maven-hibernate-plugin-1.3
   maven-html2xdoc-plugin-1.3.1
   maven-idea-plugin-1.6
   maven-j2ee-plugin-1.5.1
   maven-jalopy-plugin-1.3.1
   maven-jar-plugin-1.7
   maven-java-plugin-1.5
   maven-javacc-plugin-1.1
   maven-javadoc-plugin-1.7
   maven-jboss-plugin-1.5
   maven-jbuilder-plugin-1.5
   maven-jcoverage-plugin-1.0.9
   maven-jdepend-plugin-1.5
   maven-jdiff-plugin-1.5
   maven-jellydoc-plugin-1.3.1
   maven-jetty-plugin-1.1
   maven-jira-plugin-1.1.2
   maven-jnlp-plugin-1.4.1
   maven-junit-report-plugin-1.5
   maven-jxr-plugin-1.4.3
   maven-license-plugin-1.2
   maven-linkcheck-plugin-1.3.4
   maven-multichanges-plugin-1.1
   maven-multiproject-plugin-1.4.1
   maven-native-plugin-1.1
   maven-nsis-plugin-1.1
   maven-pdf-plugin-2.4
   maven-plugin-plugin-1.6
   maven-pmd-plugin-1.7
   maven-pom-plugin-1.4.1
   maven-rar-plugin-1.0
   maven-release-plugin-1.4.1
   maven-repository-plugin-1.2
   maven-scm-plugin-1.5
   maven-simian-plugin-1.5
   maven-site-plugin-1.6.1
   maven-tasklist-plugin-2.4
   maven-test-plugin-1.7
   maven-uberjar-plugin-1.2
   maven-war-plugin-1.6.1
   maven-xdoc-plugin-1.9.2




 -Original Message-
 From: Dion Gillard [mailto:[EMAIL PROTECTED]
 Sent: Thursday, 6 October 2005 4:57 PM
 To: Maven Users List; [EMAIL PROTECTED]
 Subject: Re: [m11b2] Long coercion exception

 I'm guessing the expression starting with 'mailto:' is being parsed as a
 number.

 Where is it being declared?

 On 10/6/05, Anthony Kong [EMAIL PROTECTED] wrote:
  Hi, all,
 
  Anyone has any idea what cause this exception?
 
  Cheers,
  AK
 
  ==
 
  Caught exception evaluating:
  mailto:[EMAIL PROTECTED]
  [EMAIL PROTECTED] Reason: java.l
  ang.Exception: Long coercion exception
  java.lang.Exception: Long coercion exception
  at
  org.apache.commons.jexl.util.Coercion.coerceLong(Coercion.java:100)
  at
  org.apache.commons.jexl.parser.ASTSubtractNode.value(ASTSubtractNode.j
  ava:81
  )
  at
  org.apache.commons.jexl.parser.ASTExpression.value(ASTExpression.java:47)
  at
  org.apache.commons.jexl.ExpressionImpl.evaluate(ExpressionImpl.java:86)
  at
  org.apache.commons.jelly.expression.jexl.JexlExpression.evaluate(JexlE
  xpress
  ion
  .java:69)
  at
  org.apache.commons.jelly.expression.jexl.JexlExpressionFactory$Express
  ionSup
  por
  tLocal.evaluate