Skip to content

ml-development-tools:compileTestKotlin task fails with OKHttp 4.4.0 #1193

@georgeajit

Description

@georgeajit

So we can address your issue, please include the following:

Version of MarkLogic Java Client API

develop

Version of MarkLogic Server

10.0 nightly

Java version

Java 9

OS and version

All platforms

Input: Some code to illustrate the problem, preferably in a state that can be independently reproduced on our end

Run gradle ml-development-tools:generateTests

Actual output: What did you observe? What errors did you see? Can you attach the logs? (Java logs, MarkLogic logs)

Task :ml-development-tools:compileJava NO-SOURCE
2020-03-06 13:05:52.412 | .> Task :ml-development-tools:pluginDescriptors
2020-03-06 13:05:52.508 | .> Task :ml-development-tools:processResources
2020-03-06 13:05:52.508 | .> Task :ml-development-tools:classes
2020-03-06 13:06:01.208 | .
2020-03-06 13:06:01.208 | .> Task :ml-development-tools:compileTestKotlin FAILED
2020-03-06 13:06:01.209 | .e: /space/Jenkins/workspace/Java9/APIFirst-develop-10.0-nightly_OPENJDK9/java-client-api/ml-development-tools/src/test/kotlin/com/marklogic/client/test/dbfunction/fntestconf.kt: (114, 25): Using 'code(): Int' is an error. moved to val
2020-03-06 13:06:01.209 | .e: /space/Jenkins/workspace/Java9/APIFirst-develop-10.0-nightly_OPENJDK9/java-client-api/ml-development-tools/src/test/kotlin/com/marklogic/client/test/dbfunction/fntestconf.kt: (125, 38): Using 'parse(String): MediaType?' is an error. moved to extension function
2020-03-06 13:06:01.209 | .e: /space/Jenkins/workspace/Java9/APIFirst-develop-10.0-nightly_OPENJDK9/java-client-api/ml-development-tools/src/test/kotlin/com/marklogic/client/test/dbfunction/fntestconf.kt: (129, 16): Using 'code(): Int' is an error. moved to val
2020-03-06 13:06:01.209 | .e: /space/Jenkins/workspace/Java9/APIFirst-develop-10.0-nightly_OPENJDK9/java-client-api/ml-development-tools/src/test/kotlin/com/marklogic/client/test/dbfunction/fntestconf.kt: (130, 84): Using 'code(): Int' is an error. moved to val
2020-03-06 13:06:01.209 | .e: /space/Jenkins/workspace/Java9/APIFirst-develop-10.0-nightly_OPENJDK9/java-client-api/ml-development-tools/src/test/kotlin/com/marklogic/client/test/dbfunction/fntestconf.kt: (172, 38): Using 'parse(String): MediaType?' is an error. moved to extension function
2020-03-06 13:06:01.209 | .e: /space/Jenkins/workspace/Java9/APIFirst-develop-10.0-nightly_OPENJDK9/java-client-api/ml-development-tools/src/test/kotlin/com/marklogic/client/test/dbfunction/fntestconf.kt: (178, 16): Using 'code(): Int' is an error. moved to val
2020-03-06 13:06:01.209 | .e: /space/Jenkins/workspace/Java9/APIFirst-develop-10.0-nightly_OPENJDK9/java-client-api/ml-development-tools/src/test/kotlin/com/marklogic/client/test/dbfunction/fntestconf.kt: (179, 84): Using 'code(): Int' is an error. moved to val
2020-03-06 13:06:01.209 | .e: /space/Jenkins/workspace/Java9/APIFirst-develop-10.0-nightly_OPENJDK9/java-client-api/ml-development-tools/src/test/kotlin/com/marklogic/client/test/dbfunction/fntestconf.kt: (197, 16): Using 'code(): Int' is an error. moved to val
2020-03-06 13:06:01.209 | .e: /space/Jenkins/workspace/Java9/APIFirst-develop-10.0-nightly_OPENJDK9/java-client-api/ml-development-tools/src/test/kotlin/com/marklogic/client/test/dbfunction/fntestconf.kt: (198, 84): Using 'code(): Int' is an error. moved to val
2020-03-06 13:06:01.209 | .
2020-03-06 13:06:01.209 | .FAILURE: Build failed with an exception.
2020-03-06 13:06:01.209 | .
2020-03-06 13:06:01.209 | .* What went wrong:
2020-03-06 13:06:01.209 | .Execution failed for task ':ml-development-tools:compileTestKotlin'.
2020-03-06 13:06:01.209 | .> Compilation error. See log for more details
2020-03-06 13:06:01.209 | .
2020-03-06 13:06:01.209 | .* Try:
2020-03-06 13:06:01.209 | .Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
2020-03-06 13:06:01.210 | .
2020-03-06 13:06:01.210 | .* Get more help at https://help.gradle.org
2020-03-06 13:06:01.210 | .
2020-03-06 13:06:01.210 | .BUILD FAILED in 1m 6s

Expected output: What specifically did you expect to happen?

API tests are generated.

Alternatives: What else have you tried, actual/expected?

None.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions