org.gradle.internal.reflect.ObjectInstantiationException: Could not create an instance of type org.gradle.invocation.DefaultGradle_Decorated.

GitHub | vojtechhabarta | 3 months ago
  1. 0

    GitHub comment 79#244801635

    GitHub | 3 months ago | vojtechhabarta
    org.gradle.internal.reflect.ObjectInstantiationException: Could not create an instance of type org.gradle.invocation.DefaultGradle_Decorated.
  2. 0

    Quasar agent causes class format error

    GitHub | 7 months ago | phile314
    org.apache.ignite.IgniteCheckedException: Failed to instantiate Spring XML application context [springUrl=file:/.../bot-runner/build/resources/main/example-ignite-config.xml, err=Unexpected exception parsing XML document from URL [file:/.../i4ds-fetchflow/bot-runner/build/resources/main/example-ignite-config.xml]; nested exception is java.lang.ClassFormatError: Illegal UTF8 string in constant pool in class file org/apache/xerces/impl/xpath/regex/ParserForXMLSchema]
  3. 0

    Active MQ - HelloWorld example exception

    Stack Overflow | 5 years ago | AJ Jwair
    java.lang.ClassFormatError: Absent Code attribute in method that is not native or abstract in class file javax/jms/JMSException</strong>
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    SortedTableMap ClassFormatError issue

    Google Groups | 3 months ago | SeanM
    java.lang.ClassFormatError: Class name contains illegal character '.' in descriptor in class file test/Test$
  6. 0

    Scala Library - Incorrect methods generated for make-not-private methods

    GitHub | 3 years ago | VladUreche
    java.lang.ClassFormatError: Method miniboxing$benchmarks$collection$TraversableLike$$sliceInternal in class miniboxing/benchmarks/collection/TraversableLike$class has illegal modifiers: 0x409

    16 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.ClassFormatError

      Invalid pc in LineNumberTable in class file groovy/lang/MetaClassImpl

      at java.lang.ClassLoader.defineClass1()
    2. Java RT
      ClassLoader.loadClass
      1. java.lang.ClassLoader.defineClass1(Native Method)
      2. java.lang.ClassLoader.defineClass(ClassLoader.java:760)
      3. java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
      4. java.net.URLClassLoader.defineClass(URLClassLoader.java:467)
      5. java.net.URLClassLoader.access$100(URLClassLoader.java:73)
      6. java.net.URLClassLoader$1.run(URLClassLoader.java:368)
      7. java.net.URLClassLoader$1.run(URLClassLoader.java:362)
      8. java.security.AccessController.doPrivileged(Native Method)
      9. java.net.URLClassLoader.findClass(URLClassLoader.java:361)
      10. java.lang.ClassLoader.loadClass(ClassLoader.java:424)
      11. java.lang.ClassLoader.loadClass(ClassLoader.java:357)
      12. java.lang.ClassLoader.defineClass1(Native Method)
      13. java.lang.ClassLoader.defineClass(ClassLoader.java:760)
      14. java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
      15. java.net.URLClassLoader.defineClass(URLClassLoader.java:467)
      16. java.net.URLClassLoader.access$100(URLClassLoader.java:73)
      17. java.net.URLClassLoader$1.run(URLClassLoader.java:368)
      18. java.net.URLClassLoader$1.run(URLClassLoader.java:362)
      19. java.security.AccessController.doPrivileged(Native Method)
      20. java.net.URLClassLoader.findClass(URLClassLoader.java:361)
      21. java.lang.ClassLoader.loadClass(ClassLoader.java:424)
      22. java.lang.ClassLoader.loadClass(ClassLoader.java:357)
      22 frames
    3. Groovy
      GroovyObjectSupport.<init>
      1. org.codehaus.groovy.runtime.metaclass.MetaClassRegistryImpl.<init>(MetaClassRegistryImpl.java:120)
      2. org.codehaus.groovy.runtime.metaclass.MetaClassRegistryImpl.<init>(MetaClassRegistryImpl.java:73)
      3. groovy.lang.GroovySystem.<clinit>(GroovySystem.java:36)
      4. org.codehaus.groovy.runtime.InvokerHelper.<clinit>(InvokerHelper.java:65)
      5. groovy.lang.GroovyObjectSupport.<init>(GroovyObjectSupport.java:34)
      5 frames
    4. Gradle Core
      DefaultGradle_Decorated.<init>
      1. org.gradle.api.internal.plugins.DefaultExtraPropertiesExtension.<init>(DefaultExtraPropertiesExtension.java:28)
      2. org.gradle.api.internal.plugins.DefaultConvention.<init>(DefaultConvention.java:36)
      3. org.gradle.api.internal.ExtensibleDynamicObject.<init>(ExtensibleDynamicObject.java:66)
      4. org.gradle.api.internal.AsmBackedClassGenerator$MixInExtensibleDynamicObject.<init>(AsmBackedClassGenerator.java:905)
      5. org.gradle.invocation.DefaultGradle_Decorated.getAsDynamicObject(Unknown Source)
      6. org.gradle.invocation.DefaultGradle_Decorated.getConvention(Unknown Source)
      7. org.gradle.invocation.DefaultGradle_Decorated.getConventionMapping(Unknown Source)
      8. org.gradle.invocation.DefaultGradle_Decorated.getServices(Unknown Source)
      9. org.gradle.invocation.DefaultGradle_Decorated.getListenerManager(Unknown Source)
      10. org.gradle.invocation.DefaultGradle.<init>(DefaultGradle.java:67)
      11. org.gradle.invocation.DefaultGradle_Decorated.<init>(Unknown Source)
      11 frames
    5. Java RT
      Constructor.newInstance
      1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
      3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      4. java.lang.reflect.Constructor.newInstance(Constructor.java:422)
      4 frames
    6. org.gradle.internal
      DirectInstantiator.newInstance
      1. org.gradle.internal.reflect.DirectInstantiator.newInstance(DirectInstantiator.java:49)
      1 frame
    7. Gradle Core
      DefaultGradleLauncherFactory.newInstance
      1. org.gradle.api.internal.ClassGeneratorBackedInstantiator.newInstance(ClassGeneratorBackedInstantiator.java:36)
      2. org.gradle.initialization.DefaultGradleLauncherFactory.doNewInstance(DefaultGradleLauncherFactory.java:136)
      3. org.gradle.initialization.DefaultGradleLauncherFactory.newInstance(DefaultGradleLauncherFactory.java:102)
      3 frames
    8. Gradle Launcher
      RunBuildAction.run
      1. org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:38)
      2. org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:28)
      3. org.gradle.launcher.exec.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:77)
      4. org.gradle.launcher.exec.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:47)
      5. org.gradle.launcher.exec.DaemonUsageSuggestingBuildActionExecuter.execute(DaemonUsageSuggestingBuildActionExecuter.java:51)
      6. org.gradle.launcher.exec.DaemonUsageSuggestingBuildActionExecuter.execute(DaemonUsageSuggestingBuildActionExecuter.java:28)
      7. org.gradle.launcher.cli.RunBuildAction.run(RunBuildAction.java:43)
      7 frames
    9. Gradle Core
      Actions$RunnableActionAdapter.execute
      1. org.gradle.internal.Actions$RunnableActionAdapter.execute(Actions.java:170)
      1 frame
    10. Gradle Launcher
      EntryPoint.run
      1. org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:237)
      2. org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:210)
      3. org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRuntimeValidationAction.java:35)
      4. org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRuntimeValidationAction.java:24)
      5. org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:206)
      6. org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:169)
      7. org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:33)
      8. org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:22)
      9. org.gradle.launcher.Main.doAction(Main.java:33)
      10. org.gradle.launcher.bootstrap.EntryPoint.run(EntryPoint.java:45)
      10 frames
    11. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:497)
      4 frames
    12. Gradle Launcher
      GradleMain.main
      1. org.gradle.launcher.bootstrap.ProcessBootstrap.runNoExit(ProcessBootstrap.java:54)
      2. org.gradle.launcher.bootstrap.ProcessBootstrap.run(ProcessBootstrap.java:35)
      3. org.gradle.launcher.GradleMain.main(GradleMain.java:23)
      3 frames