Uploaded image for project: 'Teiid'
  1. Teiid
  2. TEIID-3145

GroovyCastException when starting adminshell

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Major Major
    • None
    • 8.7.1
    • Tools
    • None

      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@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)

            van.halbert Van Halbert (Inactive)
            van.halbert Van Halbert (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: