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.2.7.RELEASE.jar:3.2.7.RELEASE] at com.atlassian.plugin.util.ContextClassLoaderSettingInvocationHandler.invoke(ContextClassLoaderSettingInvocationHandler.java:26)[atlassian-plugins-core-4.1.8.jar:na] at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:56)[na:na] at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:60)[na:na] at org.eclipse.gemini.blueprint.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:70)[na:na] at org.eclipse.gemini.blueprint.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:53)[na:na] at org.eclipse.gemini.blueprint.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:57)[na:na] at be.contribute.atlassian.condition.CanTagCondition.getRepository(CanTagCondition.java:106)[plugin.4052744825699145293.stash-tagging-support-1.5.4_1463762034896.jar:na] at be.contribute.atlassian.condition.CanTagCondition.extractRepository(CanTagCondition.java:81)[plugin.4052744825699145293.stash-tagging-support-1.5.4_1463762034896.jar:na] at be.contribute.atlassian.condition.CanTagCondition.hasPermission(CanTagCondition.java:34)[plugin.4052744825699145293.stash-tagging-support-1.5.4_1463762034896.jar:na] at com.atlassian.bitbucket.web.conditions.AbstractPermissionCondition.shouldDisplay(AbstractPermissionCondition.java:105)[bitbucket-web-common-4.6.2.jar:na] at com.atlassian.stash.internal.plugin.web.fragments.AbstractClientWebFragmentModuleDescriptor$WebFragmentPageDataProvider.getContextMap(AbstractClientWebFragmentModuleDescriptor.java:544)[bitbucket-platform-4.6.2.jar:na] at com.atlassian.stash.internal.plugin.web.fragments.RequestCacheClientPageDataHandler.getPageData(RequestCacheClientPageDataHandler.java:50)[bitbucket-platform-4.6.2.jar:na] at com.atlassian.stash.internal.plugin.web.fragments.RequestCacheClientPageDataHandler.requirePageData(RequestCacheClientPageDataHandler.java:78)[bitbucket-platform-4.6.2.jar:na] at com.atlassian.stash.internal.plugin.OsgiSafeProxyProvider$1.invoke(OsgiSafeProxyProvider.java:93)[bitbucket-platform-4.6.2.jar:na] at com.atlassian.stash.internal.plugin.web.fragments.WebFragmentLocationModuleDescriptor.requirePageData(WebFragmentLocationModuleDescriptor.java:112)[bitbucket-platform-4.6.2.jar:na] at com.atlassian.stash.internal.plugin.web.fragments.WebFragmentLocationModuleDescriptor.getDependencies(WebFragmentLocationModuleDescriptor.java:195)[bitbucket-platform-4.6.2.jar:na] at com.atlassian.plugin.webresource.impl.config.Config.getWebResourcesWithoutCache(Config.java:544)[atlassian-plugins-webresource-3.5.29.jar:na] at com.atlassian.plugin.webresource.impl.Globals$1.create(Globals.java:49)[atlassian-plugins-webresource-3.5.29.jar:na] at com.atlassian.plugin.webresource.impl.Globals$1.create(Globals.java:46)[atlassian-plugins-webresource-3.5.29.jar:na] at com.atlassian.plugin.webresource.impl.support.ResettableLazyReferenceWithVersionCheck.get(ResettableLazyReferenceWithVersionCheck.java:23)[atlassian-plugins-webresource-3.5.29.jar:na] at com.atlassian.plugin.webresource.impl.Globals.getSnapshot(Globals.java:166)[atlassian-plugins-webresource-3.5.29.jar:na] at com.atlassian.plugin.webresource.impl.RequestCache.getSnapshot(RequestCache.java:131)[atlassian-plugins-webresource-3.5.29.jar:na] at com.atlassian.plugin.webresource.impl.http.Controller.getBatchResources(Controller.java:159)[atlassian-plugins-webresource-3.5.29.jar:na] at com.atlassian.plugin.webresource.impl.http.Controller$2.get(Controller.java:127)[atlassian-plugins-webresource-3.5.29.jar:na] at com.atlassian.plugin.webresource.impl.http.Controller$2.get(Controller.java:124)[atlassian-plugins-webresource-3.5.29.jar:na] at com.atlassian.plugin.webresource.impl.helpers.ResourceServingHelpers$1.writeTo(ResourceServingHelpers.java:104)[atlassian-plugins-webresource-3.5.29.jar:na] at com.atlassian.plugin.webresource.impl.http.Controller$6.write(Controller.java:362)[atlassian-plugins-webresource-3.5.29.jar:na] at com.atlassian.plugin.cache.filecache.impl.PassThroughCache.cache(PassThroughCache.java:18)[atlassian-plugins-webresource-3.5.29.jar:na] at com.atlassian.plugin.webresource.impl.http.Controller.sendCachedInProduction(Controller.java:359)[atlassian-plugins-webresource-3.5.29.jar:na] at com.atlassian.plugin.webresource.impl.http.Controller.sendCached(Controller.java:322)[atlassian-plugins-webresource-3.5.29.jar:na] at com.atlassian.plugin.webresource.impl.http.Controller.serveResources(Controller.java:262)[atlassian-plugins-webresource-3.5.29.jar:na] at com.atlassian.plugin.webresource.impl.http.Controller.serveBatch(Controller.java:124)[atlassian-plugins-webresource-3.5.29.jar:na] at com.atlassian.plugin.webresource.impl.http.Router$7.apply(Router.java:112)[atlassian-plugins-webresource-3.5.29.jar:na] at com.atlassian.plugin.webresource.impl.http.Router$7.apply(Router.java:103)[atlassian-plugins-webresource-3.5.29.jar:na] at com.atlassian.plugin.webresource.impl.support.http.BaseRouter.callHandler(BaseRouter.java:171)[atlassian-plugins-webresource-3.5.29.jar:na] at com.atlassian.plugin.webresource.impl.support.http.BaseRouter.dispatch(BaseRouter.java:144)[atlassian-plugins-webresource-3.5.29.jar:na] at com.atlassian.plugin.webresource.servlet.PluginResourceDownload.serveFile(PluginResourceDownload.java:65)[atlassian-plugins-webresource-3.5.29.jar:na] at com.atlassian.stash.internal.plugin.FileServerServlet.access$000(FileServerServlet.java:24)[bitbucket-platform-4.6.2.jar:na] at com.atlassian.stash.internal.plugin.FileServerServlet$1.perform(FileServerServlet.java:41)[bitbucket-platform-4.6.2.jar:na]

    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