java.lang.StackOverflowError

Atlassian JIRA | Michael Fogus | 9 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    The createrssfeed action seems to intermittently get into a state whereby it gets into an endless loop of exception throwing. The most recent stack trace can be seen below: This exception will loop until the server is brought to its knees (which does not take very long). -m 2008-03-05 13:49:32,325 ERROR [TP-Processor24] [renderer.v2.components.MacroRendererComponent] processMacro Unexpected error formatting macro: live-template -- url: /createrssfeed.action | userName: REMOVED | action: createrssfeed java.lang.StackOverflowError at com.mysql.jdbc.StringUtils.startsWithIgnoreCase(StringUtils.java:1094) at com.mysql.jdbc.StringUtils.startsWithIgnoreCaseAndNonAlphaNumeric(StringUtils.java:1143) at com.mysql.jdbc.Connection.canHandleAsServerPreparedStatement(Connection.java:1684) at com.mysql.jdbc.Connection.prepareStatement(Connection.java:4319) at com.mysql.jdbc.Connection.prepareStatement(Connection.java:4272) at com.mchange.v2.c3p0.impl.NewProxyConnection.prepareStatement(NewProxyConnection.java:190) at net.sf.hibernate.impl.BatcherImpl.getPreparedStatement(BatcherImpl.java:263) at net.sf.hibernate.impl.BatcherImpl.getPreparedStatement(BatcherImpl.java:236) at net.sf.hibernate.impl.BatcherImpl.prepareQueryStatement(BatcherImpl.java:67) at net.sf.hibernate.loader.Loader.prepareQueryStatement(Loader.java:784) at net.sf.hibernate.loader.Loader.doQuery(Loader.java:269) at net.sf.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:138) at net.sf.hibernate.loader.Loader.doList(Loader.java:1063) at net.sf.hibernate.loader.Loader.list(Loader.java:1054) at net.sf.hibernate.hql.QueryTranslator.list(QueryTranslator.java:854) at net.sf.hibernate.impl.SessionImpl.find(SessionImpl.java:1554) at net.sf.hibernate.impl.QueryImpl.list(QueryImpl.java:49) at com.atlassian.hibernate.HibernateObjectDao$5.doInHibernate(HibernateObjectDao.java:351) at org.springframework.orm.hibernate.HibernateTemplate.execute(HibernateTemplate.java:312) at org.springframework.orm.hibernate.HibernateTemplate.executeFind(HibernateTemplate.java:293) at com.atlassian.hibernate.HibernateObjectDao.findNamedQueryStringParams(HibernateObjectDao.java:329) at com.atlassian.hibernate.HibernateObjectDao.findNamedQueryStringParams(HibernateObjectDao.java:314) at com.atlassian.hibernate.HibernateObjectDao.findNamedQueryStringParams(HibernateObjectDao.java:294) at com.atlassian.hibernate.HibernateObjectDao.findNamedQueryStringParams(HibernateObjectDao.java:289) at com.atlassian.confluence.pages.templates.persistence.dao.hibernate.HibernatePageTemplateDao.findPageTemplateByNameAndSpace(HibernatePageTemplateDao.java:43) at com.atlassian.confluence.pages.templates.DefaultPageTemplateManager.getPageTemplate(DefaultPageTemplateManager.java:96) at sun.reflect.GeneratedMethodAccessor762.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:284) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:155) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:122) at com.atlassian.spring.interceptors.SpringProfilingInterceptor.invoke(SpringProfilingInterceptor.java:20) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:56) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:174) at $Proxy30.getPageTemplate(Unknown Source) at org.randombits.confluence.support.ContextAssistant.getPageTemplate(ContextAssistant.java:96) at net.customware.confluence.plugin.scaffolding.LiveTemplateMacro.execute(LiveTemplateMacro.java:73) at org.randombits.confluence.support.ConfluenceMacro.execute(ConfluenceMacro.java:54) at com.atlassian.renderer.v2.macro.ResourceAwareMacroDecorator.execute(ResourceAwareMacroDecorator.java:45) at com.atlassian.renderer.v2.components.MacroRendererComponent.processMacro(MacroRendererComponent.java:340) at com.atlassian.renderer.v2.components.MacroRendererComponent.makeMacro(MacroRendererComponent.java:241) at com.atlassian.renderer.v2.components.MacroRendererComponent.makeMacro(MacroRendererComponent.java:130) at com.atlassian.renderer.v2.components.MacroRendererComponent.handlePotentialMacro(MacroRendererComponent.java:115) at com.atlassian.renderer.v2.components.MacroRendererComponent.render(MacroRendererComponent.java:77) at com.atlassian.renderer.v2.V2Renderer.render(V2Renderer.java:54) at com.atlassian.renderer.v2.V2SubRenderer.render(V2SubRenderer.java:44)

    Atlassian JIRA | 9 years ago | Michael Fogus
    java.lang.StackOverflowError
  2. 0

    The createrssfeed action seems to intermittently get into a state whereby it gets into an endless loop of exception throwing. The most recent stack trace can be seen below: This exception will loop until the server is brought to its knees (which does not take very long). -m 2008-03-05 13:49:32,325 ERROR [TP-Processor24] [renderer.v2.components.MacroRendererComponent] processMacro Unexpected error formatting macro: live-template -- url: /createrssfeed.action | userName: REMOVED | action: createrssfeed java.lang.StackOverflowError at com.mysql.jdbc.StringUtils.startsWithIgnoreCase(StringUtils.java:1094) at com.mysql.jdbc.StringUtils.startsWithIgnoreCaseAndNonAlphaNumeric(StringUtils.java:1143) at com.mysql.jdbc.Connection.canHandleAsServerPreparedStatement(Connection.java:1684) at com.mysql.jdbc.Connection.prepareStatement(Connection.java:4319) at com.mysql.jdbc.Connection.prepareStatement(Connection.java:4272) at com.mchange.v2.c3p0.impl.NewProxyConnection.prepareStatement(NewProxyConnection.java:190) at net.sf.hibernate.impl.BatcherImpl.getPreparedStatement(BatcherImpl.java:263) at net.sf.hibernate.impl.BatcherImpl.getPreparedStatement(BatcherImpl.java:236) at net.sf.hibernate.impl.BatcherImpl.prepareQueryStatement(BatcherImpl.java:67) at net.sf.hibernate.loader.Loader.prepareQueryStatement(Loader.java:784) at net.sf.hibernate.loader.Loader.doQuery(Loader.java:269) at net.sf.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:138) at net.sf.hibernate.loader.Loader.doList(Loader.java:1063) at net.sf.hibernate.loader.Loader.list(Loader.java:1054) at net.sf.hibernate.hql.QueryTranslator.list(QueryTranslator.java:854) at net.sf.hibernate.impl.SessionImpl.find(SessionImpl.java:1554) at net.sf.hibernate.impl.QueryImpl.list(QueryImpl.java:49) at com.atlassian.hibernate.HibernateObjectDao$5.doInHibernate(HibernateObjectDao.java:351) at org.springframework.orm.hibernate.HibernateTemplate.execute(HibernateTemplate.java:312) at org.springframework.orm.hibernate.HibernateTemplate.executeFind(HibernateTemplate.java:293) at com.atlassian.hibernate.HibernateObjectDao.findNamedQueryStringParams(HibernateObjectDao.java:329) at com.atlassian.hibernate.HibernateObjectDao.findNamedQueryStringParams(HibernateObjectDao.java:314) at com.atlassian.hibernate.HibernateObjectDao.findNamedQueryStringParams(HibernateObjectDao.java:294) at com.atlassian.hibernate.HibernateObjectDao.findNamedQueryStringParams(HibernateObjectDao.java:289) at com.atlassian.confluence.pages.templates.persistence.dao.hibernate.HibernatePageTemplateDao.findPageTemplateByNameAndSpace(HibernatePageTemplateDao.java:43) at com.atlassian.confluence.pages.templates.DefaultPageTemplateManager.getPageTemplate(DefaultPageTemplateManager.java:96) at sun.reflect.GeneratedMethodAccessor762.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:284) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:155) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:122) at com.atlassian.spring.interceptors.SpringProfilingInterceptor.invoke(SpringProfilingInterceptor.java:20) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:56) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:174) at $Proxy30.getPageTemplate(Unknown Source) at org.randombits.confluence.support.ContextAssistant.getPageTemplate(ContextAssistant.java:96) at net.customware.confluence.plugin.scaffolding.LiveTemplateMacro.execute(LiveTemplateMacro.java:73) at org.randombits.confluence.support.ConfluenceMacro.execute(ConfluenceMacro.java:54) at com.atlassian.renderer.v2.macro.ResourceAwareMacroDecorator.execute(ResourceAwareMacroDecorator.java:45) at com.atlassian.renderer.v2.components.MacroRendererComponent.processMacro(MacroRendererComponent.java:340) at com.atlassian.renderer.v2.components.MacroRendererComponent.makeMacro(MacroRendererComponent.java:241) at com.atlassian.renderer.v2.components.MacroRendererComponent.makeMacro(MacroRendererComponent.java:130) at com.atlassian.renderer.v2.components.MacroRendererComponent.handlePotentialMacro(MacroRendererComponent.java:115) at com.atlassian.renderer.v2.components.MacroRendererComponent.render(MacroRendererComponent.java:77) at com.atlassian.renderer.v2.V2Renderer.render(V2Renderer.java:54) at com.atlassian.renderer.v2.V2SubRenderer.render(V2SubRenderer.java:44)

    Atlassian JIRA | 9 years ago | Michael Fogus
    java.lang.StackOverflowError

    Root Cause Analysis

    1. java.lang.StackOverflowError

      No message provided

      at com.mysql.jdbc.StringUtils.startsWithIgnoreCase()
    2. MySQL jdbc
      Connection.prepareStatement
      1. com.mysql.jdbc.StringUtils.startsWithIgnoreCase(StringUtils.java:1094)
      2. com.mysql.jdbc.StringUtils.startsWithIgnoreCaseAndNonAlphaNumeric(StringUtils.java:1143)
      3. com.mysql.jdbc.Connection.canHandleAsServerPreparedStatement(Connection.java:1684)
      4. com.mysql.jdbc.Connection.prepareStatement(Connection.java:4319)
      5. com.mysql.jdbc.Connection.prepareStatement(Connection.java:4272)
      5 frames
    3. c3p0:JDBC DataSources/Resource Pools
      NewProxyConnection.prepareStatement
      1. com.mchange.v2.c3p0.impl.NewProxyConnection.prepareStatement(NewProxyConnection.java:190)
      1 frame
    4. net.sf.hibernate
      QueryImpl.list
      1. net.sf.hibernate.impl.BatcherImpl.getPreparedStatement(BatcherImpl.java:263)
      2. net.sf.hibernate.impl.BatcherImpl.getPreparedStatement(BatcherImpl.java:236)
      3. net.sf.hibernate.impl.BatcherImpl.prepareQueryStatement(BatcherImpl.java:67)
      4. net.sf.hibernate.loader.Loader.prepareQueryStatement(Loader.java:784)
      5. net.sf.hibernate.loader.Loader.doQuery(Loader.java:269)
      6. net.sf.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:138)
      7. net.sf.hibernate.loader.Loader.doList(Loader.java:1063)
      8. net.sf.hibernate.loader.Loader.list(Loader.java:1054)
      9. net.sf.hibernate.hql.QueryTranslator.list(QueryTranslator.java:854)
      10. net.sf.hibernate.impl.SessionImpl.find(SessionImpl.java:1554)
      11. net.sf.hibernate.impl.QueryImpl.list(QueryImpl.java:49)
      11 frames
    5. com.atlassian.hibernate
      HibernateObjectDao$5.doInHibernate
      1. com.atlassian.hibernate.HibernateObjectDao$5.doInHibernate(HibernateObjectDao.java:351)
      1 frame
    6. Hibernate
      HibernateTemplate.executeFind
      1. org.springframework.orm.hibernate.HibernateTemplate.execute(HibernateTemplate.java:312)
      2. org.springframework.orm.hibernate.HibernateTemplate.executeFind(HibernateTemplate.java:293)
      2 frames
    7. com.atlassian.hibernate
      HibernateObjectDao.findNamedQueryStringParams
      1. com.atlassian.hibernate.HibernateObjectDao.findNamedQueryStringParams(HibernateObjectDao.java:329)
      2. com.atlassian.hibernate.HibernateObjectDao.findNamedQueryStringParams(HibernateObjectDao.java:314)
      3. com.atlassian.hibernate.HibernateObjectDao.findNamedQueryStringParams(HibernateObjectDao.java:294)
      4. com.atlassian.hibernate.HibernateObjectDao.findNamedQueryStringParams(HibernateObjectDao.java:289)
      4 frames
    8. com.atlassian.confluence
      DefaultPageTemplateManager.getPageTemplate
      1. com.atlassian.confluence.pages.templates.persistence.dao.hibernate.HibernatePageTemplateDao.findPageTemplateByNameAndSpace(HibernatePageTemplateDao.java:43)
      2. com.atlassian.confluence.pages.templates.DefaultPageTemplateManager.getPageTemplate(DefaultPageTemplateManager.java:96)
      2 frames
    9. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor762.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3. java.lang.reflect.Method.invoke(Method.java:585)
      3 frames
    10. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:284)
      2. org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:155)
      3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:122)
      3 frames
    11. com.atlassian.spring
      SpringProfilingInterceptor.invoke
      1. com.atlassian.spring.interceptors.SpringProfilingInterceptor.invoke(SpringProfilingInterceptor.java:20)
      1 frame
    12. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
      1 frame
    13. Spring Tx
      TransactionInterceptor.invoke
      1. org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:56)
      1 frame
    14. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
      2. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:174)
      2 frames
    15. Unknown
      $Proxy30.getPageTemplate
      1. $Proxy30.getPageTemplate(Unknown Source)
      1 frame
    16. org.randombits.confluence
      ContextAssistant.getPageTemplate
      1. org.randombits.confluence.support.ContextAssistant.getPageTemplate(ContextAssistant.java:96)
      1 frame
    17. net.customware.confluence
      LiveTemplateMacro.execute
      1. net.customware.confluence.plugin.scaffolding.LiveTemplateMacro.execute(LiveTemplateMacro.java:73)
      1 frame
    18. org.randombits.confluence
      ConfluenceMacro.execute
      1. org.randombits.confluence.support.ConfluenceMacro.execute(ConfluenceMacro.java:54)
      1 frame
    19. com.atlassian.renderer
      V2SubRenderer.render
      1. com.atlassian.renderer.v2.macro.ResourceAwareMacroDecorator.execute(ResourceAwareMacroDecorator.java:45)
      2. com.atlassian.renderer.v2.components.MacroRendererComponent.processMacro(MacroRendererComponent.java:340)
      3. com.atlassian.renderer.v2.components.MacroRendererComponent.makeMacro(MacroRendererComponent.java:241)
      4. com.atlassian.renderer.v2.components.MacroRendererComponent.makeMacro(MacroRendererComponent.java:130)
      5. com.atlassian.renderer.v2.components.MacroRendererComponent.handlePotentialMacro(MacroRendererComponent.java:115)
      6. com.atlassian.renderer.v2.components.MacroRendererComponent.render(MacroRendererComponent.java:77)
      7. com.atlassian.renderer.v2.V2Renderer.render(V2Renderer.java:54)
      8. com.atlassian.renderer.v2.V2SubRenderer.render(V2SubRenderer.java:44)
      8 frames