java.lang.IllegalStateException: Connection factory has been shutdown.

Atlassian JIRA | Don Willis [Atlassian] | 2 years ago
  1. 0

    A mutative operation was attempted on RememberMeTokenImpl - Atlassian Documentation

    atlassian.com | 7 months ago
    java.lang.IllegalStateException: Connection factory has been shutdown.
  2. 0

    Reported by one customer so far: This logging happens when they update their Cache refresh interval. {noformat} 2015-01-14 10:51:34,148 ERROR [http-bio-8085-exec-14] [FiveOhOh] 500 Exception was thrown. java.lang.IllegalStateException: Connection factory has been shutdown. at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager.doGetConnection(MultiThreadedHttpConnectionManager.java:456) at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager.getConnectionWithTimeout(MultiThreadedHttpConnectionManager.java:394) at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:152) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:324) at com.atlassian.crowd.integration.rest.service.RestExecutor$MethodExecutor.executeCrowdServiceMethod(RestExecutor.java:452) at com.atlassian.crowd.integration.rest.service.RestExecutor$MethodExecutor.andReceive(RestExecutor.java:341) at com.atlassian.crowd.integration.rest.service.RestCrowdClient.getCookieConfiguration(RestCrowdClient.java:1033) at com.atlassian.crowd.integration.http.CrowdHttpAuthenticatorImpl.getCookieTokenKey(CrowdHttpAuthenticatorImpl.java:219) at com.atlassian.crowd.integration.http.CrowdHttpAuthenticatorImpl.getToken(CrowdHttpAuthenticatorImpl.java:200) at com.atlassian.crowd.integration.http.CacheAwareCrowdHttpAuthenticator.getToken(CacheAwareCrowdHttpAuthenticator.java:83) at com.atlassian.crowd.integration.seraph.v25.CrowdAuthenticator.getUser(CrowdAuthenticator.java:345) at com.atlassian.seraph.filter.SecurityFilter.doFilter(SecurityFilter.java:138) {noformat} The ConnectionFactory is _meant_ to be shut down, but a new one is meant to be started. My best guess thus far is a race condition. We are investigating with the customer via support.

    Atlassian JIRA | 2 years ago | Don Willis [Atlassian]
    java.lang.IllegalStateException: Connection factory has been shutdown.
  3. 0

    Reported by one customer so far: This logging happens when they update their Cache refresh interval. {noformat} 2015-01-14 10:51:34,148 ERROR [http-bio-8085-exec-14] [FiveOhOh] 500 Exception was thrown. java.lang.IllegalStateException: Connection factory has been shutdown. at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager.doGetConnection(MultiThreadedHttpConnectionManager.java:456) at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager.getConnectionWithTimeout(MultiThreadedHttpConnectionManager.java:394) at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:152) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:324) at com.atlassian.crowd.integration.rest.service.RestExecutor$MethodExecutor.executeCrowdServiceMethod(RestExecutor.java:452) at com.atlassian.crowd.integration.rest.service.RestExecutor$MethodExecutor.andReceive(RestExecutor.java:341) at com.atlassian.crowd.integration.rest.service.RestCrowdClient.getCookieConfiguration(RestCrowdClient.java:1033) at com.atlassian.crowd.integration.http.CrowdHttpAuthenticatorImpl.getCookieTokenKey(CrowdHttpAuthenticatorImpl.java:219) at com.atlassian.crowd.integration.http.CrowdHttpAuthenticatorImpl.getToken(CrowdHttpAuthenticatorImpl.java:200) at com.atlassian.crowd.integration.http.CacheAwareCrowdHttpAuthenticator.getToken(CacheAwareCrowdHttpAuthenticator.java:83) at com.atlassian.crowd.integration.seraph.v25.CrowdAuthenticator.getUser(CrowdAuthenticator.java:345) at com.atlassian.seraph.filter.SecurityFilter.doFilter(SecurityFilter.java:138) {noformat} The ConnectionFactory is _meant_ to be shut down, but a new one is meant to be started. My best guess thus far is a race condition. We are investigating with the customer via support.

    Atlassian JIRA | 2 years ago | Don Willis [Atlassian]
    java.lang.IllegalStateException: Connection factory has been shutdown.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    There are cases where an action that occurred after the sync worker has started, invalidates the results (for example, user has changed to a local user repository, a flush action has been invoked). In this cases, any errors that the worker might produce should be caught and just logged as warning messages. Some of the errors that I have seen: 1. {code} [INFO] [talledLocalContainer] 2011-07-12 11:32:16,152 ERROR [QuartzScheduler_Worker-3] [ErrorLogger] Job (BambooUserRefresh.BambooUserRefresh threw an exception. [INFO] [talledLocalContainer] org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: javax.xml.bind.DataBindingException: javax.xml.bind.UnmarshalException [INFO] [talledLocalContainer] - with linked exception: [INFO] [talledLocalContainer] [java.io.IOException: Stream closed]] [INFO] [talledLocalContainer] at org.quartz.core.JobRunShell.run(JobRunShell.java:213) [INFO] [talledLocalContainer] at com.atlassian.bamboo.quartz.SystemAuthorizedThreadPool$1.run(SystemAuthorizedThreadPool.java:38) [INFO] [talledLocalContainer] at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:525) [INFO] [talledLocalContainer] Caused by: javax.xml.bind.DataBindingException: javax.xml.bind.UnmarshalException [INFO] [talledLocalContainer] - with linked exception: [INFO] [talledLocalContainer] [java.io.IOException: Stream closed] [INFO] [talledLocalContainer] at javax.xml.bind.JAXB.unmarshal(JAXB.java:201) [INFO] [talledLocalContainer] at com.atlassian.crowd.integration.rest.service.RestExecutor$MethodExecutor.andReceive(RestExecutor.java:312) [INFO] [talledLocalContainer] at com.atlassian.crowd.integration.rest.service.RestCrowdClient.getNamesOfUsersOfGroup(RestCrowdClient.java:576) [INFO] [talledLocalContainer] at com.atlassian.crowd.integration.atlassianuser.UserGroupFetcher.fetch(UserGroupFetcher.java:62) [INFO] [talledLocalContainer] at com.atlassian.crowd.integration.atlassianuser.UserGroupCache.fetchAndSetSnapshot(UserGroupCache.java:85) [INFO] [talledLocalContainer] at com.atlassian.crowd.integration.atlassianuser.UserGroupCache.refreshCache(UserGroupCache.java:411) [INFO] [talledLocalContainer] at com.atlassian.crowd.integration.atlassianuser.UserGroupCache.refreshCacheIfNecessary(UserGroupCache.java:432) [INFO] [talledLocalContainer] at com.atlassian.crowd.integration.atlassianuser.CrowdClientControl.refreshCacheIfNecessary(CrowdClientControl.java:89) [INFO] [talledLocalContainer] at com.atlassian.bamboo.user.BambooUserRefreshJobScheduler$BambooUserRefreshJob.execute(BambooUserRefreshJobScheduler.java:73) [INFO] [talledLocalContainer] at org.quartz.core.JobRunShell.run(JobRunShell.java:202) [INFO] [talledLocalContainer] ... 2 more [INFO] [talledLocalContainer] Caused by: javax.xml.bind.UnmarshalException [INFO] [talledLocalContainer] - with linked exception: [INFO] [talledLocalContainer] [java.io.IOException: Stream closed] [INFO] [talledLocalContainer] at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:213) [INFO] [talledLocalContainer] at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:190) [INFO] [talledLocalContainer] at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:241) [INFO] [talledLocalContainer] at javax.xml.bind.JAXB.unmarshal(JAXB.java:198) [INFO] [talledLocalContainer] ... 11 more [INFO] [talledLocalContainer] Caused by: java.io.IOException: Stream closed [INFO] [talledLocalContainer] at java.io.BufferedInputStream.getBufIfOpen(BufferedInputStream.java:145) [INFO] [talledLocalContainer] at java.io.BufferedInputStream.read(BufferedInputStream.java:241) [INFO] [talledLocalContainer] at org.apache.commons.httpclient.ContentLengthInputStream.read(ContentLengthInputStream.java:142) [INFO] [talledLocalContainer] at java.io.FilterInputStream.read(FilterInputStream.java:66) [INFO] [talledLocalContainer] at org.apache.commons.httpclient.AutoCloseInputStream.read(AutoCloseInputStream.java:87) [INFO] [talledLocalContainer] at org.apache.xerces.impl.XMLEntityManager$RewindableInputStream.read(Unknown Source) [INFO] [talledLocalContainer] at org.apache.xerces.impl.XMLEntityManager$RewindableInputStream.read(Unknown Source) [INFO] [talledLocalContainer] at org.apache.xerces.impl.io.UTF8Reader.read(Unknown Source) [INFO] [talledLocalContainer] at org.apache.xerces.impl.XMLEntityScanner.load(Unknown Source) [INFO] [talledLocalContainer] at org.apache.xerces.impl.XMLEntityScanner.skipDeclSpaces(Unknown Source) [INFO] [talledLocalContainer] at org.apache.xerces.impl.XMLScanner.scanXMLDeclOrTextDecl(Unknown Source) [INFO] [talledLocalContainer] at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanXMLDeclOrTextDecl(Unknown Source) [INFO] [talledLocalContainer] at org.apache.xerces.impl.XMLDocumentScannerImpl$XMLDeclDispatcher.dispatch(Unknown Source) [INFO] [talledLocalContainer] at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) [INFO] [talledLocalContainer] at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) [INFO] [talledLocalContainer] at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) [INFO] [talledLocalContainer] at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) [INFO] [talledLocalContainer] at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) [INFO] [talledLocalContainer] at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) [INFO] [talledLocalContainer] at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:211) [INFO] [talledLocalContainer] ... 14 more {code} 2. {code} [INFO] [talledLocalContainer] 2011-07-12 11:28:56,430 WARN [http-9099-14] [DefaultAuthenticator] getUserFromSession : Exception when retrieving user from session: java.lang.reflect.UndeclaredThrowableException [INFO] [talledLocalContainer] java.lang.reflect.UndeclaredThrowableException [INFO] [talledLocalContainer] at $Proxy16.getUser(Unknown Source) [INFO] [talledLocalContainer] at bucket.user.DefaultUserAccessor.getUser(DefaultUserAccessor.java:147) [INFO] [talledLocalContainer] at com.atlassian.bamboo.user.BambooUserManagerImpl.getUser(BambooUserManagerImpl.java:103) [INFO] [talledLocalContainer] at sun.reflect.GeneratedMethodAccessor131.invoke(Unknown Source) [INFO] [talledLocalContainer] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [INFO] [talledLocalContainer] at java.lang.reflect.Method.invoke(Method.java:597) [INFO] [talledLocalContainer] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304) [INFO] [talledLocalContainer] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) [INFO] [talledLocalContainer] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) [INFO] [talledLocalContainer] at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) [INFO] [talledLocalContainer] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [INFO] [talledLocalContainer] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [INFO] [talledLocalContainer] at $Proxy25.getUser(Unknown Source) [INFO] [talledLocalContainer] at com.atlassian.bamboo.user.authentication.BambooAuthenticator.getUser(BambooAuthenticator.java:48) [INFO] [talledLocalContainer] at com.atlassian.seraph.auth.DefaultAuthenticator.refreshPrincipalObtainedFromSession(DefaultAuthenticator.java:365) [INFO] [talledLocalContainer] at com.atlassian.seraph.auth.DefaultAuthenticator.getUserFromSession(DefaultAuthenticator.java:404) [INFO] [talledLocalContainer] at com.atlassian.seraph.auth.DefaultAuthenticator.getUser(DefaultAuthenticator.java:318) [INFO] [talledLocalContainer] at com.atlassian.seraph.auth.AbstractAuthenticator.getUser(AbstractAuthenticator.java:45) [INFO] [talledLocalContainer] at com.atlassian.bamboo.ww2.FreemarkerContext.getUser(FreemarkerContext.java:110) [INFO] [talledLocalContainer] at com.atlassian.bamboo.ww2.FreemarkerContext.getWebFragmentsContextMapForAdminMenu(FreemarkerContext.java:303) [INFO] [talledLocalContainer] at com.atlassian.bamboo.ww2.FreemarkerContext.getWebItemsForAdminSection(FreemarkerContext.java:188) [INFO] [talledLocalContainer] at sun.reflect.GeneratedMethodAccessor144.invoke(Unknown Source) [INFO] [talledLocalContainer] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [INFO] [talledLocalContainer] at java.lang.reflect.Method.invoke(Method.java:597) [INFO] [talledLocalContainer] at freemarker.ext.beans.BeansWrapper.invokeMethod(BeansWrapper.java:809) [INFO] [talledLocalContainer] at freemarker.ext.beans.SimpleMethodModel.exec(SimpleMethodModel.java:106) [INFO] [talledLocalContainer] at freemarker.core.MethodCall._getAsTemplateModel(MethodCall.java:93) [INFO] [talledLocalContainer] at freemarker.core.Expression.getAsTemplateModel(Expression.java:89) [INFO] [talledLocalContainer] at freemarker.core.Assignment.accept(Assignment.java:90) [INFO] [talledLocalContainer] at freemarker.core.Environment.visit(Environment.java:210) [INFO] [talledLocalContainer] at freemarker.core.MixedContent.accept(MixedContent.java:92) [INFO] [talledLocalContainer] at freemarker.core.Environment.visit(Environment.java:210) [INFO] [talledLocalContainer] at freemarker.core.IteratorBlock$Context.runLoop(IteratorBlock.java:167) [INFO] [talledLocalContainer] at freemarker.core.Environment.visit(Environment.java:417) [INFO] [talledLocalContainer] at freemarker.core.IteratorBlock.accept(IteratorBlock.java:102) [INFO] [talledLocalContainer] at freemarker.core.Environment.visit(Environment.java:210) [INFO] [talledLocalContainer] at freemarker.core.MixedContent.accept(MixedContent.java:92) [INFO] [talledLocalContainer] at freemarker.core.Environment.visit(Environment.java:210) [INFO] [talledLocalContainer] at freemarker.core.ConditionalBlock.accept(ConditionalBlock.java:79) [INFO] [talledLocalContainer] at freemarker.core.Environment.visit(Environment.java:210) [INFO] [talledLocalContainer] at freemarker.core.MixedContent.accept(MixedContent.java:92) [INFO] [talledLocalContainer] at freemarker.core.Environment.visit(Environment.java:210) [INFO] [talledLocalContainer] at freemarker.core.Environment.include(Environment.java:1483) [INFO] [talledLocalContainer] at freemarker.core.Include.accept(Include.java:169) [INFO] [talledLocalContainer] at freemarker.core.Environment.visit(Environment.java:210) [INFO] [talledLocalContainer] at freemarker.core.MixedContent.accept(MixedContent.java:92) [INFO] [talledLocalContainer] at freemarker.core.Environment.visit(Environment.java:210) [INFO] [talledLocalContainer] at freemarker.core.Environment.process(Environment.java:190) [INFO] [talledLocalContainer] at freemarker.template.Template.process(Template.java:289) [INFO] [talledLocalContainer] at freemarker.template.Template.process(Template.java:243) [INFO] [talledLocalContainer] at com.atlassian.bamboo.ww2.FreemarkerRequestDispatcherPageFilter.applyDecorator(FreemarkerRequestDispatcherPageFilter.java:68) [INFO] [talledLocalContainer] at com.opensymphony.webwork.sitemesh.TemplatePageFilter.applyDecorator(TemplatePageFilter.java:86) [INFO] [talledLocalContainer] at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:59) [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [INFO] [talledLocalContainer] at com.opensymphony.webwork.dispatcher.ActionContextCleanUp.doFilter(ActionContextCleanUp.java:88) [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [INFO] [talledLocalContainer] at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46) [INFO] [talledLocalContainer] at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:77) [INFO] [talledLocalContainer] at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:63) [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [INFO] [talledLocalContainer] at com.atlassian.bamboo.filter.AccessLogFilter.doFilter(AccessLogFilter.java:66) [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [INFO] [talledLocalContainer] at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:265) [INFO] [talledLocalContainer] at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125) [INFO] [talledLocalContainer] at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) [INFO] [talledLocalContainer] at com.atlassian.bamboo.filter.SeraphLoginFilter.doFilter(SeraphLoginFilter.java:74) [INFO] [talledLocalContainer] at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) [INFO] [talledLocalContainer] at org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:149) [INFO] [talledLocalContainer] at org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98) [INFO] [talledLocalContainer] at com.atlassian.bamboo.filter.BambooAcegiProxyFilter.doFilter(BambooAcegiProxyFilter.java:25) [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [INFO] [talledLocalContainer] at com.atlassian.bamboo.filter.LicenseFilter.doFilter(LicenseFilter.java:73) [INFO] [talledLocalContainer] at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31) [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [INFO] [talledLocalContainer] at com.atlassian.johnson.filters.AbstractJohnsonFilter.doFilter(AbstractJohnsonFilter.java:71) [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [INFO] [talledLocalContainer] at com.atlassian.seraph.filter.SecurityFilter.doFilter(SecurityFilter.java:211) [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [INFO] [talledLocalContainer] at com.atlassian.seraph.filter.BaseLoginFilter.doFilter(BaseLoginFilter.java:150) [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [INFO] [talledLocalContainer] at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46) [INFO] [talledLocalContainer] at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:66) [INFO] [talledLocalContainer] at com.atlassian.oauth.serviceprovider.internal.servlet.OAuthFilter.doFilter(OAuthFilter.java:71) [INFO] [talledLocalContainer] at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:74) [INFO] [talledLocalContainer] at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:42) [INFO] [talledLocalContainer] at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:66) [INFO] [talledLocalContainer] at com.atlassian.security.auth.trustedapps.filter.TrustedApplicationsFilter.doFilter(TrustedApplicationsFilter.java:98) [INFO] [talledLocalContainer] at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:74) [INFO] [talledLocalContainer] at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:42) [INFO] [talledLocalContainer] at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:77) [INFO] [talledLocalContainer] at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:63) [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [INFO] [talledLocalContainer] at org.springframework.orm.hibernate.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:170) [INFO] [talledLocalContainer] at com.atlassian.bamboo.persistence.BambooSessionInViewFilter.doFilterInternal(BambooSessionInViewFilter.java:31) [INFO] [talledLocalContainer] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75) [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [INFO] [talledLocalContainer] at com.planetj.servlet.filter.compression.CompressingFilter.handleDoFilter(CompressingFilter.java:203) [INFO] [talledLocalContainer] at com.planetj.servlet.filter.compression.CompressingFilter.doFilter(CompressingFilter.java:193) [INFO] [talledLocalContainer] at com.atlassian.bamboo.filter.CompressingFilter.doFilter(CompressingFilter.java:71) [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [INFO] [talledLocalContainer] at com.atlassian.bamboo.filter.RequestCacheThreadLocalFilter.doFilter(RequestCacheThreadLocalFilter.java:31) [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [INFO] [talledLocalContainer] at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46) [INFO] [talledLocalContainer] at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:77) [INFO] [talledLocalContainer] at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:63) [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [INFO] [talledLocalContainer] at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:96) [INFO] [talledLocalContainer] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75) [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [INFO] [talledLocalContainer] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) [INFO] [talledLocalContainer] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) [INFO] [talledLocalContainer] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) [INFO] [talledLocalContainer] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [INFO] [talledLocalContainer] at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:567) [INFO] [talledLocalContainer] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [INFO] [talledLocalContainer] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293) [INFO] [talledLocalContainer] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849) [INFO] [talledLocalContainer] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) [INFO] [talledLocalContainer] at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454) [INFO] [talledLocalContainer] at java.lang.Thread.run(Thread.java:662) [INFO] [talledLocalContainer] Caused by: java.lang.reflect.InvocationTargetException [INFO] [talledLocalContainer] at sun.reflect.GeneratedMethodAccessor130.invoke(Unknown Source) [INFO] [talledLocalContainer] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [INFO] [talledLocalContainer] at java.lang.reflect.Method.invoke(Method.java:597) [INFO] [talledLocalContainer] at com.atlassian.crowd.integration.atlassianuser.DynamicDelegationAccessor$DelegatingInvocationHandler.invoke(DynamicDelegationAccessor.java:112) [INFO] [talledLocalContainer] ... 135 more [INFO] [talledLocalContainer] Caused by: java.lang.IllegalStateException: Connection factory has been shutdown. [INFO] [talledLocalContainer] at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager.doGetConnection(MultiThreadedHttpConnectionManager.java:456) [INFO] [talledLocalContainer] at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager.getConnectionWithTimeout(MultiThreadedHttpConnectionManager.java:394) [INFO] [talledLocalContainer] at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:152) [INFO] [talledLocalContainer] at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396) [INFO] [talledLocalContainer] at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:324) [INFO] [talledLocalContainer] at com.atlassian.crowd.integration.rest.service.RestExecutor$MethodExecutor.executeCrowdServiceMethod(RestExecutor.java:415) [INFO] [talledLocalContainer] at com.atlassian.crowd.integration.rest.service.RestExecutor$MethodExecutor.andReceive(RestExecutor.java:304) [INFO] [talledLocalContainer] at com.atlassian.crowd.integration.rest.service.RestCrowdClient.searchGroupNames(RestCrowdClient.java:545) [INFO] [talledLocalContainer] at com.atlassian.crowd.integration.atlassianuser.UserGroupFetcher.fetch(UserGroupFetcher.java:38) [INFO] [talledLocalContainer] at com.atlassian.crowd.integration.atlassianuser.UserGroupCache.fetchAndSetSnapshot(UserGroupCache.java:85) [INFO] [talledLocalContainer] at com.atlassian.crowd.integration.atlassianuser.UserGroupCache.get(UserGroupCache.java:131) [INFO] [talledLocalContainer] at com.atlassian.crowd.integration.atlassianuser.CrowdUserManager.getUser(CrowdUserManager.java:26) [INFO] [talledLocalContainer] at com.atlassian.user.impl.delegation.DelegatingListUserManager.getUser(DelegatingListUserManager.java:71) [INFO] [talledLocalContainer] ... 139 more {code}

    Atlassian JIRA | 5 years ago | Federico Silva Armas [Atlassian]
    java.lang.reflect.UndeclaredThrowableException
  6. 0

    There are cases where an action that occurred after the sync worker has started, invalidates the results (for example, user has changed to a local user repository, a flush action has been invoked). In this cases, any errors that the worker might produce should be caught and just logged as warning messages. Some of the errors that I have seen: 1. {code} [INFO] [talledLocalContainer] 2011-07-12 11:32:16,152 ERROR [QuartzScheduler_Worker-3] [ErrorLogger] Job (BambooUserRefresh.BambooUserRefresh threw an exception. [INFO] [talledLocalContainer] org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: javax.xml.bind.DataBindingException: javax.xml.bind.UnmarshalException [INFO] [talledLocalContainer] - with linked exception: [INFO] [talledLocalContainer] [java.io.IOException: Stream closed]] [INFO] [talledLocalContainer] at org.quartz.core.JobRunShell.run(JobRunShell.java:213) [INFO] [talledLocalContainer] at com.atlassian.bamboo.quartz.SystemAuthorizedThreadPool$1.run(SystemAuthorizedThreadPool.java:38) [INFO] [talledLocalContainer] at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:525) [INFO] [talledLocalContainer] Caused by: javax.xml.bind.DataBindingException: javax.xml.bind.UnmarshalException [INFO] [talledLocalContainer] - with linked exception: [INFO] [talledLocalContainer] [java.io.IOException: Stream closed] [INFO] [talledLocalContainer] at javax.xml.bind.JAXB.unmarshal(JAXB.java:201) [INFO] [talledLocalContainer] at com.atlassian.crowd.integration.rest.service.RestExecutor$MethodExecutor.andReceive(RestExecutor.java:312) [INFO] [talledLocalContainer] at com.atlassian.crowd.integration.rest.service.RestCrowdClient.getNamesOfUsersOfGroup(RestCrowdClient.java:576) [INFO] [talledLocalContainer] at com.atlassian.crowd.integration.atlassianuser.UserGroupFetcher.fetch(UserGroupFetcher.java:62) [INFO] [talledLocalContainer] at com.atlassian.crowd.integration.atlassianuser.UserGroupCache.fetchAndSetSnapshot(UserGroupCache.java:85) [INFO] [talledLocalContainer] at com.atlassian.crowd.integration.atlassianuser.UserGroupCache.refreshCache(UserGroupCache.java:411) [INFO] [talledLocalContainer] at com.atlassian.crowd.integration.atlassianuser.UserGroupCache.refreshCacheIfNecessary(UserGroupCache.java:432) [INFO] [talledLocalContainer] at com.atlassian.crowd.integration.atlassianuser.CrowdClientControl.refreshCacheIfNecessary(CrowdClientControl.java:89) [INFO] [talledLocalContainer] at com.atlassian.bamboo.user.BambooUserRefreshJobScheduler$BambooUserRefreshJob.execute(BambooUserRefreshJobScheduler.java:73) [INFO] [talledLocalContainer] at org.quartz.core.JobRunShell.run(JobRunShell.java:202) [INFO] [talledLocalContainer] ... 2 more [INFO] [talledLocalContainer] Caused by: javax.xml.bind.UnmarshalException [INFO] [talledLocalContainer] - with linked exception: [INFO] [talledLocalContainer] [java.io.IOException: Stream closed] [INFO] [talledLocalContainer] at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:213) [INFO] [talledLocalContainer] at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:190) [INFO] [talledLocalContainer] at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:241) [INFO] [talledLocalContainer] at javax.xml.bind.JAXB.unmarshal(JAXB.java:198) [INFO] [talledLocalContainer] ... 11 more [INFO] [talledLocalContainer] Caused by: java.io.IOException: Stream closed [INFO] [talledLocalContainer] at java.io.BufferedInputStream.getBufIfOpen(BufferedInputStream.java:145) [INFO] [talledLocalContainer] at java.io.BufferedInputStream.read(BufferedInputStream.java:241) [INFO] [talledLocalContainer] at org.apache.commons.httpclient.ContentLengthInputStream.read(ContentLengthInputStream.java:142) [INFO] [talledLocalContainer] at java.io.FilterInputStream.read(FilterInputStream.java:66) [INFO] [talledLocalContainer] at org.apache.commons.httpclient.AutoCloseInputStream.read(AutoCloseInputStream.java:87) [INFO] [talledLocalContainer] at org.apache.xerces.impl.XMLEntityManager$RewindableInputStream.read(Unknown Source) [INFO] [talledLocalContainer] at org.apache.xerces.impl.XMLEntityManager$RewindableInputStream.read(Unknown Source) [INFO] [talledLocalContainer] at org.apache.xerces.impl.io.UTF8Reader.read(Unknown Source) [INFO] [talledLocalContainer] at org.apache.xerces.impl.XMLEntityScanner.load(Unknown Source) [INFO] [talledLocalContainer] at org.apache.xerces.impl.XMLEntityScanner.skipDeclSpaces(Unknown Source) [INFO] [talledLocalContainer] at org.apache.xerces.impl.XMLScanner.scanXMLDeclOrTextDecl(Unknown Source) [INFO] [talledLocalContainer] at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanXMLDeclOrTextDecl(Unknown Source) [INFO] [talledLocalContainer] at org.apache.xerces.impl.XMLDocumentScannerImpl$XMLDeclDispatcher.dispatch(Unknown Source) [INFO] [talledLocalContainer] at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) [INFO] [talledLocalContainer] at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) [INFO] [talledLocalContainer] at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) [INFO] [talledLocalContainer] at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) [INFO] [talledLocalContainer] at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) [INFO] [talledLocalContainer] at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) [INFO] [talledLocalContainer] at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:211) [INFO] [talledLocalContainer] ... 14 more {code} 2. {code} [INFO] [talledLocalContainer] 2011-07-12 11:28:56,430 WARN [http-9099-14] [DefaultAuthenticator] getUserFromSession : Exception when retrieving user from session: java.lang.reflect.UndeclaredThrowableException [INFO] [talledLocalContainer] java.lang.reflect.UndeclaredThrowableException [INFO] [talledLocalContainer] at $Proxy16.getUser(Unknown Source) [INFO] [talledLocalContainer] at bucket.user.DefaultUserAccessor.getUser(DefaultUserAccessor.java:147) [INFO] [talledLocalContainer] at com.atlassian.bamboo.user.BambooUserManagerImpl.getUser(BambooUserManagerImpl.java:103) [INFO] [talledLocalContainer] at sun.reflect.GeneratedMethodAccessor131.invoke(Unknown Source) [INFO] [talledLocalContainer] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [INFO] [talledLocalContainer] at java.lang.reflect.Method.invoke(Method.java:597) [INFO] [talledLocalContainer] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304) [INFO] [talledLocalContainer] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) [INFO] [talledLocalContainer] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) [INFO] [talledLocalContainer] at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) [INFO] [talledLocalContainer] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [INFO] [talledLocalContainer] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [INFO] [talledLocalContainer] at $Proxy25.getUser(Unknown Source) [INFO] [talledLocalContainer] at com.atlassian.bamboo.user.authentication.BambooAuthenticator.getUser(BambooAuthenticator.java:48) [INFO] [talledLocalContainer] at com.atlassian.seraph.auth.DefaultAuthenticator.refreshPrincipalObtainedFromSession(DefaultAuthenticator.java:365) [INFO] [talledLocalContainer] at com.atlassian.seraph.auth.DefaultAuthenticator.getUserFromSession(DefaultAuthenticator.java:404) [INFO] [talledLocalContainer] at com.atlassian.seraph.auth.DefaultAuthenticator.getUser(DefaultAuthenticator.java:318) [INFO] [talledLocalContainer] at com.atlassian.seraph.auth.AbstractAuthenticator.getUser(AbstractAuthenticator.java:45) [INFO] [talledLocalContainer] at com.atlassian.bamboo.ww2.FreemarkerContext.getUser(FreemarkerContext.java:110) [INFO] [talledLocalContainer] at com.atlassian.bamboo.ww2.FreemarkerContext.getWebFragmentsContextMapForAdminMenu(FreemarkerContext.java:303) [INFO] [talledLocalContainer] at com.atlassian.bamboo.ww2.FreemarkerContext.getWebItemsForAdminSection(FreemarkerContext.java:188) [INFO] [talledLocalContainer] at sun.reflect.GeneratedMethodAccessor144.invoke(Unknown Source) [INFO] [talledLocalContainer] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [INFO] [talledLocalContainer] at java.lang.reflect.Method.invoke(Method.java:597) [INFO] [talledLocalContainer] at freemarker.ext.beans.BeansWrapper.invokeMethod(BeansWrapper.java:809) [INFO] [talledLocalContainer] at freemarker.ext.beans.SimpleMethodModel.exec(SimpleMethodModel.java:106) [INFO] [talledLocalContainer] at freemarker.core.MethodCall._getAsTemplateModel(MethodCall.java:93) [INFO] [talledLocalContainer] at freemarker.core.Expression.getAsTemplateModel(Expression.java:89) [INFO] [talledLocalContainer] at freemarker.core.Assignment.accept(Assignment.java:90) [INFO] [talledLocalContainer] at freemarker.core.Environment.visit(Environment.java:210) [INFO] [talledLocalContainer] at freemarker.core.MixedContent.accept(MixedContent.java:92) [INFO] [talledLocalContainer] at freemarker.core.Environment.visit(Environment.java:210) [INFO] [talledLocalContainer] at freemarker.core.IteratorBlock$Context.runLoop(IteratorBlock.java:167) [INFO] [talledLocalContainer] at freemarker.core.Environment.visit(Environment.java:417) [INFO] [talledLocalContainer] at freemarker.core.IteratorBlock.accept(IteratorBlock.java:102) [INFO] [talledLocalContainer] at freemarker.core.Environment.visit(Environment.java:210) [INFO] [talledLocalContainer] at freemarker.core.MixedContent.accept(MixedContent.java:92) [INFO] [talledLocalContainer] at freemarker.core.Environment.visit(Environment.java:210) [INFO] [talledLocalContainer] at freemarker.core.ConditionalBlock.accept(ConditionalBlock.java:79) [INFO] [talledLocalContainer] at freemarker.core.Environment.visit(Environment.java:210) [INFO] [talledLocalContainer] at freemarker.core.MixedContent.accept(MixedContent.java:92) [INFO] [talledLocalContainer] at freemarker.core.Environment.visit(Environment.java:210) [INFO] [talledLocalContainer] at freemarker.core.Environment.include(Environment.java:1483) [INFO] [talledLocalContainer] at freemarker.core.Include.accept(Include.java:169) [INFO] [talledLocalContainer] at freemarker.core.Environment.visit(Environment.java:210) [INFO] [talledLocalContainer] at freemarker.core.MixedContent.accept(MixedContent.java:92) [INFO] [talledLocalContainer] at freemarker.core.Environment.visit(Environment.java:210) [INFO] [talledLocalContainer] at freemarker.core.Environment.process(Environment.java:190) [INFO] [talledLocalContainer] at freemarker.template.Template.process(Template.java:289) [INFO] [talledLocalContainer] at freemarker.template.Template.process(Template.java:243) [INFO] [talledLocalContainer] at com.atlassian.bamboo.ww2.FreemarkerRequestDispatcherPageFilter.applyDecorator(FreemarkerRequestDispatcherPageFilter.java:68) [INFO] [talledLocalContainer] at com.opensymphony.webwork.sitemesh.TemplatePageFilter.applyDecorator(TemplatePageFilter.java:86) [INFO] [talledLocalContainer] at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:59) [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [INFO] [talledLocalContainer] at com.opensymphony.webwork.dispatcher.ActionContextCleanUp.doFilter(ActionContextCleanUp.java:88) [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [INFO] [talledLocalContainer] at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46) [INFO] [talledLocalContainer] at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:77) [INFO] [talledLocalContainer] at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:63) [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [INFO] [talledLocalContainer] at com.atlassian.bamboo.filter.AccessLogFilter.doFilter(AccessLogFilter.java:66) [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [INFO] [talledLocalContainer] at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:265) [INFO] [talledLocalContainer] at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125) [INFO] [talledLocalContainer] at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) [INFO] [talledLocalContainer] at com.atlassian.bamboo.filter.SeraphLoginFilter.doFilter(SeraphLoginFilter.java:74) [INFO] [talledLocalContainer] at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) [INFO] [talledLocalContainer] at org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:149) [INFO] [talledLocalContainer] at org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98) [INFO] [talledLocalContainer] at com.atlassian.bamboo.filter.BambooAcegiProxyFilter.doFilter(BambooAcegiProxyFilter.java:25) [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [INFO] [talledLocalContainer] at com.atlassian.bamboo.filter.LicenseFilter.doFilter(LicenseFilter.java:73) [INFO] [talledLocalContainer] at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31) [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [INFO] [talledLocalContainer] at com.atlassian.johnson.filters.AbstractJohnsonFilter.doFilter(AbstractJohnsonFilter.java:71) [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [INFO] [talledLocalContainer] at com.atlassian.seraph.filter.SecurityFilter.doFilter(SecurityFilter.java:211) [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [INFO] [talledLocalContainer] at com.atlassian.seraph.filter.BaseLoginFilter.doFilter(BaseLoginFilter.java:150) [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [INFO] [talledLocalContainer] at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46) [INFO] [talledLocalContainer] at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:66) [INFO] [talledLocalContainer] at com.atlassian.oauth.serviceprovider.internal.servlet.OAuthFilter.doFilter(OAuthFilter.java:71) [INFO] [talledLocalContainer] at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:74) [INFO] [talledLocalContainer] at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:42) [INFO] [talledLocalContainer] at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:66) [INFO] [talledLocalContainer] at com.atlassian.security.auth.trustedapps.filter.TrustedApplicationsFilter.doFilter(TrustedApplicationsFilter.java:98) [INFO] [talledLocalContainer] at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:74) [INFO] [talledLocalContainer] at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:42) [INFO] [talledLocalContainer] at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:77) [INFO] [talledLocalContainer] at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:63) [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [INFO] [talledLocalContainer] at org.springframework.orm.hibernate.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:170) [INFO] [talledLocalContainer] at com.atlassian.bamboo.persistence.BambooSessionInViewFilter.doFilterInternal(BambooSessionInViewFilter.java:31) [INFO] [talledLocalContainer] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75) [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [INFO] [talledLocalContainer] at com.planetj.servlet.filter.compression.CompressingFilter.handleDoFilter(CompressingFilter.java:203) [INFO] [talledLocalContainer] at com.planetj.servlet.filter.compression.CompressingFilter.doFilter(CompressingFilter.java:193) [INFO] [talledLocalContainer] at com.atlassian.bamboo.filter.CompressingFilter.doFilter(CompressingFilter.java:71) [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [INFO] [talledLocalContainer] at com.atlassian.bamboo.filter.RequestCacheThreadLocalFilter.doFilter(RequestCacheThreadLocalFilter.java:31) [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [INFO] [talledLocalContainer] at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46) [INFO] [talledLocalContainer] at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:77) [INFO] [talledLocalContainer] at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:63) [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [INFO] [talledLocalContainer] at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:96) [INFO] [talledLocalContainer] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75) [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [INFO] [talledLocalContainer] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [INFO] [talledLocalContainer] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) [INFO] [talledLocalContainer] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) [INFO] [talledLocalContainer] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) [INFO] [talledLocalContainer] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [INFO] [talledLocalContainer] at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:567) [INFO] [talledLocalContainer] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [INFO] [talledLocalContainer] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293) [INFO] [talledLocalContainer] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849) [INFO] [talledLocalContainer] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) [INFO] [talledLocalContainer] at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454) [INFO] [talledLocalContainer] at java.lang.Thread.run(Thread.java:662) [INFO] [talledLocalContainer] Caused by: java.lang.reflect.InvocationTargetException [INFO] [talledLocalContainer] at sun.reflect.GeneratedMethodAccessor130.invoke(Unknown Source) [INFO] [talledLocalContainer] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [INFO] [talledLocalContainer] at java.lang.reflect.Method.invoke(Method.java:597) [INFO] [talledLocalContainer] at com.atlassian.crowd.integration.atlassianuser.DynamicDelegationAccessor$DelegatingInvocationHandler.invoke(DynamicDelegationAccessor.java:112) [INFO] [talledLocalContainer] ... 135 more [INFO] [talledLocalContainer] Caused by: java.lang.IllegalStateException: Connection factory has been shutdown. [INFO] [talledLocalContainer] at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager.doGetConnection(MultiThreadedHttpConnectionManager.java:456) [INFO] [talledLocalContainer] at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager.getConnectionWithTimeout(MultiThreadedHttpConnectionManager.java:394) [INFO] [talledLocalContainer] at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:152) [INFO] [talledLocalContainer] at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396) [INFO] [talledLocalContainer] at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:324) [INFO] [talledLocalContainer] at com.atlassian.crowd.integration.rest.service.RestExecutor$MethodExecutor.executeCrowdServiceMethod(RestExecutor.java:415) [INFO] [talledLocalContainer] at com.atlassian.crowd.integration.rest.service.RestExecutor$MethodExecutor.andReceive(RestExecutor.java:304) [INFO] [talledLocalContainer] at com.atlassian.crowd.integration.rest.service.RestCrowdClient.searchGroupNames(RestCrowdClient.java:545) [INFO] [talledLocalContainer] at com.atlassian.crowd.integration.atlassianuser.UserGroupFetcher.fetch(UserGroupFetcher.java:38) [INFO] [talledLocalContainer] at com.atlassian.crowd.integration.atlassianuser.UserGroupCache.fetchAndSetSnapshot(UserGroupCache.java:85) [INFO] [talledLocalContainer] at com.atlassian.crowd.integration.atlassianuser.UserGroupCache.get(UserGroupCache.java:131) [INFO] [talledLocalContainer] at com.atlassian.crowd.integration.atlassianuser.CrowdUserManager.getUser(CrowdUserManager.java:26) [INFO] [talledLocalContainer] at com.atlassian.user.impl.delegation.DelegatingListUserManager.getUser(DelegatingListUserManager.java:71) [INFO] [talledLocalContainer] ... 139 more {code}

    Atlassian JIRA | 5 years ago | Federico Silva Armas [Atlassian]
    java.lang.reflect.UndeclaredThrowableException

    5 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. java.lang.IllegalStateException

      Connection factory has been shutdown.

      at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager.doGetConnection()
    2. HttpClient
      HttpClient.executeMethod
      1. org.apache.commons.httpclient.MultiThreadedHttpConnectionManager.doGetConnection(MultiThreadedHttpConnectionManager.java:456)
      2. org.apache.commons.httpclient.MultiThreadedHttpConnectionManager.getConnectionWithTimeout(MultiThreadedHttpConnectionManager.java:394)
      3. org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:152)
      4. org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396)
      5. org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:324)
      5 frames
    3. com.atlassian.crowd
      CrowdAuthenticator.getUser
      1. com.atlassian.crowd.integration.rest.service.RestExecutor$MethodExecutor.executeCrowdServiceMethod(RestExecutor.java:452)
      2. com.atlassian.crowd.integration.rest.service.RestExecutor$MethodExecutor.andReceive(RestExecutor.java:341)
      3. com.atlassian.crowd.integration.rest.service.RestCrowdClient.getCookieConfiguration(RestCrowdClient.java:1033)
      4. com.atlassian.crowd.integration.http.CrowdHttpAuthenticatorImpl.getCookieTokenKey(CrowdHttpAuthenticatorImpl.java:219)
      5. com.atlassian.crowd.integration.http.CrowdHttpAuthenticatorImpl.getToken(CrowdHttpAuthenticatorImpl.java:200)
      6. com.atlassian.crowd.integration.http.CacheAwareCrowdHttpAuthenticator.getToken(CacheAwareCrowdHttpAuthenticator.java:83)
      7. com.atlassian.crowd.integration.seraph.v25.CrowdAuthenticator.getUser(CrowdAuthenticator.java:345)
      7 frames
    4. com.atlassian.seraph
      SecurityFilter.doFilter
      1. com.atlassian.seraph.filter.SecurityFilter.doFilter(SecurityFilter.java:138)
      1 frame