[teiid-issues] [JBoss JIRA] (TEIID-3204) Admin shell throws an IncompatibleClassChangeError

Steven Hawkins (JIRA) issues at jboss.org
Fri Nov 7 09:11:30 EST 2014


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

Steven Hawkins commented on TEIID-3204:
---------------------------------------

The problem isn't with groovy in isolation.  Groovy has quite a few other dependencies, see http://stackoverflow.com/questions/11738732/exception-java-lang-incompatibleclasschangeerror-while-running-groovy-in-eclipse

What version of groovy is being used?  And what version of groovy was used to determine the dependencies?  My understanding from TEIID-3145 was that we are effectively building against Groovy 2.0.5 but then switching the adminshell kitting to use Groovy 1.7.2.

> Admin shell throws an IncompatibleClassChangeError
> --------------------------------------------------
>
>                 Key: TEIID-3204
>                 URL: https://issues.jboss.org/browse/TEIID-3204
>             Project: Teiid
>          Issue Type: Bug
>    Affects Versions: 8.7.1
>         Environment: OS: fedora 20
> arch: x86_64
> java: oracle 1.7
>            Reporter: Juraj Duráni
>            Assignee: Van Halbert
>
> Admin shell throws an IncompatibleClassChangeError when wrong path to groovy script is provided along with load command.
> Actual result:
> ===> [import static org.teiid.adminshell.AdminShell.*; import static org.teiid.adminshell.GroovySqlExtensions.*; import org.teiid.adminapi.*;]
> FATAL: java.lang.IncompatibleClassChangeError: the number of constructors during runtime and compile time for java.lang.Exception do not match. Expected 4 but got 5
> java.lang.IncompatibleClassChangeError: the number of constructors during runtime and compile time for java.lang.Exception do not match. Expected 4 but got 5
> 	at groovy.lang.MetaClassImpl.selectConstructorAndTransformArguments(MetaClassImpl.java:1406)
> 	at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.selectConstructorAndTransformArguments(ScriptBytecodeAdapter.java:237)
> 	at org.codehaus.groovy.tools.shell.CommandException.<init>(Command.groovy:60)
> 	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> 	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
> 	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
> 	at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
> ....
> ....



--
This message was sent by Atlassian JIRA
(v6.3.8#6338)



More information about the teiid-issues mailing list