Closed davidsowerby closed 7 years ago
Found reference to this error pointing to a version incompatibility in Jackson core:
specifically ensure that versions of jackson-core and jackson-databind match at minor version level. isReferenceType() was added in 2.6.
though I can't see where that incompatibility would arise in the plugin - and even more strange when this does not happen in most builds
Confirmed this was with running Gradle at 4.1, same as other builds
Reopened - same problem occurring in kayteeconfigtoJson task
Have only seen this in krail-testapp, was originally raised against GitPlus, but don't think it has anything to do with that
17:45:39.960 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] Caused by: java.lang.NoSuchMethodError: com.fasterxml.jackson.databind.JavaType.isReferenceType()Z 17:45:39.960 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] at com.fasterxml.jackson.databind.ser.BeanSerializerFactory._createSerializer2(BeanSerializerFactory.java:205) 17:45:39.960 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] at com.fasterxml.jackson.databind.ser.BeanSerializerFactory.createSerializer(BeanSerializerFactory.java:168) 17:45:39.960 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] at com.fasterxml.jackson.databind.SerializerProvider._createUntypedSerializer(SerializerProvider.java:1308) 17:45:39.960 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] at com.fasterxml.jackson.databind.SerializerProvider._createAndCacheUntypedSerializer(SerializerProvider.java:1258) 17:45:39.960 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] at com.fasterxml.jackson.databind.SerializerProvider.findValueSerializer(SerializerProvider.java:500) 17:45:39.960 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] at com.fasterxml.jackson.databind.SerializerProvider.findTypedValueSerializer(SerializerProvider.java:698) 17:45:39.960 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] at com.fasterxml.jackson.databind.ser.DefaultSerializerProvider.serializeValue(DefaultSerializerProvider.java:270) 17:45:39.960 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] at com.fasterxml.jackson.databind.ObjectMapper._configAndWriteValue(ObjectMapper.java:3681) 17:45:39.960 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] at com.fasterxml.jackson.databind.ObjectMapper.writeValue(ObjectMapper.java:3039) 17:45:39.960 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] at uk.q3c.build.gitplus.gitplus.DefaultGitPlus.execute(DefaultGitPlus.kt:112) 17:45:39.960 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] at uk.q3c.build.gitplus.gitplus.GitPlus$execute.call(Unknown Source) 17:45:39.960 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] at uk.q3c.kaytee.plugin.KayTeePlugin.apply(KayTeePlugin.groovy:51) 17:45:39.960 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] at uk.q3c.kaytee.plugin.KayTeePlugin.apply(KayTeePlugin.groovy) 17:45:39.960 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] at org.gradle.api.internal.plugins.ImperativeOnlyPluginTarget.applyImperative(ImperativeOnlyPluginTarget.java:42) 17:45:39.960 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] at org.gradle.api.internal.plugins.RuleBasedPluginTarget.applyImperative(RuleBasedPluginTarget.java:50) 17:45:39.960 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] at org.gradle.api.internal.plugins.DefaultPluginManager.addPlugin(DefaultPluginManager.java:165) 17:45:39.960 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] at org.gradle.api.internal.plugins.DefaultPluginManager.access$200(DefaultPluginManager.java:47) 17:45:39.960 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] at org.gradle.api.internal.plugins.DefaultPluginManager$AddPluginBuildOperation.run(DefaultPluginManager.java:252) 17:45:39.960 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:336) 17:45:39.960 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:328) 17:45:39.960 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] at org.gradle.internal.progress.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:197) 17:45:39.960 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:107) 17:45:39.960 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] at org.gradle.api.internal.plugins.DefaultPluginManager.doApply(DefaultPluginManager.java:144) 17:45:39.960 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] at org.gradle.api.internal.plugins.DefaultPluginManager.apply(DefaultPluginManager.java:125) 17:45:39.960 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] at org.gradle.api.internal.plugins.DefaultObjectConfigurationAction.applyType(DefaultObjectConfigurationAction.java:113) 17:45:39.960 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] at org.gradle.api.internal.plugins.DefaultObjectConfigurationAction.access$200(DefaultObjectConfigurationAction.java:36) 17:45:39.960 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] at org.gradle.api.internal.plugins.DefaultObjectConfigurationAction$3.run(DefaultObjectConfigurationAction.java:80) 17:45:39.960 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] at org.gradle.api.internal.plugins.DefaultObjectConfigurationAction.execute(DefaultObjectConfigurationAction.java:136) 17:45:39.960 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] at org.gradle.api.internal.project.AbstractPluginAware.apply(AbstractPluginAware.java:46) 17:45:39.960 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] at org.gradle.api.internal.project.ProjectScript.apply(ProjectScript.java:34) 17:45:39.960 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] at org.gradle.api.Script$apply$0.callCurrent(Unknown Source) 17:45:39.960 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] at build_4otd9j54i46qfpunuvc0e16ci.run(/home/david/git/krail-testapp/build.gradle:34) 17:45:39.960 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] at org.gradle.groovy.scripts.internal.DefaultScriptRunnerFactory$ScriptRunnerImpl.run(DefaultScriptRunnerFactory.java:90) 17:45:39.960 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] ... 93 more