org.springframework.security.authentication.AuthenticationCredentialsNotFoundException: An Authentication object was not found in the SecurityContext

GitHub | mtakaki | 4 months ago
  1. 0

    Bitbucket doesn't notify when a commit is pushed to remote when using `${EVERYTHING_URL}`

    GitHub | 4 months ago | mtakaki
    org.springframework.security.authentication.AuthenticationCredentialsNotFoundException: An Authentication object was not found in the SecurityContext
  2. 0

    [BSERV-4131] Error calculating comment drift on startup - Atlassian JIRA

    atlassian.com | 1 year ago
    org.springframework.security.authentication.AuthenticationCredentialsNotFoundException: An Authentication object was not found in the SecurityContext
  3. 0

    {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.*

    Atlassian JIRA | 3 years ago | Alexey Efimov
    org.springframework.security.authentication.AuthenticationCredentialsNotFoundException: An Authentication object was not found in the SecurityContext
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    {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.*

    Atlassian JIRA | 3 years ago | Alexey Efimov
    org.springframework.security.authentication.AuthenticationCredentialsNotFoundException: An Authentication object was not found in the SecurityContext
  6. 0

    GitHub comment 142#75111471

    GitHub | 2 years ago | domdorn
    org.springframework.security.authentication.AuthenticationCredentialsNotFoundException: An Authentication object was not found in the SecurityContext

    1 unregistered visitors
    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. org.springframework.security.authentication.AuthenticationCredentialsNotFoundException

      An Authentication object was not found in the SecurityContext

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