org.gradle.tooling.GradleConnectionException: Could not run build action using Gradle installation '/Users/sovsanki/.gradle/wrapper/dists/gradle-2.8-bin/4rsda7i357a5ogdj89yq8dntm/gradle-2.8'.

YouTrack | 1 year ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Importing Gradle project: org.gradle.internal.component.external.model.DefaultModuleComponentSelector

    YouTrack | 1 year ago
    org.gradle.tooling.GradleConnectionException: Could not run build action using Gradle installation '/Users/sovsanki/.gradle/wrapper/dists/gradle-2.8-bin/4rsda7i357a5ogdj89yq8dntm/gradle-2.8'.
  2. 0

    Gradle sync failed: Cause: com.android.build.gradle.managed.ProductFlavor_Impl

    Stack Overflow | 2 years ago | SparkyNZ
    org.gradle.tooling.GradleConnectionException: Could not run build action using Gradle installation 'C:\Program Files\Android\Android Studio\gradle\gradle-2.6'.
  3. 0

    Very simple class not serializing

    Stack Overflow | 6 months ago | Paulo Moreno
    java.io.NotSerializableException: methods.Thing
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Spring Social gives error with Enabling RedisHttpSession

    Stack Overflow | 2 years ago | Ruby
    org.springframework.core.serializer.support.SerializationFailedException: Failed to serialize object using DefaultSerializer; nested exception is java.io.NotSerializableException: org.springframework.social.connect.support.ConnectionFactoryRegistry
  6. 0

    Non-serializable object error while working on Memcache

    Stack Overflow | 7 years ago | mehmetozer
    java.lang.IllegalArgumentException: Non-serializable object
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.io.NotSerializableException

    org.gradle.internal.component.external.model.DefaultModuleComponentSelector

    at java.io.ObjectOutputStream.writeObject0()
  2. Java RT
    ObjectOutputStream.writeObject
    1. java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1184)
    2. java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1548)
    3. java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1509)
    4. java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432)
    5. java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178)
    6. java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:348)
    7. java.util.concurrent.CopyOnWriteArrayList.writeObject(CopyOnWriteArrayList.java:972)
    8. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    9. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    10. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    11. java.lang.reflect.Method.invoke(Method.java:497)
    12. java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:1028)
    13. java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1496)
    14. java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432)
    15. java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178)
    16. java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1548)
    17. java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1509)
    18. java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432)
    19. java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178)
    20. java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1548)
    21. java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:441)
    22. java.lang.Throwable.writeObject(Throwable.java:985)
    23. sun.reflect.GeneratedMethodAccessor125.invoke(Unknown Source)
    24. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    25. java.lang.reflect.Method.invoke(Method.java:497)
    26. java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:1028)
    27. java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1496)
    28. java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432)
    29. java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178)
    30. java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:348)
    30 frames
  3. Gradle Launcher
    PayloadSerializer.serialize
    1. org.gradle.tooling.internal.provider.PayloadSerializer.serialize(PayloadSerializer.java:84)
    1 frame
  4. org.gradle.tooling
    ClientProvidedBuildActionRunner.run
    1. org.gradle.tooling.internal.provider.runner.ClientProvidedBuildActionRunner.run(ClientProvidedBuildActionRunner.java:62)
    1 frame
  5. Gradle Launcher
    ChainingBuildActionRunner.run
    1. org.gradle.launcher.exec.ChainingBuildActionRunner.run(ChainingBuildActionRunner.java:35)
    1 frame
  6. org.gradle.tooling
    SubscribableBuildActionRunner.run
    1. org.gradle.tooling.internal.provider.runner.SubscribableBuildActionRunner.run(SubscribableBuildActionRunner.java:58)
    1 frame
  7. Gradle Launcher
    ForwardClientInput$2.call
    1. org.gradle.launcher.exec.ChainingBuildActionRunner.run(ChainingBuildActionRunner.java:35)
    2. org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:43)
    3. org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:28)
    4. org.gradle.launcher.exec.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:77)
    5. org.gradle.launcher.exec.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:47)
    6. org.gradle.launcher.daemon.server.exec.ExecuteBuild.doBuild(ExecuteBuild.java:52)
    7. org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)
    8. org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
    9. org.gradle.launcher.daemon.server.exec.WatchForDisconnection.execute(WatchForDisconnection.java:37)
    10. org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
    11. org.gradle.launcher.daemon.server.exec.ResetDeprecationLogger.execute(ResetDeprecationLogger.java:26)
    12. org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
    13. org.gradle.launcher.daemon.server.exec.RequestStopIfSingleUsedDaemon.execute(RequestStopIfSingleUsedDaemon.java:34)
    14. org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
    15. org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.call(ForwardClientInput.java:74)
    16. org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.call(ForwardClientInput.java:72)
    16 frames
  8. Gradle Core
    Swapper.swap
    1. org.gradle.util.Swapper.swap(Swapper.java:38)
    1 frame
  9. Gradle Launcher
    DaemonStateCoordinator$1.run
    1. org.gradle.launcher.daemon.server.exec.ForwardClientInput.execute(ForwardClientInput.java:72)
    2. org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
    3. org.gradle.launcher.daemon.server.health.DaemonHealthTracker.execute(DaemonHealthTracker.java:47)
    4. org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
    5. org.gradle.launcher.daemon.server.exec.LogToClient.doBuild(LogToClient.java:66)
    6. org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)
    7. org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
    8. org.gradle.launcher.daemon.server.exec.EstablishBuildEnvironment.doBuild(EstablishBuildEnvironment.java:71)
    9. org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)
    10. org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
    11. org.gradle.launcher.daemon.server.health.HintGCAfterBuild.execute(HintGCAfterBuild.java:41)
    12. org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
    13. org.gradle.launcher.daemon.server.exec.StartBuildOrRespondWithBusy$1.run(StartBuildOrRespondWithBusy.java:50)
    14. org.gradle.launcher.daemon.server.DaemonStateCoordinator$1.run(DaemonStateCoordinator.java:246)
    14 frames
  10. Gradle Core
    StoppableExecutorImpl$1.run
    1. org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:54)
    2. org.gradle.internal.concurrent.StoppableExecutorImpl$1.run(StoppableExecutorImpl.java:40)
    2 frames
  11. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    3. java.lang.Thread.run(Thread.java:745)
    3 frames