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).

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by pboos
, 1 year ago
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).
via Stack Overflow by Unknown author, 2 years ago
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).
via GitHub by pboos
, 1 year ago
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).
via Stack Overflow by Mingle
, 1 year ago
Could not open no_buildscript class cache for script 'jar:file:/D:/Program%20Files/gradle-2.5/lib/gradle-core-2.5.jar!/org/gradle/initialization/buildsrc/defaultBuildSourceScript.txt' (C:\Users\mingle\.gradle\caches\2.5\scripts\defaultBuildSourceScript_ehlybs1v0v6kbup5qmtxh65v\DefaultScript\no_buildscript).
via Stack Overflow by Unknown author, 2 years ago
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).
via GitHub by JLLeitschuh
, 10 months ago
Could not open cache directory 1k08xr8ho31w4bhrh38nta1cr (/Users/jonathanleitschuh/.gradle/caches/3.4-20161216120313+0000/gradle-script-kotlin/1k08xr8ho31w4bhrh38nta1cr).
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).
at org.gradle.cache.internal.FileLockCommunicator.(FileLockCommunicator.java:38)
at org.gradle.cache.internal.locklistener.DefaultFileLockContentionHandler.getCommunicator(DefaultFileLockContentionHandler.java:153)
at org.gradle.cache.internal.locklistener.DefaultFileLockContentionHandler.reservePort(DefaultFileLockContentionHandler.java:145)
at org.gradle.cache.internal.DefaultFileLockManager.lock(DefaultFileLockManager.java:79)
at org.gradle.cache.internal.DefaultFileLockManager.lock(DefaultFileLockManager.java:67)
at org.gradle.cache.internal.DefaultCacheAccess.open(DefaultCacheAccess.java:86)
at org.gradle.cache.internal.DefaultPersistentDirectoryStore.open(DefaultPersistentDirectoryStore.java:46)
at org.gradle.cache.internal.DefaultPersistentDirectoryStore.open(DefaultPersistentDirectoryStore.java:28)
at org.gradle.cache.internal.DefaultCacheFactory.doOpen(DefaultCacheFactory.java:80)
at org.gradle.cache.internal.DefaultCacheFactory.open(DefaultCacheFactory.java:50)
at org.gradle.cache.internal.DefaultCacheRepository$PersistentCacheBuilder.doOpen(DefaultCacheRepository.java:138)
at org.gradle.cache.internal.DefaultCacheRepository$AbstractCacheBuilder.open(DefaultCacheRepository.java:121)
at org.gradle.groovy.scripts.internal.FileCacheBackedScriptClassCompiler.compile(FileCacheBackedScriptClassCompiler.java:58)
at org.gradle.groovy.scripts.internal.ShortCircuitEmptyScriptCompiler.compile(ShortCircuitEmptyScriptCompiler.java:35)
at org.gradle.groovy.scripts.internal.CachingScriptClassCompiler.compile(CachingScriptClassCompiler.java:36)
at org.gradle.groovy.scripts.DefaultScriptCompilerFactory$ScriptCompilerImpl.compile(DefaultScriptCompilerFactory.java:57)
at org.gradle.configuration.DefaultScriptPluginFactory$ScriptPluginImpl.apply(DefaultScriptPluginFactory.java:137)
at org.gradle.initialization.ScriptEvaluatingSettingsProcessor.applySettingsScript(ScriptEvaluatingSettingsProcessor.java:72)
at org.gradle.initialization.ScriptEvaluatingSettingsProcessor.process(ScriptEvaluatingSettingsProcessor.java:62)
at org.gradle.initialization.PropertiesLoadingSettingsProcessor.process(PropertiesLoadingSettingsProcessor.java:37)
at org.gradle.initialization.SettingsHandler.loadSettings(SettingsHandler.java:115)
at org.gradle.initialization.SettingsHandler.findSettingsAndLoadIfAppropriate(SettingsHandler.java:106)
at org.gradle.initialization.SettingsHandler.findAndLoadSettings(SettingsHandler.java:48)
at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:121)
at org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:106)
at org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:86)
at org.gradle.launcher.exec.InProcessBuildActionExecuter$DefaultBuildController.run(InProcessBuildActionExecuter.java:80)
at org.gradle.launcher.cli.ExecuteBuildAction.run(ExecuteBuildAction.java:33)
at org.gradle.launcher.cli.ExecuteBuildAction.run(ExecuteBuildAction.java:24)
at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:36)
at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:26)
at org.gradle.launcher.cli.RunBuildAction.run(RunBuildAction.java:51)
at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:237)
at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:210)
at org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRuntimeValidationAction.java:35)
at org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRuntimeValidationAction.java:24)
at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:206)
at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:169)
at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:33)
at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:22)
at org.gradle.launcher.Main.doAction(Main.java:33)
at org.gradle.launcher.bootstrap.EntryPoint.run(EntryPoint.java:45)
at org.gradle.launcher.bootstrap.ProcessBootstrap.runNoExit(ProcessBootstrap.java:54)
at org.gradle.launcher.bootstrap.ProcessBootstrap.run(ProcessBootstrap.java:35)
at org.gradle.launcher.GradleMain.main(GradleMain.java:23)
at org.gradle.wrapper.BootstrapMainStarter.start(BootstrapMainStarter.java:30)
at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:127)
at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:55)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.