maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Omair-Inam Abdul-Matin <oiina...@cs.uwaterloo.ca>
Subject Upgrading to 1.0RC3 - exception thrown when listing goals
Date Mon, 24 May 2004 21:37:09 GMT
I installed Maven 1.0RC3.  The first time I forgot to remove the local 
plugins directory and maven threw a nasty exception and quit on me.  I 
then uninstalled it, removed the local plugin directory and reinstalled 
it.  Now when I call maven -g, maven lists the goal but it throws the 
following exception first:

__  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0-rc3

[MethodExpression] Cannot evaluate expression
java.lang.reflect.InvocationTargetException
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:324)
	at 
org.apache.commons.betwixt.expression.MethodExpression.evaluate(MethodExpression.java:96)
	at 
org.apache.commons.betwixt.io.AbstractBeanWriter.writeContent(AbstractBeanWriter.java:658)
	at 
org.apache.commons.betwixt.io.AbstractBeanWriter.writeRestOfElement(AbstractBeanWriter.java:539)
	at 
org.apache.commons.betwixt.io.AbstractBeanWriter.write(AbstractBeanWriter.java:481)
	at 
org.apache.commons.betwixt.io.AbstractBeanWriter.writeContent(AbstractBeanWriter.java:643)
	at 
org.apache.commons.betwixt.io.AbstractBeanWriter.writeRestOfElement(AbstractBeanWriter.java:539)
	at 
org.apache.commons.betwixt.io.AbstractBeanWriter.write(AbstractBeanWriter.java:513)
	at 
org.apache.commons.betwixt.io.AbstractBeanWriter.write(AbstractBeanWriter.java:233)
	at 
org.apache.commons.betwixt.io.AbstractBeanWriter.writeContent(AbstractBeanWriter.java:630)
	at 
org.apache.commons.betwixt.io.AbstractBeanWriter.writeRestOfElement(AbstractBeanWriter.java:539)
	at 
org.apache.commons.betwixt.io.AbstractBeanWriter.write(AbstractBeanWriter.java:513)
	at 
org.apache.commons.betwixt.io.AbstractBeanWriter.write(AbstractBeanWriter.java:233)
	at 
org.apache.commons.betwixt.io.AbstractBeanWriter.write(AbstractBeanWriter.java:162)
	at org.apache.commons.betwixt.io.BeanWriter.write(BeanWriter.java:217)
	at org.apache.maven.MavenUtils.getProjectString(MavenUtils.java:421)
	at org.apache.maven.MavenUtils.getInterpolatedPOM(MavenUtils.java:372)
	at org.apache.maven.MavenUtils.getJellyProject(MavenUtils.java:349)
	at org.apache.maven.MavenUtils.getProject(MavenUtils.java:144)
	at org.apache.maven.MavenUtils.getProject(MavenUtils.java:122)
	at 
org.apache.maven.MavenSession.initializeRootProject(MavenSession.java:235)
	at org.apache.maven.MavenSession.initialize(MavenSession.java:175)
	at org.apache.maven.cli.App.doMain(App.java:472)
	at org.apache.maven.cli.App.main(App.java:1214)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:324)
	at com.werken.forehead.Forehead.run(Forehead.java:551)
	at com.werken.forehead.Forehead.main(Forehead.java:581)
Caused by: java.lang.IllegalArgumentException: repository connection 
string contains less than six tokens
	at 
org.apache.maven.project.Repository.splitSCMConnection(Repository.java:240)
	at org.apache.maven.project.Repository.getCvsModule(Repository.java:205)
	at org.apache.maven.project.Repository.getCvsModule(Repository.java:144)
	... 33 more
[MethodExpression] Cannot evaluate expression
java.lang.reflect.InvocationTargetException
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:324)
	at 
org.apache.commons.betwixt.expression.MethodExpression.evaluate(MethodExpression.java:96)
	at 
org.apache.commons.betwixt.io.AbstractBeanWriter.writeContent(AbstractBeanWriter.java:658)
	at 
org.apache.commons.betwixt.io.AbstractBeanWriter.writeRestOfElement(AbstractBeanWriter.java:539)
	at 
org.apache.commons.betwixt.io.AbstractBeanWriter.write(AbstractBeanWriter.java:481)
	at 
org.apache.commons.betwixt.io.AbstractBeanWriter.writeContent(AbstractBeanWriter.java:643)
	at 
org.apache.commons.betwixt.io.AbstractBeanWriter.writeRestOfElement(AbstractBeanWriter.java:539)
	at 
org.apache.commons.betwixt.io.AbstractBeanWriter.write(AbstractBeanWriter.java:513)
	at 
org.apache.commons.betwixt.io.AbstractBeanWriter.write(AbstractBeanWriter.java:233)
	at 
org.apache.commons.betwixt.io.AbstractBeanWriter.writeContent(AbstractBeanWriter.java:630)
	at 
