Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-6449

GroovyConsole fails to start on JDK8

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Not A Problem
    • Affects Version/s: 2.1.9, 2.2.0
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      Debian Unstable; JDK 8 b116, Groovy Indy artefacts, 2.3.0-SNAPSHOT (Git HEAD 2013-11-24T12:00)

      Description

      Groovy Console works fine using JDK7 u45 but when run using JDK8 b116 it fails with the following:

      java.lang.reflect.InvocationTargetException
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:483)
      at org.codehaus.groovy.tools.GroovyStarter.rootLoader(GroovyStarter.java:106)
      at org.codehaus.groovy.tools.GroovyStarter.main(GroovyStarter.java:128)
      Caused by: java.lang.IncompatibleClassChangeError: Found interface java.lang.CharSequence, but class was expected
      at groovy.swing.factory.BindFactory.bindingAttributeDelegate(BindFactory.groovy:301)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:483)
      at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
      at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
      at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1085)
      at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:952)
      at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:909)
      at groovy.lang.Closure.call(Closure.java:423)
      at groovy.util.FactoryBuilderSupport.handleNodeAttributes(FactoryBuilderSupport.java:973)
      at groovy.util.FactoryBuilderSupport.createNode(FactoryBuilderSupport.java:723)
      at groovy.util.FactoryBuilderSupport.dispatchNodeCall(FactoryBuilderSupport.java:855)
      at groovy.util.FactoryBuilderSupport.doInvokeMethod(FactoryBuilderSupport.java:779)
      at groovy.util.FactoryBuilderSupport.invokeMethod(FactoryBuilderSupport.java:499)
      at groovy.util.FactoryInterceptorMetaClass.invokeMethod(FactoryBuilderSupport.java:1331)
      at org.codehaus.groovy.vmplugin.v7.IndyInterface.selectMethod(IndyInterface.java:212)
      at groovy.ui.ConsoleActions.run(ConsoleActions.groovy:71)
      at groovy.util.FactoryBuilderSupport.build(FactoryBuilderSupport.java:1169)
      at groovy.util.FactoryBuilderSupport.build(FactoryBuilderSupport.java:1152)
      at org.codehaus.groovy.vmplugin.v7.IndyInterface.selectMethod(IndyInterface.java:212)
      at groovy.ui.Console.run(Console.groovy:308)
      at org.codehaus.groovy.vmplugin.v7.IndyInterface.selectMethod(IndyInterface.java:212)
      at groovy.ui.Console.run(Console.groovy:274)
      at org.codehaus.groovy.vmplugin.v7.IndyInterface.selectMethod(IndyInterface.java:212)
      at groovy.ui.Console.main(Console.groovy:208)
      ... 6 more

        Attachments

          Activity

            People

            • Assignee:
              melix C├ędric Champeau
              Reporter:
              russel Russel Winder
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: