org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: admin_command_execute_gson: 42: [Static type checking] - cannot resolve dynamic method name at compile time. @ line 42, column 13. "${entry.key}" getJsonValue(entry.value) ^ 1 error

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via GitHub by VenelinPetkov
, 1 year ago
startup failed: admin_command_execute_gson: 42: [Static type checking] - cannot resolve dynamic method name at compile time. @ line 42, column 13. "${entry.key}" getJsonValue(entry.value) ^ 1 error
via Stack Overflow by Wael Elkholy
, 9 months ago
binding or an instance variable from a static context. You misspelled a classname or statically imported field. Please check the spelling. You attempted to use a method 'header' but left out brackets in a place not allowed by the grammar. @ line 4, column 23. println("header is :"+header); ^ 1 error
via Google Groups by Simona Avornicesei, 1 year ago
startup failed: Script1.groovy: 38: The class 'FileSearch' has an incorrect modifier static. @ line 38, column 1. private static class FileSearch implements FileCallable { ^ Script1.groovy: 38: The class 'FileSearch' has an incorrect modifier private. @ line 38, column 1. private static class FileSearch implements FileCallable { ^ 2 errors
via Google Groups by jgl...@cloudbees.com (JIRA), 9 months ago
startup failed: WorkflowScript: -1: You are not allowed to override the final method ___cps___2() from class 'com.acme.foo.test.MyTest'. @ line -1, column -1. 1 error
via Google Groups by Hemang Lavana, 1 year ago
startup failed: WorkflowScript: -1: You are not allowed to override the final method ___cps___2() from class 'com.cisco.astro.paw.polaris.PolarisPlatform'. @ line -1, column -1. 1 error
via Jenkins JIRA by Patrick Wolf, 1 year ago
startup failed: WorkflowScript: 3: Missing required section 'agent' @ line 3, column 1. pipeline{ ^ 1 error
org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: admin_command_execute_gson: 42: [Static type checking] - cannot resolve dynamic method name at compile time. @ line 42, column 13. "${entry.key}" getJsonValue(entry.value) ^ 1 error
at org.codehaus.groovy.control.ErrorCollector.failIfErrors(ErrorCollector.java:310)
at org.codehaus.groovy.control.CompilationUnit.applyToPrimaryClassNodes(CompilationUnit.java:1073)
at org.codehaus.groovy.control.CompilationUnit.doPhaseOperation(CompilationUnit.java:591)
at org.codehaus.groovy.control.CompilationUnit.processPhaseOperations(CompilationUnit.java:569)
at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:546)
at groovy.lang.GroovyClassLoader.doParseClass(GroovyClassLoader.java:298)
at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:268)
at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:254)
at grails.views.ResolvableGroovyTemplateEngine$_createTemplate_closure2.doCall(ResolvableGroovyTemplateEngine.groovy:391)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Once, 1 year ago
3 times, 4 months ago
Once, 1 year ago
Once, 1 month ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.