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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by mtakaki
, 1 year ago
An Authentication object was not found in the SecurityContext
via GitHub by domdorn
, 2 years ago
An Authentication object was not found in the SecurityContext
via Stack Overflow by amdev
, 1 year ago
via petrikainulainen.net by Unknown author, 1 year ago
An Authentication object was not found in the SecurityContext
via Stack Overflow by valepu
, 2 years ago
An Authentication object was not found in the SecurityContext
org.springframework.security.authentication.AuthenticationCredentialsNotFoundException: An Authentication object was not found in the SecurityContext
at com.atlassian.plugin.util.ContextClassLoaderSettingInvocationHandler.invoke(ContextClassLoaderSettingInvocationHandler.java:26)
at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:56)
at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:60)
at org.eclipse.gemini.blueprint.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:70)
at org.eclipse.gemini.blueprint.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:53)
at org.eclipse.gemini.blueprint.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:57)
at be.contribute.atlassian.condition.CanTagCondition.getRepository(CanTagCondition.java:106)
at be.contribute.atlassian.condition.CanTagCondition.extractRepository(CanTagCondition.java:81)
at be.contribute.atlassian.condition.CanTagCondition.hasPermission(CanTagCondition.java:34)
at com.atlassian.bitbucket.web.conditions.AbstractPermissionCondition.shouldDisplay(AbstractPermissionCondition.java:105)
at com.atlassian.stash.internal.plugin.web.fragments.AbstractClientWebFragmentModuleDescriptor$WebFragmentPageDataProvider.getContextMap(AbstractClientWebFragmentModuleDescriptor.java:544)
at com.atlassian.stash.internal.plugin.web.fragments.RequestCacheClientPageDataHandler.getPageData(RequestCacheClientPageDataHandler.java:50)
at com.atlassian.stash.internal.plugin.web.fragments.RequestCacheClientPageDataHandler.requirePageData(RequestCacheClientPageDataHandler.java:78)
at com.atlassian.stash.internal.plugin.OsgiSafeProxyProvider$1.invoke(OsgiSafeProxyProvider.java:93)
at com.atlassian.stash.internal.plugin.web.fragments.WebFragmentLocationModuleDescriptor.requirePageData(WebFragmentLocationModuleDescriptor.java:112)
at com.atlassian.stash.internal.plugin.web.fragments.WebFragmentLocationModuleDescriptor.getDependencies(WebFragmentLocationModuleDescriptor.java:195)
at com.atlassian.plugin.webresource.impl.config.Config.getWebResourcesWithoutCache(Config.java:544)
at com.atlassian.plugin.webresource.impl.Globals$1.create(Globals.java:49)
at com.atlassian.plugin.webresource.impl.Globals$1.create(Globals.java:46)
at com.atlassian.plugin.webresource.impl.support.ResettableLazyReferenceWithVersionCheck.get(ResettableLazyReferenceWithVersionCheck.java:23)
at com.atlassian.plugin.webresource.impl.Globals.getSnapshot(Globals.java:166)
at com.atlassian.plugin.webresource.impl.RequestCache.getSnapshot(RequestCache.java:131)
at com.atlassian.plugin.webresource.impl.http.Controller.getBatchResources(Controller.java:159)
at com.atlassian.plugin.webresource.impl.http.Controller$2.get(Controller.java:127)
at com.atlassian.plugin.webresource.impl.http.Controller$2.get(Controller.java:124)
at com.atlassian.plugin.webresource.impl.helpers.ResourceServingHelpers$1.writeTo(ResourceServingHelpers.java:104)
at com.atlassian.plugin.webresource.impl.http.Controller$6.write(Controller.java:362)
at com.atlassian.plugin.cache.filecache.impl.PassThroughCache.cache(PassThroughCache.java:18)
at com.atlassian.plugin.webresource.impl.http.Controller.sendCachedInProduction(Controller.java:359)
at com.atlassian.plugin.webresource.impl.http.Controller.sendCached(Controller.java:322)
at com.atlassian.plugin.webresource.impl.http.Controller.serveResources(Controller.java:262)
at com.atlassian.plugin.webresource.impl.http.Controller.serveBatch(Controller.java:124)
at com.atlassian.plugin.webresource.impl.http.Router$7.apply(Router.java:112)
at com.atlassian.plugin.webresource.impl.http.Router$7.apply(Router.java:103)
at com.atlassian.plugin.webresource.impl.support.http.BaseRouter.callHandler(BaseRouter.java:171)
at com.atlassian.plugin.webresource.impl.support.http.BaseRouter.dispatch(BaseRouter.java:144)
at com.atlassian.plugin.webresource.servlet.PluginResourceDownload.serveFile(PluginResourceDownload.java:65)
at com.atlassian.stash.internal.plugin.FileServerServlet.access$000(FileServerServlet.java:24)
at com.atlassian.stash.internal.plugin.FileServerServlet$1.perform(FileServerServlet.java:41)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Once, 10 months ago
2 times, 11 months ago
9 times, 1 year ago
122 times, 1 year ago
6 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.