[GRADLE-3307] Gradle produces java.io.NotSerializableException for dependency resolve errors using the Tooling API Created: 22/Jun/15  Updated: 12/Oct/16  Resolved: 12/Oct/16

Status: Resolved
Project: Gradle
Affects Version/s: None
Fix Version/s: 3.2-rc-1

Type: Bug
Reporter: Sterling Greene Assignee: Lari Hotari
Resolution: Fixed Votes: 0



If I have a dependency in build.gradle that doesn't resolve the error produced via running the 'grails' command is which uses the Gradle Tooling API:

java.io.NotSerializableException: org.gradle.api.internal.artifacts.DefaultModuleVersionSelector
at org.gradle.tooling.internal.provider.PayloadSerializer.serialize(PayloadSerializer.java:82)

Comment by Adrian Kelly (Inactive) [ 22/Jun/15 ]

Failing test

Comment by Sterling Greene [ 23/Jun/15 ]

This is occurring due to a ClientProvidedBuildAction throwing a non-serializable exception.

Generated at Wed Jun 30 12:45:21 CDT 2021 using Jira 8.4.2#804003-sha1:d21414fc212e3af190e92c2d2ac41299b89402cf.