[teiid-issues] [JBoss JIRA] (TEIID-3145) GroovyCastException when starting adminshell

Steven Hawkins (JIRA) issues at jboss.org
Fri Sep 26 12:41:02 EDT 2014


    [ https://issues.jboss.org/browse/TEIID-3145?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13006594#comment-13006594 ] 

Steven Hawkins commented on TEIID-3145:
---------------------------------------

That's not what I'm saying.  The commit you made to update us to the platform and meet enforcer rules put us on the platform version, which is where the exception you are seeing occurs.  Either we need to be on an earlier or later version.  TEIID-3132 moved master to a later version than the platform (master was different than 8.7.x in that it was still at the older 1.7.2).

> GroovyCastException when starting adminshell
> --------------------------------------------
>
>                 Key: TEIID-3145
>                 URL: https://issues.jboss.org/browse/TEIID-3145
>             Project: Teiid
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 8.7.1
>            Reporter: Van Halbert
>            Assignee: Steven Hawkins
>
> When I run adminshell.sh, admishell will throw following exception:
> Exception in thread "main" org.codehaus.groovy.runtime.typehandling.GroovyCastException: Cannot cast object 'org.codehaus.groovy.tools.shell.util.HelpFormatter at 3004baef' with class 'org.codehaus.groovy.tools.shell.util.HelpFormatter' to class 'org.apache.commons.cli.HelpFormatter'
> 	at org.codehaus.groovy.runtime.typehandling.DefaultTypeTransformation.castToType(DefaultTypeTransformation.java:360)
> 	at groovy.lang.MetaClassImpl.setProperty(MetaClassImpl.java:2394)
> 	at groovy.lang.MetaClassImpl.setProperty(MetaClassImpl.java:3335)
> 	at groovy.lang.MetaClassImpl.setProperties(MetaClassImpl.java:1497)
> 	at org.codehaus.groovy.runtime.callsite.ConstructorSite$NoParamSite.callConstructor(ConstructorSite.java:122)
> 	at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallConstructor(CallSiteArray.java:57)
> 	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:182)
> 	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:190)
> 	at org.codehaus.groovy.tools.shell.Main.main(Main.groovy:50)
> 	at org.teiid.adminshell.GroovyAdminShell.main(GroovyAdminShell.java:30)



--
This message was sent by Atlassian JIRA
(v6.3.1#6329)


More information about the teiid-issues mailing list