java.io.IOException: Permission denied

Google Groups | Callum Scott | 3 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    User unable to save preferences

    Google Groups | 3 months ago | Callum Scott
    java.io.IOException: Permission denied
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    PermissionDenied error trying to view a change

    Google Groups | 1 year ago | Dan Alvizu
    java.util.concurrent.ExecutionException: java.io.IOException: Permission denied
  4. 0

    failed to initialize gerrit 2.12.2

    Google Groups | 11 months ago | Jiri Tomek
    Projects.git: LOCK_FAILURE
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.IOException

    Permission denied

    at java.io.UnixFileSystem.createFileExclusively()
  2. Java RT
    File.createNewFile
    1. java.io.UnixFileSystem.createFileExclusively(Native Method)
    2. java.io.File.createNewFile(File.java:1006)
    2 frames
  3. JGit - Core
    RefUpdate.update
    1. org.eclipse.jgit.internal.storage.file.LockFile.lock(LockFile.java:159)
    2. org.eclipse.jgit.internal.storage.file.RefDirectoryUpdate.tryLock(RefDirectoryUpdate.java:83)
    3. org.eclipse.jgit.lib.RefUpdate.updateImpl(RefUpdate.java:630)
    4. org.eclipse.jgit.lib.RefUpdate.update(RefUpdate.java:512)
    5. org.eclipse.jgit.lib.RefUpdate.update(RefUpdate.java:493)
    5 frames
  4. mini-git-server - Server
    SetDiffPreferences.apply
    1. com.google.gerrit.server.git.VersionedMetaData$1.updateRef(VersionedMetaData.java:387)
    2. com.google.gerrit.server.git.VersionedMetaData$1.commitAt(VersionedMetaData.java:342)
    3. com.google.gerrit.server.git.VersionedMetaData$1.commit(VersionedMetaData.java:334)
    4. com.google.gerrit.server.git.VersionedMetaData.commit(VersionedMetaData.java:173)
    5. com.google.gerrit.server.account.SetDiffPreferences.writeToGit(SetDiffPreferences.java:90)
    6. com.google.gerrit.server.account.SetDiffPreferences.apply(SetDiffPreferences.java:74)
    7. com.google.gerrit.server.account.SetDiffPreferences.apply(SetDiffPreferences.java:41)
    7 frames
  5. com.google.gerrit
    RestApiServlet.service
    1. com.google.gerrit.httpd.restapi.RestApiServlet.service(RestApiServlet.java:329)
    1 frame
  6. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
    1 frame
  7. Guice - Servlet
    FilterChainInvocation.doFilter
    1. com.google.inject.servlet.ServletDefinition.doServiceImpl(ServletDefinition.java:287)
    2. com.google.inject.servlet.ServletDefinition.doService(ServletDefinition.java:277)
    3. com.google.inject.servlet.ServletDefinition.service(ServletDefinition.java:182)
    4. com.google.inject.servlet.ManagedServletPipeline.service(ManagedServletPipeline.java:91)
    5. com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:85)
    5 frames
  8. com.google.gerrit
    GetUserFilter.doFilter
    1. com.google.gerrit.httpd.GetUserFilter.doFilter(GetUserFilter.java:82)
    1 frame
  9. Guice - Servlet
    FilterChainInvocation.doFilter
    1. com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)
    1 frame
  10. com.google.gwtexpui
    CacheControlFilter.doFilter
    1. com.google.gwtexpui.server.CacheControlFilter.doFilter(CacheControlFilter.java:73)
    1 frame
  11. Guice - Servlet
    FilterChainInvocation.doFilter
    1. com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)
    1 frame
  12. com.google.gerrit
    RunAsFilter.doFilter
    1. com.google.gerrit.httpd.RunAsFilter.doFilter(RunAsFilter.java:117)
    1 frame
  13. Guice - Servlet
    FilterChainInvocation.doFilter
    1. com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)
    1 frame
  14. com.google.gerrit
    RequireSslFilter.doFilter
    1. com.google.gerrit.httpd.RequireSslFilter.doFilter(RequireSslFilter.java:68)
    1 frame
  15. Guice - Servlet
    FilterChainInvocation.doFilter
    1. com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)
    1 frame
  16. com.google.gerrit
    AllRequestFilter$FilterProxy.doFilter
    1. com.google.gerrit.httpd.AllRequestFilter$FilterProxy$1.doFilter(AllRequestFilter.java:136)
    2. com.google.gerrit.httpd.AllRequestFilter$FilterProxy.doFilter(AllRequestFilter.java:138)
    2 frames
  17. Guice - Servlet
    FilterChainInvocation.doFilter
    1. com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)
    1 frame
  18. com.google.gerrit
    RequestContextFilter.doFilter
    1. com.google.gerrit.httpd.RequestContextFilter.doFilter(RequestContextFilter.java:75)
    1 frame
  19. Guice - Servlet
    GuiceFilter.doFilter
    1. com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)
    2. com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:119)
    3. com.google.inject.servlet.GuiceFilter$1.call(GuiceFilter.java:133)
    4. com.google.inject.servlet.GuiceFilter$1.call(GuiceFilter.java:130)
    5. com.google.inject.servlet.GuiceFilter$Context.call(GuiceFilter.java:203)
    6. com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:130)
    6 frames
  20. Jetty
    QueuedThreadPool$3.run
    1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
    2. org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585)
    3. org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:221)
    4. org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)
    5. org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)
    6. org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
    7. org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)
    8. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
    9. org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
    10. org.eclipse.jetty.server.Server.handle(Server.java:499)
    11. org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:310)
    12. org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)
    13. org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540)
    14. org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)
    15. org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)
    15 frames
  21. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:745)
    1 frame