com.atlassian.stash.exception.ServerException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • An internal message is reported incorrectly as an exception the stash logs when loading the browse branches page under the following conditions: * there is no commit graph cache for the repository * building the commit graph takes longer than the time permitted for rendering This is a logging only problem and does not effect the performance of Stash. The log error appears as: {code} Exception in thread "CachedCommitGraphSource:thread-1" com.atlassian.stash.exception.ServerException: Unexpected IOException traversing commit graph for XXX/xxx[2] at com.atlassian.stash.internal.commit.graph.cache.CachedCommitGraphSource$SingleCacheTraversalJob.run(CachedCommitGraphSource.java:396) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:724) Caused by: com.atlassian.stash.internal.commit.graph.cache.CachedCommitGraphOutputStream$CachedCommitGraphOutputStreamIOException: Stream is closed. at com.atlassian.stash.internal.commit.graph.cache.CachedCommitGraphOutputStream.write(CachedCommitGraphOutputStream.java:50) at java.io.OutputStream.write(OutputStream.java:116) at com.atlassian.util.contentcache.internal.DefaultStreamPump.doPumpSome(DefaultStreamPump.java:74) at com.atlassian.util.contentcache.internal.DefaultStreamPump.maybePumpSome(DefaultStreamPump.java:45) at com.atlassian.util.contentcache.internal.BackgroundThreadStreamPumper$PumpSomeTask.run(BackgroundThreadStreamPumper.java:85) ... 1 more {code}
    via by James Gorman,
  • An internal message is reported incorrectly as an exception the stash logs when loading the browse branches page under the following conditions: * there is no commit graph cache for the repository * building the commit graph takes longer than the time permitted for rendering This is a logging only problem and does not effect the performance of Stash. The log error appears as: {code} Exception in thread "CachedCommitGraphSource:thread-1" com.atlassian.stash.exception.ServerException: Unexpected IOException traversing commit graph for XXX/xxx[2] at com.atlassian.stash.internal.commit.graph.cache.CachedCommitGraphSource$SingleCacheTraversalJob.run(CachedCommitGraphSource.java:396) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:724) Caused by: com.atlassian.stash.internal.commit.graph.cache.CachedCommitGraphOutputStream$CachedCommitGraphOutputStreamIOException: Stream is closed. at com.atlassian.stash.internal.commit.graph.cache.CachedCommitGraphOutputStream.write(CachedCommitGraphOutputStream.java:50) at java.io.OutputStream.write(OutputStream.java:116) at com.atlassian.util.contentcache.internal.DefaultStreamPump.doPumpSome(DefaultStreamPump.java:74) at com.atlassian.util.contentcache.internal.DefaultStreamPump.maybePumpSome(DefaultStreamPump.java:45) at com.atlassian.util.contentcache.internal.BackgroundThreadStreamPumper$PumpSomeTask.run(BackgroundThreadStreamPumper.java:85) ... 1 more {code}
    via by James Gorman,
    • com.atlassian.stash.exception.ServerException: Unexpected IOException traversing commit graph for XXX/xxx[2] at com.atlassian.stash.internal.commit.graph.cache.CachedCommitGraphSource$SingleCacheTraversalJob.run(CachedCommitGraphSource.java:396) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:724) Caused by: com.atlassian.stash.internal.commit.graph.cache.CachedCommitGraphOutputStream$CachedCommitGraphOutputStreamIOException: Stream is closed. at com.atlassian.stash.internal.commit.graph.cache.CachedCommitGraphOutputStream.write(CachedCommitGraphOutputStream.java:50) at java.io.OutputStream.write(OutputStream.java:116) at com.atlassian.util.contentcache.internal.DefaultStreamPump.doPumpSome(DefaultStreamPump.java:74) at com.atlassian.util.contentcache.internal.DefaultStreamPump.maybePumpSome(DefaultStreamPump.java:45) at com.atlassian.util.contentcache.internal.BackgroundThreadStreamPumper$PumpSomeTask.run(BackgroundThreadStreamPumper.java:85) ... 1 more
    No Bugmate found.