com.atlassian.stash.internal.event.EventThreadPoolExecutor$StackException: Stack trace for AtlassianEvent::thread-95

Atlassian JIRA | Thiago Bomfim [Atlassian] | 2 years ago
  1. 0

    The way Analytics is designed fills up Stash queue. This needs to be fixed. Relevant logs: {noformat} 2015-02-26 19:20:06,811 WARN [threadpool:thread-8486632] <username> @1JIVNJEx1160x27169152x322 3pjst3 <IP> SSH - git-upload-pack '/cmp/mercury-mp.git' c.a.s.i.e.EventThreadPoolExecutor Stack trace for AtlassianEvent::thread-95 com.atlassian.stash.internal.event.EventThreadPoolExecutor$StackException: Stack trace for AtlassianEvent::thread-95 at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1178) ~[catalina.jar:8.0.14] at org.springframework.util.ClassUtils.isVisible(ClassUtils.java:1199) ~[ClassUtils.class:4.0.6.RELEASE] at org.springframework.util.ClassUtils.getAllInterfacesForClassAsSet(ClassUtils.java:1126) ~[ClassUtils.class:4.0.6.RELEASE] at org.springframework.util.ClassUtils.getAllInterfacesForClassAsSet(ClassUtils.java:1133) ~[ClassUtils.class:4.0.6.RELEASE] at org.springframework.util.ClassUtils.getAllInterfacesForClass(ClassUtils.java:1089) ~[ClassUtils.class:4.0.6.RELEASE] at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:991) ~[AbstractApplicationContext.class:4.0.6.RELEASE] at com.atlassian.stash.internal.plugin.StashPluginSettingsFactoryImpl.createSettingsForKey(StashPluginSettingsFactoryImpl.java:39) ~[StashPluginSettingsFactoryImpl.class:na] at com.atlassian.stash.internal.plugin.StashPluginSettingsFactoryImpl.createGlobalSettings(StashPluginSettingsFactoryImpl.java:31) ~[StashPluginSettingsFactoryImpl.class:na] at com.atlassian.analytics.client.configuration.AnalyticsConfig.getSetting(AnalyticsConfig.java:135) ~[na:na] at com.atlassian.analytics.client.configuration.AnalyticsConfig.isAnalyticsEnabled(AnalyticsConfig.java:85) ~[na:na] at com.atlassian.analytics.client.configuration.AnalyticsConfig.canCollectAnalytics(AnalyticsConfig.java:146) ~[na:na] at com.atlassian.analytics.client.EventPreprocessor.canCollect(EventPreprocessor.java:36) ~[na:na] at com.atlassian.analytics.client.listener.ProductEventListener.processEventWithTiming(ProductEventListener.java:81) ~[na:na] at com.atlassian.analytics.client.listener.ProductEventListener.processEvent(ProductEventListener.java:69) ~[na:na] at com.atlassian.analytics.client.listener.ProductEventListener.processEvent(ProductEventListener.java:61) ~[na:na] at com.atlassian.analytics.client.listener.StashEventListener.onEvent(StashEventListener.java:60) ~[na:na] at com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:36) ~[SingleParameterMethodListenerInvoker.class:na] at com.atlassian.stash.internal.event.AsyncBatchingInvokersTransformer$AsyncInvokerBatch.invoke(AsyncBatchingInvokersTransformer.java:100) ~[AsyncBatchingInvokersTransformer$AsyncInvokerBatch.class:na] at com.atlassian.event.internal.AsynchronousAbleEventDispatcher$1$1.run(AsynchronousAbleEventDispatcher.java:48) ~[AsynchronousAbleEventDispatcher$1$1.class:na] at com.atlassian.sal.core.executor.ThreadLocalDelegateRunnable.run(ThreadLocalDelegateRunnable.java:38) ~[ThreadLocalDelegateRunnable.class:na] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_55] at java.lang.Thread.run(Thread.java:745) [na:1.7.0_55] ... 40 frames trimmed {noformat}

    Atlassian JIRA | 2 years ago | Thiago Bomfim [Atlassian]
    com.atlassian.stash.internal.event.EventThreadPoolExecutor$StackException: Stack trace for AtlassianEvent::thread-95
  2. 0

    The way Analytics is designed fills up Stash queue. This needs to be fixed. Relevant logs: {noformat} 2015-02-26 19:20:06,811 WARN [threadpool:thread-8486632] <username> @1JIVNJEx1160x27169152x322 3pjst3 <IP> SSH - git-upload-pack '/cmp/mercury-mp.git' c.a.s.i.e.EventThreadPoolExecutor Stack trace for AtlassianEvent::thread-95 com.atlassian.stash.internal.event.EventThreadPoolExecutor$StackException: Stack trace for AtlassianEvent::thread-95 at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1178) ~[catalina.jar:8.0.14] at org.springframework.util.ClassUtils.isVisible(ClassUtils.java:1199) ~[ClassUtils.class:4.0.6.RELEASE] at org.springframework.util.ClassUtils.getAllInterfacesForClassAsSet(ClassUtils.java:1126) ~[ClassUtils.class:4.0.6.RELEASE] at org.springframework.util.ClassUtils.getAllInterfacesForClassAsSet(ClassUtils.java:1133) ~[ClassUtils.class:4.0.6.RELEASE] at org.springframework.util.ClassUtils.getAllInterfacesForClass(ClassUtils.java:1089) ~[ClassUtils.class:4.0.6.RELEASE] at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:991) ~[AbstractApplicationContext.class:4.0.6.RELEASE] at com.atlassian.stash.internal.plugin.StashPluginSettingsFactoryImpl.createSettingsForKey(StashPluginSettingsFactoryImpl.java:39) ~[StashPluginSettingsFactoryImpl.class:na] at com.atlassian.stash.internal.plugin.StashPluginSettingsFactoryImpl.createGlobalSettings(StashPluginSettingsFactoryImpl.java:31) ~[StashPluginSettingsFactoryImpl.class:na] at com.atlassian.analytics.client.configuration.AnalyticsConfig.getSetting(AnalyticsConfig.java:135) ~[na:na] at com.atlassian.analytics.client.configuration.AnalyticsConfig.isAnalyticsEnabled(AnalyticsConfig.java:85) ~[na:na] at com.atlassian.analytics.client.configuration.AnalyticsConfig.canCollectAnalytics(AnalyticsConfig.java:146) ~[na:na] at com.atlassian.analytics.client.EventPreprocessor.canCollect(EventPreprocessor.java:36) ~[na:na] at com.atlassian.analytics.client.listener.ProductEventListener.processEventWithTiming(ProductEventListener.java:81) ~[na:na] at com.atlassian.analytics.client.listener.ProductEventListener.processEvent(ProductEventListener.java:69) ~[na:na] at com.atlassian.analytics.client.listener.ProductEventListener.processEvent(ProductEventListener.java:61) ~[na:na] at com.atlassian.analytics.client.listener.StashEventListener.onEvent(StashEventListener.java:60) ~[na:na] at com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:36) ~[SingleParameterMethodListenerInvoker.class:na] at com.atlassian.stash.internal.event.AsyncBatchingInvokersTransformer$AsyncInvokerBatch.invoke(AsyncBatchingInvokersTransformer.java:100) ~[AsyncBatchingInvokersTransformer$AsyncInvokerBatch.class:na] at com.atlassian.event.internal.AsynchronousAbleEventDispatcher$1$1.run(AsynchronousAbleEventDispatcher.java:48) ~[AsynchronousAbleEventDispatcher$1$1.class:na] at com.atlassian.sal.core.executor.ThreadLocalDelegateRunnable.run(ThreadLocalDelegateRunnable.java:38) ~[ThreadLocalDelegateRunnable.class:na] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_55] at java.lang.Thread.run(Thread.java:745) [na:1.7.0_55] ... 40 frames trimmed {noformat}

    Atlassian JIRA | 2 years ago | Thiago Bomfim [Atlassian]
    com.atlassian.stash.internal.event.EventThreadPoolExecutor$StackException: Stack trace for AtlassianEvent::thread-95

    Root Cause Analysis

    1. com.atlassian.stash.internal.event.EventThreadPoolExecutor$StackException

      Stack trace for AtlassianEvent::thread-95

      at org.apache.catalina.loader.WebappClassLoaderBase.loadClass()
    2. Glassfish Core
      WebappClassLoaderBase.loadClass
      1. org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1178)[catalina.jar:8.0.14]
      1 frame
    3. Spring Core
      ClassUtils.getAllInterfacesForClass
      1. org.springframework.util.ClassUtils.isVisible(ClassUtils.java:1199)[ClassUtils.class:4.0.6.RELEASE]
      2. org.springframework.util.ClassUtils.getAllInterfacesForClassAsSet(ClassUtils.java:1126)[ClassUtils.class:4.0.6.RELEASE]
      3. org.springframework.util.ClassUtils.getAllInterfacesForClassAsSet(ClassUtils.java:1133)[ClassUtils.class:4.0.6.RELEASE]
      4. org.springframework.util.ClassUtils.getAllInterfacesForClass(ClassUtils.java:1089)[ClassUtils.class:4.0.6.RELEASE]
      4 frames
    4. Spring Context
      AbstractApplicationContext.getBean
      1. org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:991)[AbstractApplicationContext.class:4.0.6.RELEASE]
      1 frame
    5. com.atlassian.stash
      StashPluginSettingsFactoryImpl.createGlobalSettings
      1. com.atlassian.stash.internal.plugin.StashPluginSettingsFactoryImpl.createSettingsForKey(StashPluginSettingsFactoryImpl.java:39)[StashPluginSettingsFactoryImpl.class:na]
      2. com.atlassian.stash.internal.plugin.StashPluginSettingsFactoryImpl.createGlobalSettings(StashPluginSettingsFactoryImpl.java:31)[StashPluginSettingsFactoryImpl.class:na]
      2 frames
    6. com.atlassian.analytics
      StashEventListener.onEvent
      1. com.atlassian.analytics.client.configuration.AnalyticsConfig.getSetting(AnalyticsConfig.java:135)[na:na]
      2. com.atlassian.analytics.client.configuration.AnalyticsConfig.isAnalyticsEnabled(AnalyticsConfig.java:85)[na:na]
      3. com.atlassian.analytics.client.configuration.AnalyticsConfig.canCollectAnalytics(AnalyticsConfig.java:146)[na:na]
      4. com.atlassian.analytics.client.EventPreprocessor.canCollect(EventPreprocessor.java:36)[na:na]
      5. com.atlassian.analytics.client.listener.ProductEventListener.processEventWithTiming(ProductEventListener.java:81)[na:na]
      6. com.atlassian.analytics.client.listener.ProductEventListener.processEvent(ProductEventListener.java:69)[na:na]
      7. com.atlassian.analytics.client.listener.ProductEventListener.processEvent(ProductEventListener.java:61)[na:na]
      8. com.atlassian.analytics.client.listener.StashEventListener.onEvent(StashEventListener.java:60)[na:na]
      8 frames
    7. com.atlassian.event
      SingleParameterMethodListenerInvoker.invoke
      1. com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:36)[SingleParameterMethodListenerInvoker.class:na]
      1 frame
    8. com.atlassian.stash
      AsyncBatchingInvokersTransformer$AsyncInvokerBatch.invoke
      1. com.atlassian.stash.internal.event.AsyncBatchingInvokersTransformer$AsyncInvokerBatch.invoke(AsyncBatchingInvokersTransformer.java:100)[AsyncBatchingInvokersTransformer$AsyncInvokerBatch.class:na]
      1 frame
    9. com.atlassian.event
      AsynchronousAbleEventDispatcher$1$1.run
      1. com.atlassian.event.internal.AsynchronousAbleEventDispatcher$1$1.run(AsynchronousAbleEventDispatcher.java:48)[AsynchronousAbleEventDispatcher$1$1.class:na]
      1 frame
    10. com.atlassian.sal
      ThreadLocalDelegateRunnable.run
      1. com.atlassian.sal.core.executor.ThreadLocalDelegateRunnable.run(ThreadLocalDelegateRunnable.java:38)[ThreadLocalDelegateRunnable.class:na]
      1 frame
    11. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[na:1.7.0_55]
      2. java.lang.Thread.run(Thread.java:745)[na:1.7.0_55]
      2 frames