org.gradle.cache.CacheOpenException: Could not open buildscript class cache for settings file '/mnt/c/Users/test/Development/Work/tickingnews-server/settings.gradle' (/home/pboos/.gradle/caches/2.1/scripts/settings_49no3709k6l6belg5og6587cc1/SettingsScript/buildscript).

GitHub | pboos | 6 months 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

    Java/gradle project throws java.net.SocketException

    GitHub | 6 months ago | pboos
    org.gradle.cache.CacheOpenException: Could not open buildscript class cache for settings file '/mnt/c/Users/test/Development/Work/tickingnews-server/settings.gradle' (/home/pboos/.gradle/caches/2.1/scripts/settings_49no3709k6l6belg5og6587cc1/SettingsScript/buildscript).
  2. 0

    java.net.BindException: Permission denied Run via gradlew

    Stack Overflow | 2 years ago
    org.gradle.cache.CacheOpenException: Could not open buildscript class cache for settings file '/var/lib/openshift/54bd541be0b8cdd48e0001f0/app-root/runtime/repo/settings.gradle' (/var/lib/openshif t/54bd541be0b8cdd48e0001f0/app-root/data/gradle/caches/2.0/scripts/settings_4q2fm2rl4vahfi2fl0nqac291k/SettingsScript/buildscript).
  3. 0

    Gradle/Java: Could not determine a usable local IP for this machine.

    GitHub | 6 months ago | pboos
    org.gradle.cache.CacheOpenException: Could not open cp_settings class cache for settings file '/mnt/c/Users/test/Development/Work/android-sleeptimer/settings.gradle' (/home/pboos/.gradle/caches/2.10/scripts/settings_8nri5so654pdmedmordwp861f/cp_settings).
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Gradle: Build file should not contain a package statement

    Stack Overflow | 4 years ago
    org.gradle.cache.CacheOpenException: Could not open no_buildscript class cache for build file '/home/ecarmean/git/bacon/build.gradle' (/home/account/.gradle/caches/1.2/scripts/build_7hf4r97619snd7in1srbtn16n6/ProjectScript/no_buildscript).

    Root Cause Analysis

    1. java.net.SocketException

      Invalid argument

      at org.gradle.cache.internal.FileLockCommunicator.<init>()
    2. Gradle Core
      DefaultGradleLauncher.run
      1. org.gradle.cache.internal.FileLockCommunicator.<init>(FileLockCommunicator.java:38)
      2. org.gradle.cache.internal.locklistener.DefaultFileLockContentionHandler.getCommunicator(DefaultFileLockContentionHandler.java:153)
      3. org.gradle.cache.internal.locklistener.DefaultFileLockContentionHandler.reservePort(DefaultFileLockContentionHandler.java:145)
      4. org.gradle.cache.internal.DefaultFileLockManager.lock(DefaultFileLockManager.java:79)
      5. org.gradle.cache.internal.DefaultFileLockManager.lock(DefaultFileLockManager.java:67)
      6. org.gradle.cache.internal.DefaultCacheAccess.open(DefaultCacheAccess.java:86)
      7. org.gradle.cache.internal.DefaultPersistentDirectoryStore.open(DefaultPersistentDirectoryStore.java:46)
      8. org.gradle.cache.internal.DefaultPersistentDirectoryStore.open(DefaultPersistentDirectoryStore.java:28)
      9. org.gradle.cache.internal.DefaultCacheFactory.doOpen(DefaultCacheFactory.java:80)
      10. org.gradle.cache.internal.DefaultCacheFactory.open(DefaultCacheFactory.java:50)
      11. org.gradle.cache.internal.DefaultCacheRepository$PersistentCacheBuilder.doOpen(DefaultCacheRepository.java:138)
      12. org.gradle.cache.internal.DefaultCacheRepository$AbstractCacheBuilder.open(DefaultCacheRepository.java:121)
      13. org.gradle.groovy.scripts.internal.FileCacheBackedScriptClassCompiler.compile(FileCacheBackedScriptClassCompiler.java:58)
      14. org.gradle.groovy.scripts.internal.ShortCircuitEmptyScriptCompiler.compile(ShortCircuitEmptyScriptCompiler.java:35)
      15. org.gradle.groovy.scripts.internal.CachingScriptClassCompiler.compile(CachingScriptClassCompiler.java:36)
      16. org.gradle.groovy.scripts.DefaultScriptCompilerFactory$ScriptCompilerImpl.compile(DefaultScriptCompilerFactory.java:57)
      17. org.gradle.configuration.DefaultScriptPluginFactory$ScriptPluginImpl.apply(DefaultScriptPluginFactory.java:137)
      18. org.gradle.initialization.ScriptEvaluatingSettingsProcessor.applySettingsScript(ScriptEvaluatingSettingsProcessor.java:72)
      19. org.gradle.initialization.ScriptEvaluatingSettingsProcessor.process(ScriptEvaluatingSettingsProcessor.java:62)
      20. org.gradle.initialization.PropertiesLoadingSettingsProcessor.process(PropertiesLoadingSettingsProcessor.java:37)
      21. org.gradle.initialization.SettingsHandler.loadSettings(SettingsHandler.java:115)
      22. org.gradle.initialization.SettingsHandler.findSettingsAndLoadIfAppropriate(SettingsHandler.java:106)
      23. org.gradle.initialization.SettingsHandler.findAndLoadSettings(SettingsHandler.java:48)
      24. org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:121)
      25. org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:106)
      26. org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:86)
      26 frames
    3. Gradle Launcher
      RunBuildAction.run
      1. org.gradle.launcher.exec.InProcessBuildActionExecuter$DefaultBuildController.run(InProcessBuildActionExecuter.java:80)
      2. org.gradle.launcher.cli.ExecuteBuildAction.run(ExecuteBuildAction.java:33)
      3. org.gradle.launcher.cli.ExecuteBuildAction.run(ExecuteBuildAction.java:24)
      4. org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:36)
      5. org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:26)
      6. org.gradle.launcher.cli.RunBuildAction.run(RunBuildAction.java:51)
      6 frames
    4. Gradle Core
      Actions$RunnableActionAdapter.execute
      1. org.gradle.internal.Actions$RunnableActionAdapter.execute(Actions.java:171)
      1 frame
    5. Gradle Launcher
      GradleMain.main
      1. org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:237)
      2. org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:210)
      3. org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRuntimeValidationAction.java:35)
      4. org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRuntimeValidationAction.java:24)
      5. org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:206)
      6. org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:169)
      7. org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:33)
      8. org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:22)
      9. org.gradle.launcher.Main.doAction(Main.java:33)
      10. org.gradle.launcher.bootstrap.EntryPoint.run(EntryPoint.java:45)
      11. org.gradle.launcher.bootstrap.ProcessBootstrap.runNoExit(ProcessBootstrap.java:54)
      12. org.gradle.launcher.bootstrap.ProcessBootstrap.run(ProcessBootstrap.java:35)
      13. org.gradle.launcher.GradleMain.main(GradleMain.java:23)
      13 frames
    6. org.gradle.wrapper
      GradleWrapperMain.main
      1. org.gradle.wrapper.BootstrapMainStarter.start(BootstrapMainStarter.java:30)
      2. org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:127)
      3. org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:55)
      3 frames