添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接

java.io.StreamCorruptedException: invalid type code: 00 #1426

Open
@jdneo

Description

This happens when the build server tries to get the customized model via Tooling API.

When this exception occurs, it usually means that the Java version used by the Gradle Daemon and the Java version of the client which calls the TAPI are not matching. Then, when doing serialization and deserialization, this errors happens.

See: gradle/gradle#9339 (comment)

To fix this issue, we need to make sure the Java versions are the same, or ask user to update the Gradle version to use more recent Java to launch the Gradle daemon.