org.apache.commons.betwixt.io.AbstractBeanWriter.writeRestOfElement(AbstractBeanWriter.java:539)
	at 
org.apache.commons.betwixt.io.AbstractBeanWriter.write(AbstractBeanWriter.java:513)
	at 
org.apache.commons.betwixt.io.AbstractBeanWriter.write(AbstractBeanWriter.java:233)
	at 
org.apache.commons.betwixt.io.AbstractBeanWriter.write(AbstractBeanWriter.java:162)
	at org.apache.commons.betwixt.io.BeanWriter.write(BeanWriter.java:217)
	at org.apache.maven.MavenUtils.getProjectString(MavenUtils.java:421)
	at org.apache.maven.MavenUtils.getInterpolatedPOM(MavenUtils.java:372)
	at org.apache.maven.MavenUtils.getJellyProject(MavenUtils.java:349)
	at org.apache.maven.MavenUtils.getProject(MavenUtils.java:144)
	at org.apache.maven.MavenUtils.getProject(MavenUtils.java:122)
	at 
org.apache.maven.MavenSession.initializeRootProject(MavenSession.java:235)
	at org.apache.maven.MavenSession.initialize(MavenSession.java:175)
	at org.apache.maven.cli.App.doMain(App.java:472)
	at org.apache.maven.cli.App.main(App.java:1214)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:324)
	at com.werken.forehead.Forehead.run(Forehead.java:551)
	at com.werken.forehead.Forehead.main(Forehead.java:581)
Caused by: java.lang.IllegalArgumentException: repository connection 
string contains less than six tokens
	at 
org.apache.maven.project.Repository.splitSCMConnection(Repository.java:240)
	at org.apache.maven.project.Repository.getCvsRoot(Repository.java:182)
	at org.apache.maven.project.Repository.getCvsRoot(Repository.java:129)
	... 33 more
[MethodExpression] Cannot evaluate expression
java.lang.reflect.InvocationTargetException
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:324)
	at 
org.apache.commons.betwixt.expression.MethodExpression.evaluate(MethodExpression.java:96)
	at 
org.apache.commons.betwixt.io.AbstractBeanWriter.writeContent(AbstractBeanWriter.java:658)
	at 
org.apache.commons.betwixt.io.AbstractBeanWriter.writeRestOfElement(AbstractBeanWriter.java:539)
	at 
org.apache.commons.betwixt.io.AbstractBeanWriter.write(AbstractBeanWriter.java:481)
	at 
org.apache.commons.betwixt.io.AbstractBeanWriter.writeContent(AbstractBeanWriter.java:643)
	at 
org.apache.commons.betwixt.io.AbstractBeanWriter.writeRestOfElement(AbstractBeanWriter.java:539)
	at 
org.apache.commons.betwixt.io.AbstractBeanWriter.write(AbstractBeanWriter.java:513)
	at 
org.apache.commons.betwixt.io.AbstractBeanWriter.write(AbstractBeanWriter.java:233)
	at 
org.apache.commons.betwixt.io.AbstractBeanWriter.writeContent(AbstractBeanWriter.java:630)
	at 
org.apache.commons.betwixt.io.AbstractBeanWriter.writeRestOfElement(AbstractBeanWriter.java:539)
	at 
org.apache.commons.betwixt.io.AbstractBeanWriter.write(AbstractBeanWriter.java:513)
	at 
org.apache.commons.betwixt.io.AbstractBeanWriter.write(AbstractBeanWriter.java:233)
	at 
org.apache.commons.betwixt.io.AbstractBeanWriter.write(AbstractBeanWriter.java:162)
	at org.apache.commons.betwixt.io.BeanWriter.write(BeanWriter.java:217)
	at org.apache.maven.MavenUtils.getProjectString(MavenUtils.java:421)
	at org.apache.maven.MavenUtils.getInterpolatedPOM(MavenUtils.java:372)
	at org.apache.maven.MavenUtils.getJellyProject(MavenUtils.java:349)
	at org.apache.maven.MavenUtils.getProject(MavenUtils.java:144)
	at org.apache.maven.MavenUtils.getProject(MavenUtils.java:122)
	at 
org.apache.maven.MavenSession.initializeRootProject(MavenSession.java:235)
	at org.apache.maven.MavenSession.initialize(MavenSession.java:175)
	at org.apache.maven.cli.App.doMain(App.java:472)
	at org.apache.maven.cli.App.main(App.java:1214)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:324)
	at com.werken.forehead.Forehead.run(Forehead.java:551)
	at com.werken.forehead.Forehead.main(Forehead.java:581)
Caused by: java.lang.IllegalArgumentException: repository connection 
string contains less than six tokens
	at 
org.apache.maven.project.Repository.splitSCMConnection(Repository.java:240)
	at org.apache.maven.project.Repository.getScmType(Repository.java:115)
	... 33 more
Available [Plugins] / Goals
===========================
...

Does anyone know why this is happening?

Omair


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message