unsubscribe

2018-05-08 Thread Ilaria Corda
Please unsubscribe me from the list

Dr. Ilaria Corda (PhD)

Connect with me on:

uk.linkedin.com/in/ilariacorda


Re: groovysh problem in Groovy 2.5.0-rc-2

2018-05-08 Thread Paul King
That isn't supposed to happen and should be fixed in rc-3. We are making
some changes that didn't quite get finished for rc-2. Command-line
processing is in a semi-stable state right now and testing of groovysh
slipped through the cracks. The groovysh tests currently run against the
pre jarjar'd version of the class files.

On Wed, May 9, 2018 at 4:59 AM, Bahman Movaqar  wrote:

> I am able to produce the same behaviour on my machine (Linux + OpenJDK
> 1.8.0_162).
>
> If you're just getting acquainted with Groovy, I'd suggest you use 2.4.x
> series which is stable and well tested:  https://dl.bintray.com/groovy/
> maven/apache-groovy-binary-2.4.15.zip
>
> On 8 May 2018 at 20:25, Lucas Buchala  wrote:
>
>> Hello.
>>
>> I have just unpacked Groovy 2.5.0-rc-2 and groovysh doesn't seem to be
>> working:
>>
>> $ groovysh
>> java.lang.reflect.InvocationTargetException
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce
>> ssorImpl.java:62)
>> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe
>> thodAccessorImpl.java:43)
>> at java.lang.reflect.Method.invoke(Method.java:498)
>> at org.codehaus.groovy.tools.GroovyStarter.rootLoader(GroovySta
>> rter.java:114)
>> at org.codehaus.groovy.tools.GroovyStarter.main(GroovyStarter.
>> java:136)
>> Caused by: org.codehaus.groovy.runtime.typehandling.GroovyCastException:
>> Cannot cast object
>> 'org.codehaus.groovy.tools.shell.util.HelpFormatter@b10754' with class
>> 'org.codehaus.groovy.tools.shell.util.HelpFormatter' to class
>> 'groovyjarjarcommonscli.HelpFormatter'
>> at org.codehaus.groovy.runtime.typehandling.DefaultTypeTransfor
>> mation.continueCastOnSAM(DefaultTypeTransformation.java:414)
>> at org.codehaus.groovy.runtime.typehandling.DefaultTypeTransfor
>> mation.continueCastOnNumber(DefaultTypeTransformation.java:328)
>> at org.codehaus.groovy.runtime.typehandling.DefaultTypeTransfor
>> mation.castToType(DefaultTypeTransformation.java:242)
>> at groovy.lang.MetaClassImpl.setProperty(MetaClassImpl.java:2717)
>> at groovy.lang.MetaClassImpl.setProperty(MetaClassImpl.java:3782)
>> at groovy.lang.MetaClassImpl.setProperties(MetaClassImpl.java:
>> 1759)
>> at org.codehaus.groovy.runtime.callsite.ConstructorSite$NoParam
>> Site.callConstructor(ConstructorSite.java:125)
>> at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCa
>> llConstructor(CallSiteArray.java:59)
>> at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCo
>> nstructor(AbstractCallSite.java:238)
>> at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCo
>> nstructor(AbstractCallSite.java:250)
>> at org.codehaus.groovy.tools.shell.Main.main(Main.groovy:78)
>> ... 6 more
>>
>> Am I doing anything wrong? (I'm not experienced in Groovy/Java)
>> Or... can anyone confirm this problem?
>>
>
>


Re: groovysh problem in Groovy 2.5.0-rc-2

2018-05-08 Thread Bahman Movaqar
I am able to produce the same behaviour on my machine (Linux + OpenJDK
1.8.0_162).

If you're just getting acquainted with Groovy, I'd suggest you use 2.4.x
series which is stable and well tested:
https://dl.bintray.com/groovy/maven/apache-groovy-binary-2.4.15.zip

On 8 May 2018 at 20:25, Lucas Buchala  wrote:

> Hello.
>
> I have just unpacked Groovy 2.5.0-rc-2 and groovysh doesn't seem to be
> working:
>
> $ groovysh
> java.lang.reflect.InvocationTargetException
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(
> NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(
> DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498)
> at org.codehaus.groovy.tools.GroovyStarter.rootLoader(
> GroovyStarter.java:114)
> at org.codehaus.groovy.tools.GroovyStarter.main(
> GroovyStarter.java:136)
> Caused by: org.codehaus.groovy.runtime.typehandling.GroovyCastException:
> Cannot cast object
> 'org.codehaus.groovy.tools.shell.util.HelpFormatter@b10754' with class
> 'org.codehaus.groovy.tools.shell.util.HelpFormatter' to class
> 'groovyjarjarcommonscli.HelpFormatter'
> at org.codehaus.groovy.runtime.typehandling.
> DefaultTypeTransformation.continueCastOnSAM(DefaultTypeTransformation.
> java:414)
> at org.codehaus.groovy.runtime.typehandling.
> DefaultTypeTransformation.continueCastOnNumber(DefaultTypeTransformation.
> java:328)
> at org.codehaus.groovy.runtime.typehandling.
> DefaultTypeTransformation.castToType(DefaultTypeTransformation.java:242)
> at groovy.lang.MetaClassImpl.setProperty(MetaClassImpl.java:2717)
> at groovy.lang.MetaClassImpl.setProperty(MetaClassImpl.java:3782)
> at groovy.lang.MetaClassImpl.setProperties(MetaClassImpl.
> java:1759)
> at org.codehaus.groovy.runtime.callsite.ConstructorSite$
> NoParamSite.callConstructor(ConstructorSite.java:125)
> at org.codehaus.groovy.runtime.callsite.CallSiteArray.
> defaultCallConstructor(CallSiteArray.java:59)
> at org.codehaus.groovy.runtime.callsite.AbstractCallSite.
> callConstructor(AbstractCallSite.java:238)
> at org.codehaus.groovy.runtime.callsite.AbstractCallSite.
> callConstructor(AbstractCallSite.java:250)
> at org.codehaus.groovy.tools.shell.Main.main(Main.groovy:78)
> ... 6 more
>
> Am I doing anything wrong? (I'm not experienced in Groovy/Java)
> Or... can anyone confirm this problem?
>


groovysh problem in Groovy 2.5.0-rc-2

2018-05-08 Thread Lucas Buchala
Hello.

I have just unpacked Groovy 2.5.0-rc-2 and groovysh doesn't seem to be working:

$ groovysh
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at 
org.codehaus.groovy.tools.GroovyStarter.rootLoader(GroovyStarter.java:114)
at org.codehaus.groovy.tools.GroovyStarter.main(GroovyStarter.java:136)
Caused by: org.codehaus.groovy.runtime.typehandling.GroovyCastException:
Cannot cast object
'org.codehaus.groovy.tools.shell.util.HelpFormatter@b10754' with class
'org.codehaus.groovy.tools.shell.util.HelpFormatter' to class
'groovyjarjarcommonscli.HelpFormatter'
at 
org.codehaus.groovy.runtime.typehandling.DefaultTypeTransformation.continueCastOnSAM(DefaultTypeTransformation.java:414)
at 
org.codehaus.groovy.runtime.typehandling.DefaultTypeTransformation.continueCastOnNumber(DefaultTypeTransformation.java:328)
at 
org.codehaus.groovy.runtime.typehandling.DefaultTypeTransformation.castToType(DefaultTypeTransformation.java:242)
at groovy.lang.MetaClassImpl.setProperty(MetaClassImpl.java:2717)
at groovy.lang.MetaClassImpl.setProperty(MetaClassImpl.java:3782)
at groovy.lang.MetaClassImpl.setProperties(MetaClassImpl.java:1759)
at 
org.codehaus.groovy.runtime.callsite.ConstructorSite$NoParamSite.callConstructor(ConstructorSite.java:125)
at 
org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallConstructor(CallSiteArray.java:59)
at 
org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:238)
at 
org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:250)
at org.codehaus.groovy.tools.shell.Main.main(Main.groovy:78)
... 6 more

Am I doing anything wrong? (I'm not experienced in Groovy/Java)
Or... can anyone confirm this problem?


Re: [ANNOUNCE] Apache Groovy 2.5.0-rc-2 released

2018-05-08 Thread Graeme Rocher
Well done all!

On Mon, May 7, 2018 at 2:26 AM, Daniel.Sun  wrote:
> Nice! Thank you Paul :-)
>
> Cheers,
> Daniel.Sun
>
>
>
>
> --
> Sent from: http://groovy.329449.n5.nabble.com/Groovy-Users-f329450.html



-- 
Graeme Rocher