org.springframework.security.authentication.AuthenticationCredentialsNotFoundException

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.

  • {code} 2013-11-22 10:44:52,285 ERROR [drift:thread-1] c.a.s.i.p.c.d.DriftCommentUpdateProcessor Error calculating comment drift for pull request 15026 (1 attempts): old fromHash = 8dc7a601bf71c64ee8a13877179e84b5b5c23b13 old toHash = 5b386faa4c1ba3abda3aa4d773d87316b5c66dd8 new fromHash = 8dc7a601bf71c64ee8a13877179e84b5b5c23b13 new toHash = 18da2ada4838f738c270f640d2afe9d061b910cb org.springframework.security.authentication.AuthenticationCredentialsNotFoundException: An Authentication object was not found in the SecurityContext at org.springframework.security.access.intercept.AbstractSecurityInterceptor.credentialsNotFound(AbstractSecurityInterceptor.java:339) ~[spring-security-core-3.1.4.RELEASE.jar:3.1.4.RELEASE] at com.sun.proxy.$Proxy171.getById(Unknown Source) ~[na:na] at com.sun.proxy.$Proxy245.getById(Unknown Source) ~[na:na] at com.sun.proxy.$Proxy853.getById(Unknown Source) ~[na:na] at com.atlassian.stash.internal.scm.git.pull.DefaultPullRequestSupplier.get(DefaultPullRequestSupplier.java:55) ~[na:na] at com.atlassian.stash.internal.scm.git.pull.DefaultPullRequestRefHelper$AbstractOperation.perform(DefaultPullRequestRefHelper.java:159) ~[na:na] at com.atlassian.stash.util.concurrent.MappedReentrantLock.withLock(MappedReentrantLock.java:74) ~[stash-util-2.9.2.jar:na] at com.atlassian.stash.util.concurrent.ReentrantPullRequestLock.withLock(ReentrantPullRequestLock.java:35) ~[stash-util-2.9.2.jar:na] at com.atlassian.stash.internal.scm.git.pull.DefaultPullRequestRefHelper.withLock(DefaultPullRequestRefHelper.java:140) ~[na:na] at com.atlassian.stash.internal.scm.git.pull.DefaultPullRequestRefHelper.resolveEffectiveDiff(DefaultPullRequestRefHelper.java:65) ~[na:na] at com.atlassian.stash.internal.scm.git.DefaultGitPullRequestCommandFactory.resolveEffectiveDiff(DefaultGitPullRequestCommandFactory.java:280) ~[na:na] at com.atlassian.stash.internal.scm.git.DefaultGitPullRequestCommandFactory.access$100(DefaultGitPullRequestCommandFactory.java:52) ~[na:na] at com.atlassian.stash.internal.scm.git.DefaultGitPullRequestCommandFactory$2.call(DefaultGitPullRequestCommandFactory.java:190) ~[na:na] at com.atlassian.stash.internal.scm.git.DefaultGitPullRequestCommandFactory$2.call(DefaultGitPullRequestCommandFactory.java:186) ~[na:na] at com.atlassian.stash.internal.pull.comment.drift.DriftCommentUpdateProcessor$CommentDriftCalculator.calculate(DriftCommentUpdateProcessor.java:244) ~[stash-service-impl-2.9.2.jar:na] at com.atlassian.stash.internal.pull.comment.drift.DriftCommentUpdateProcessor$CommentDriftOperation$1.doInTransaction(DriftCommentUpdateProcessor.java:355) ~[stash-service-impl-2.9.2.jar:na] at com.atlassian.stash.internal.pull.comment.drift.DriftCommentUpdateProcessor$CommentDriftOperation$1.doInTransaction(DriftCommentUpdateProcessor.java:350) ~[stash-service-impl-2.9.2.jar:na] at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:131) ~[spring-tx-3.2.4.RELEASE.jar:3.2.4.RELEASE] at com.atlassian.stash.internal.pull.comment.drift.DriftCommentUpdateProcessor$CommentDriftOperation.perform(DriftCommentUpdateProcessor.java:350) [stash-service-impl-2.9.2.jar:na] at com.atlassian.stash.internal.pull.comment.drift.DriftCommentUpdateProcessor$CommentDriftOperation.perform(DriftCommentUpdateProcessor.java:321) [stash-service-impl-2.9.2.jar:na] at com.atlassian.stash.internal.concurrent.DefaultLockService.doWithLock(DefaultLockService.java:77) [stash-service-impl-2.9.2.jar:na] at com.atlassian.stash.internal.concurrent.DefaultLockService.doWithLock(DefaultLockService.java:51) [stash-service-impl-2.9.2.jar:na] at com.atlassian.stash.internal.concurrent.DefaultLockService.doWithLock(DefaultLockService.java:44) [stash-service-impl-2.9.2.jar:na] at com.sun.proxy.$Proxy162.doWithLock(Unknown Source) [na:na] at com.atlassian.stash.internal.pull.comment.drift.DriftCommentUpdateProcessor$CommentDriftBoostrapper.run(DriftCommentUpdateProcessor.java:301) [stash-service-impl-2.9.2.jar:na] at com.atlassian.stash.internal.concurrent.StateTransferringExecutor$StateTransferringRunnable.run(StateTransferringExecutor.java:69) [stash-platform-2.9.2.jar:na] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439) [na:1.6.0_45] at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) [na:1.6.0_45] at java.util.concurrent.FutureTask.run(FutureTask.java:138) [na:1.6.0_45] at java.lang.Thread.run(Thread.java:662) [na:1.6.0_45] ... 60 frames trimmed {code} *Your instance might not be able to start up due to these messages. Please upgrade your Stash version.*
    via by Alexey Efimov,
  • {code} 2013-11-22 10:44:52,285 ERROR [drift:thread-1] c.a.s.i.p.c.d.DriftCommentUpdateProcessor Error calculating comment drift for pull request 15026 (1 attempts): old fromHash = 8dc7a601bf71c64ee8a13877179e84b5b5c23b13 old toHash = 5b386faa4c1ba3abda3aa4d773d87316b5c66dd8 new fromHash = 8dc7a601bf71c64ee8a13877179e84b5b5c23b13 new toHash = 18da2ada4838f738c270f640d2afe9d061b910cb org.springframework.security.authentication.AuthenticationCredentialsNotFoundException: An Authentication object was not found in the SecurityContext at org.springframework.security.access.intercept.AbstractSecurityInterceptor.credentialsNotFound(AbstractSecurityInterceptor.java:339) ~[spring-security-core-3.1.4.RELEASE.jar:3.1.4.RELEASE] at com.sun.proxy.$Proxy171.getById(Unknown Source) ~[na:na] at com.sun.proxy.$Proxy245.getById(Unknown Source) ~[na:na] at com.sun.proxy.$Proxy853.getById(Unknown Source) ~[na:na] at com.atlassian.stash.internal.scm.git.pull.DefaultPullRequestSupplier.get(DefaultPullRequestSupplier.java:55) ~[na:na] at com.atlassian.stash.internal.scm.git.pull.DefaultPullRequestRefHelper$AbstractOperation.perform(DefaultPullRequestRefHelper.java:159) ~[na:na] at com.atlassian.stash.util.concurrent.MappedReentrantLock.withLock(MappedReentrantLock.java:74) ~[stash-util-2.9.2.jar:na] at com.atlassian.stash.util.concurrent.ReentrantPullRequestLock.withLock(ReentrantPullRequestLock.java:35) ~[stash-util-2.9.2.jar:na] at com.atlassian.stash.internal.scm.git.pull.DefaultPullRequestRefHelper.withLock(DefaultPullRequestRefHelper.java:140) ~[na:na] at com.atlassian.stash.internal.scm.git.pull.DefaultPullRequestRefHelper.resolveEffectiveDiff(DefaultPullRequestRefHelper.java:65) ~[na:na] at com.atlassian.stash.internal.scm.git.DefaultGitPullRequestCommandFactory.resolveEffectiveDiff(DefaultGitPullRequestCommandFactory.java:280) ~[na:na] at com.atlassian.stash.internal.scm.git.DefaultGitPullRequestCommandFactory.access$100(DefaultGitPullRequestCommandFactory.java:52) ~[na:na] at com.atlassian.stash.internal.scm.git.DefaultGitPullRequestCommandFactory$2.call(DefaultGitPullRequestCommandFactory.java:190) ~[na:na] at com.atlassian.stash.internal.scm.git.DefaultGitPullRequestCommandFactory$2.call(DefaultGitPullRequestCommandFactory.java:186) ~[na:na] at com.atlassian.stash.internal.pull.comment.drift.DriftCommentUpdateProcessor$CommentDriftCalculator.calculate(DriftCommentUpdateProcessor.java:244) ~[stash-service-impl-2.9.2.jar:na] at com.atlassian.stash.internal.pull.comment.drift.DriftCommentUpdateProcessor$CommentDriftOperation$1.doInTransaction(DriftCommentUpdateProcessor.java:355) ~[stash-service-impl-2.9.2.jar:na] at com.atlassian.stash.internal.pull.comment.drift.DriftCommentUpdateProcessor$CommentDriftOperation$1.doInTransaction(DriftCommentUpdateProcessor.java:350) ~[stash-service-impl-2.9.2.jar:na] at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:131) ~[spring-tx-3.2.4.RELEASE.jar:3.2.4.RELEASE] at com.atlassian.stash.internal.pull.comment.drift.DriftCommentUpdateProcessor$CommentDriftOperation.perform(DriftCommentUpdateProcessor.java:350) [stash-service-impl-2.9.2.jar:na] at com.atlassian.stash.internal.pull.comment.drift.DriftCommentUpdateProcessor$CommentDriftOperation.perform(DriftCommentUpdateProcessor.java:321) [stash-service-impl-2.9.2.jar:na] at com.atlassian.stash.internal.concurrent.DefaultLockService.doWithLock(DefaultLockService.java:77) [stash-service-impl-2.9.2.jar:na] at com.atlassian.stash.internal.concurrent.DefaultLockService.doWithLock(DefaultLockService.java:51) [stash-service-impl-2.9.2.jar:na] at com.atlassian.stash.internal.concurrent.DefaultLockService.doWithLock(DefaultLockService.java:44) [stash-service-impl-2.9.2.jar:na] at com.sun.proxy.$Proxy162.doWithLock(Unknown Source) [na:na] at com.atlassian.stash.internal.pull.comment.drift.DriftCommentUpdateProcessor$CommentDriftBoostrapper.run(DriftCommentUpdateProcessor.java:301) [stash-service-impl-2.9.2.jar:na] at com.atlassian.stash.internal.concurrent.StateTransferringExecutor$StateTransferringRunnable.run(StateTransferringExecutor.java:69) [stash-platform-2.9.2.jar:na] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439) [na:1.6.0_45] at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) [na:1.6.0_45] at java.util.concurrent.FutureTask.run(FutureTask.java:138) [na:1.6.0_45] at java.lang.Thread.run(Thread.java:662) [na:1.6.0_45] ... 60 frames trimmed {code} *Your instance might not be able to start up due to these messages. Please upgrade your Stash version.*
    via by Alexey Efimov,
    • org.springframework.security.authentication.AuthenticationCredentialsNotFoundException: An Authentication object was not found in the SecurityContext at org.springframework.security.access.intercept.AbstractSecurityInterceptor.credentialsNotFound(AbstractSecurityInterceptor.java:339)[spring-security-core-3.1.4.RELEASE.jar:3.1.4.RELEASE] at com.sun.proxy.$Proxy171.getById(Unknown Source)[na:na] at com.sun.proxy.$Proxy245.getById(Unknown Source)[na:na] at com.sun.proxy.$Proxy853.getById(Unknown Source)[na:na] at com.atlassian.stash.internal.scm.git.pull.DefaultPullRequestSupplier.get(DefaultPullRequestSupplier.java:55)[na:na] at com.atlassian.stash.internal.scm.git.pull.DefaultPullRequestRefHelper$AbstractOperation.perform(DefaultPullRequestRefHelper.java:159)[na:na] at com.atlassian.stash.util.concurrent.MappedReentrantLock.withLock(MappedReentrantLock.java:74)[stash-util-2.9.2.jar:na] at com.atlassian.stash.util.concurrent.ReentrantPullRequestLock.withLock(ReentrantPullRequestLock.java:35)[stash-util-2.9.2.jar:na] at com.atlassian.stash.internal.scm.git.pull.DefaultPullRequestRefHelper.withLock(DefaultPullRequestRefHelper.java:140)[na:na] at com.atlassian.stash.internal.scm.git.pull.DefaultPullRequestRefHelper.resolveEffectiveDiff(DefaultPullRequestRefHelper.java:65)[na:na] at com.atlassian.stash.internal.scm.git.DefaultGitPullRequestCommandFactory.resolveEffectiveDiff(DefaultGitPullRequestCommandFactory.java:280)[na:na] at com.atlassian.stash.internal.scm.git.DefaultGitPullRequestCommandFactory.access$100(DefaultGitPullRequestCommandFactory.java:52)[na:na] at com.atlassian.stash.internal.scm.git.DefaultGitPullRequestCommandFactory$2.call(DefaultGitPullRequestCommandFactory.java:190)[na:na] at com.atlassian.stash.internal.scm.git.DefaultGitPullRequestCommandFactory$2.call(DefaultGitPullRequestCommandFactory.java:186)[na:na] at com.atlassian.stash.internal.pull.comment.drift.DriftCommentUpdateProcessor$CommentDriftCalculator.calculate(DriftCommentUpdateProcessor.java:244)[stash-service-impl-2.9.2.jar:na] at com.atlassian.stash.internal.pull.comment.drift.DriftCommentUpdateProcessor$CommentDriftOperation$1.doInTransaction(DriftCommentUpdateProcessor.java:355)[stash-service-impl-2.9.2.jar:na] at com.atlassian.stash.internal.pull.comment.drift.DriftCommentUpdateProcessor$CommentDriftOperation$1.doInTransaction(DriftCommentUpdateProcessor.java:350)[stash-service-impl-2.9.2.jar:na] at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:131)[spring-tx-3.2.4.RELEASE.jar:3.2.4.RELEASE] at com.atlassian.stash.internal.pull.comment.drift.DriftCommentUpdateProcessor$CommentDriftOperation.perform(DriftCommentUpdateProcessor.java:350)[stash-service-impl-2.9.2.jar:na] at com.atlassian.stash.internal.pull.comment.drift.DriftCommentUpdateProcessor$CommentDriftOperation.perform(DriftCommentUpdateProcessor.java:321)[stash-service-impl-2.9.2.jar:na] at com.atlassian.stash.internal.concurrent.DefaultLockService.doWithLock(DefaultLockService.java:77)[stash-service-impl-2.9.2.jar:na] at com.atlassian.stash.internal.concurrent.DefaultLockService.doWithLock(DefaultLockService.java:51)[stash-service-impl-2.9.2.jar:na] at com.atlassian.stash.internal.concurrent.DefaultLockService.doWithLock(DefaultLockService.java:44)[stash-service-impl-2.9.2.jar:na] at com.sun.proxy.$Proxy162.doWithLock(Unknown Source)[na:na] at com.atlassian.stash.internal.pull.comment.drift.DriftCommentUpdateProcessor$CommentDriftBoostrapper.run(DriftCommentUpdateProcessor.java:301)[stash-service-impl-2.9.2.jar:na] at com.atlassian.stash.internal.concurrent.StateTransferringExecutor$StateTransferringRunnable.run(StateTransferringExecutor.java:69)[stash-platform-2.9.2.jar:na] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)[na:1.6.0_45] at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)[na:1.6.0_45] at java.util.concurrent.FutureTask.run(FutureTask.java:138)[na:1.6.0_45] at java.lang.Thread.run(Thread.java:662)[na:1.6.0_45]

    Users with the same issue

    Unknown visitor1 times, last one,
    SteVio1989
    1 times, last one,
    jpvee
    2 times, last one,
    serious2monkeys
    9 times, last one,
    jedcua
    122 times, last one,
    6 more bugmates