java.lang.IllegalStateException

Temp directory is not writable: d:\SonarVersions\sonarqube-5.2-RC3\temp2

Solutions on the web18874

  • Temp directory is not writable: d:\SonarVersions\sonarqube-5.2-RC3\temp2
  • Temp directory is not writable: C:\Windows\system32\config\systemprofile\AppData\Local\Temp\
  • Temp directory is not writable: C:\Windows\system32\config\systemprofile\AppData\Local\Temp\
  • Stack trace

    • java.lang.IllegalStateException: Temp directory is not writable: d:\SonarVersions\sonarqube-5.2-RC3\temp2 at org.sonar.process.MinimumViableSystem.checkWritableDir(MinimumViableSystem.java:60) at org.sonar.process.MinimumViableSystem.checkWritableTempDir(MinimumViableSystem.java:52) at org.sonar.process.MinimumViableSystem.check(MinimumViableSystem.java:45) at org.sonar.application.App.main(App.java:112) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240) at java.lang.Thread.run(Unknown Source) Caused by: java.io.IOException: The system cannot find the path specified at java.io.WinNTFileSystem.createFileExclusively(Native Method) at java.io.File.createTempFile(Unknown Source) at org.sonar.process.MinimumViableSystem.checkWritableDir(MinimumViableSystem.java:57) ... 9 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 1 year ago
    Once, 3 months ago
    Once, 6 months ago
    2 times, 6 months ago
    2 times, 7 months ago
    45 more bugmates