Re: Upgrading to 1.0RC3 - exception thrown when listing goals
Hi all. I'm getting the same exception, but using ClearCase. Has the ClearCase connection string changed from the following: repository connection scm:clearcase: /connection /repository I assume the maven-changelog-plugin still reads this setting when generating the report? Best regards.Mvh. Jan-Helge -- Jan-Helge Bergesen, AXXESSIT ASA (http://www.axxessit.no) Tlf: 55 two2 49 75, ICQ: six5412239, MSN: jahebe_6six[EMAIL PROTECTED] Dion Gillard [EMAIL PROTECTED] 25.05.2004 01:03 Please respond to Maven Users List To: Maven Users List [EMAIL PROTECTED] cc: Subject:Re: Upgrading to 1.0RC3 - exception thrown when listing goals It was the repository connection string. throws Exception is an abomination. On Tue, 25 May 2004 08:58:36 +1000, Brett Porter [EMAIL PROTECTED] wrote: What happened? (Maybe we need to document something?) Also, it would have been good to see the first exception you got. As of RC3, removing the local plugins directory will just save space - it should only use plugins that are actually installed as JARs. - Brett -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Omair-Inam Abdul-Matin Sent: Tuesday, 25 May 2004 7:47 AM To: [EMAIL PROTECTED] Subject: Re: Upgrading to 1.0RC3 - exception thrown when listing goals Never mind, Problem solved. Omair Omair-Inam Abdul-Matin wrote: 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(NativeMethodAccess orImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMeth odAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.commons.betwixt.expression.MethodExpression.evaluat e(MethodExpression.java:96) at org.apache.commons.betwixt.io.AbstractBeanWriter.writeContent( AbstractBeanWriter.java:658) at org.apache.commons.betwixt.io.AbstractBeanWriter.writeRestOfEl ement(AbstractBeanWriter.java:539) at org.apache.commons.betwixt.io.AbstractBeanWriter.write(Abstrac tBeanWriter.java:481) at org.apache.commons.betwixt.io.AbstractBeanWriter.writeContent( AbstractBeanWriter.java:643) at org.apache.commons.betwixt.io.AbstractBeanWriter.writeRestOfEl ement(AbstractBeanWriter.java:539) at org.apache.commons.betwixt.io.AbstractBeanWriter.write(Abstrac tBeanWriter.java:513) at org.apache.commons.betwixt.io.AbstractBeanWriter.write(Abstrac tBeanWriter.java:233) at org.apache.commons.betwixt.io.AbstractBeanWriter.writeContent( AbstractBeanWriter.java:630) at org.apache.commons.betwixt.io.AbstractBeanWriter.writeRestOfEl ement(AbstractBeanWriter.java:539) at org.apache.commons.betwixt.io.AbstractBeanWriter.write(Abstrac tBeanWriter.java:513) at org.apache.commons.betwixt.io.AbstractBeanWriter.write(Abstrac tBeanWriter.java:233) at org.apache.commons.betwixt.io.AbstractBeanWriter.write(Abstrac tBeanWriter.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(MavenSessi on.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(NativeMethodAccess orImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMeth odAccessorImpl.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
Re: Upgrading to 1.0RC3 - exception thrown when listing goals
Never mind, Problem solved. Omair Omair-Inam Abdul-Matin wrote: 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
RE: Upgrading to 1.0RC3 - exception thrown when listing goals
What happened? (Maybe we need to document something?) Also, it would have been good to see the first exception you got. As of RC3, removing the local plugins directory will just save space - it should only use plugins that are actually installed as JARs. - Brett -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Omair-Inam Abdul-Matin Sent: Tuesday, 25 May 2004 7:47 AM To: [EMAIL PROTECTED] Subject: Re: Upgrading to 1.0RC3 - exception thrown when listing goals Never mind, Problem solved. Omair Omair-Inam Abdul-Matin wrote: 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(NativeMethodAccess orImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMeth odAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.commons.betwixt.expression.MethodExpression.evaluat e(MethodExpression.java:96) at org.apache.commons.betwixt.io.AbstractBeanWriter.writeContent( AbstractBeanWriter.java:658) at org.apache.commons.betwixt.io.AbstractBeanWriter.writeRestOfEl ement(AbstractBeanWriter.java:539) at org.apache.commons.betwixt.io.AbstractBeanWriter.write(Abstrac tBeanWriter.java:481) at org.apache.commons.betwixt.io.AbstractBeanWriter.writeContent( AbstractBeanWriter.java:643) at org.apache.commons.betwixt.io.AbstractBeanWriter.writeRestOfEl ement(AbstractBeanWriter.java:539) at org.apache.commons.betwixt.io.AbstractBeanWriter.write(Abstrac tBeanWriter.java:513) at org.apache.commons.betwixt.io.AbstractBeanWriter.write(Abstrac tBeanWriter.java:233) at org.apache.commons.betwixt.io.AbstractBeanWriter.writeContent( AbstractBeanWriter.java:630) at org.apache.commons.betwixt.io.AbstractBeanWriter.writeRestOfEl ement(AbstractBeanWriter.java:539) at org.apache.commons.betwixt.io.AbstractBeanWriter.write(Abstrac tBeanWriter.java:513) at org.apache.commons.betwixt.io.AbstractBeanWriter.write(Abstrac tBeanWriter.java:233) at org.apache.commons.betwixt.io.AbstractBeanWriter.write(Abstrac tBeanWriter.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(MavenSessi on.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(NativeMethodAccess orImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMeth odAccessorImpl.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(Reposit ory.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(NativeMethodAccess orImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMeth odAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.commons.betwixt.expression.MethodExpression.evaluat e(MethodExpression.java:96
Re: Upgrading to 1.0RC3 - exception thrown when listing goals
It was the repository connection string. throws Exception is an abomination. On Tue, 25 May 2004 08:58:36 +1000, Brett Porter [EMAIL PROTECTED] wrote: What happened? (Maybe we need to document something?) Also, it would have been good to see the first exception you got. As of RC3, removing the local plugins directory will just save space - it should only use plugins that are actually installed as JARs. - Brett -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Omair-Inam Abdul-Matin Sent: Tuesday, 25 May 2004 7:47 AM To: [EMAIL PROTECTED] Subject: Re: Upgrading to 1.0RC3 - exception thrown when listing goals Never mind, Problem solved. Omair Omair-Inam Abdul-Matin wrote: 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(NativeMethodAccess orImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMeth odAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.commons.betwixt.expression.MethodExpression.evaluat e(MethodExpression.java:96) at org.apache.commons.betwixt.io.AbstractBeanWriter.writeContent( AbstractBeanWriter.java:658) at org.apache.commons.betwixt.io.AbstractBeanWriter.writeRestOfEl ement(AbstractBeanWriter.java:539) at org.apache.commons.betwixt.io.AbstractBeanWriter.write(Abstrac tBeanWriter.java:481) at org.apache.commons.betwixt.io.AbstractBeanWriter.writeContent( AbstractBeanWriter.java:643) at org.apache.commons.betwixt.io.AbstractBeanWriter.writeRestOfEl ement(AbstractBeanWriter.java:539) at org.apache.commons.betwixt.io.AbstractBeanWriter.write(Abstrac tBeanWriter.java:513) at org.apache.commons.betwixt.io.AbstractBeanWriter.write(Abstrac tBeanWriter.java:233) at org.apache.commons.betwixt.io.AbstractBeanWriter.writeContent( AbstractBeanWriter.java:630) at org.apache.commons.betwixt.io.AbstractBeanWriter.writeRestOfEl ement(AbstractBeanWriter.java:539) at org.apache.commons.betwixt.io.AbstractBeanWriter.write(Abstrac tBeanWriter.java:513) at org.apache.commons.betwixt.io.AbstractBeanWriter.write(Abstrac tBeanWriter.java:233) at org.apache.commons.betwixt.io.AbstractBeanWriter.write(Abstrac tBeanWriter.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(MavenSessi on.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(NativeMethodAccess orImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMeth odAccessorImpl.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(Reposit ory.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(NativeMethodAccess orImpl.java:39
RE: Upgrading to 1.0RC3 - exception thrown when listing goals
throws Exception is an abomination. Yes it is. - Brett
Re: Upgrading to 1.0RC3 - exception thrown when listing goals
Dion Gillard wrote: throws Exception is an abomination. Very true, but this is even worse: try { // stuff } catch(Exception) { return null; } ;) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]