java.sql.SQLException: You can't operate on a closed ResultSet!!!

Atlassian JIRA | Denise Unterwurzacher | 2 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    h3. Steps to Reproduce # Set up Confluence 5.7 on MySQL or Oracle or SQL Server # Configure a mail server # Create a page, add a file and display it using the new Files viewer # Save the page # Add a pinned comment in the file # The error will be thrown at this point. The URL will be a variant of {{/rest/files/1.0/files/655361/comments}} # Add a comment to the page (not the file) # The error will be thrown again. The URL will be 'url: /pages/docreatepage.action' despite the actual action being adding a page comment, not creating the page. The full stack trace is: {code} 2015-03-26 15:16:20,447 ERROR [NotificationSender:thread-2] [sf.hibernate.impl.IteratorImpl] next could not get next result -- referer: http://lachland.dyn.syd.atlassian.com:10570/confluence/display/TT/files?preview=/655362/655361/AusUnityClaimForm.pdf | url: /confluence/rest/files/1.0/files/655361/comments | userName: admin java.sql.SQLException: You can't operate on a closed ResultSet!!! at com.mchange.v2.sql.SqlUtils.toSQLException(SqlUtils.java:106) at com.mchange.v2.sql.SqlUtils.toSQLException(SqlUtils.java:65) at com.mchange.v2.c3p0.impl.NewProxyResultSet.next(NewProxyResultSet.java:2865) at net.sf.hibernate.impl.IteratorImpl.postNext(IteratorImpl.java:85) at net.sf.hibernate.impl.IteratorImpl.next(IteratorImpl.java:127) at com.google.common.collect.Iterators$8.next(Iterators.java:811) at com.atlassian.confluence.plugins.files.manager.DefaultConfluenceFileManager.getUnresolvedCommentCountByAttachmentId(DefaultConfluenceFileManager.java:133) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:58) at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:62) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131) at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:56) at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:39) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.osgi.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:59) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131) at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at com.sun.proxy.$Proxy2519.getUnresolvedCommentCountByAttachmentId(Unknown Source) at com.atlassian.confluence.plugins.files.notifications.email.FileContentUpdateRenderContextFactory.getFileContentForNotificationContent(FileContentUpdateRenderContextFactory.java:105) at com.atlassian.confluence.plugins.files.notifications.email.FileContentUpdateRenderContextFactory.getFileContentsForNotificationContents(FileContentUpdateRenderContextFactory.java:83) at com.atlassian.confluence.plugins.files.notifications.email.FileContentUpdateRenderContextFactory.createForRecipient(FileContentUpdateRenderContextFactory.java:55) at com.atlassian.confluence.notifications.content.ContentRenderContextFactory.checkedCreate(ContentRenderContextFactory.java:61) at com.atlassian.confluence.notifications.RenderContextProviderTemplate.create(RenderContextProviderTemplate.java:26) at com.atlassian.confluence.notifications.impl.spi.DeclarativeRenderContextFactory.buildRecipientProviderContext(DeclarativeRenderContextFactory.java:191) at com.atlassian.confluence.notifications.impl.spi.DeclarativeRenderContextFactory.access$400(DeclarativeRenderContextFactory.java:44) at com.atlassian.confluence.notifications.impl.spi.DeclarativeRenderContextFactory$2.call(DeclarativeRenderContextFactory.java:139) at com.atlassian.confluence.notifications.impl.spi.DeclarativeRenderContextFactory$2.call(DeclarativeRenderContextFactory.java:122) at com.atlassian.confluence.user.AuthenticatedUserImpersonator$2.call(AuthenticatedUserImpersonator.java:134) at com.atlassian.confluence.user.AuthenticatedUserImpersonator$1.call(AuthenticatedUserImpersonator.java:113) at com.atlassian.confluence.user.AuthenticatedUserImpersonator.asUser(AuthenticatedUserImpersonator.java:89) at com.atlassian.confluence.notifications.impl.spi.DeclarativeRenderContextFactory$1.call(DeclarativeRenderContextFactory.java:97) at com.atlassian.confluence.notifications.impl.spi.DeclarativeRenderContextFactory$1.call(DeclarativeRenderContextFactory.java:94) at com.atlassian.confluence.notifications.impl.DefaultFakeHttpRequestInjector$1.doFilter(DefaultFakeHttpRequestInjector.java:51) at com.atlassian.core.filters.ServletContextThreadLocalFilter.doFilter(ServletContextThreadLocalFilter.java:21) at com.atlassian.confluence.notifications.impl.DefaultFakeHttpRequestInjector.withRequest(DefaultFakeHttpRequestInjector.java:46) at com.atlassian.confluence.notifications.impl.spi.DeclarativeRenderContextFactory.createChecked(DeclarativeRenderContextFactory.java:94) at com.atlassian.plugin.notifications.api.medium.RenderContextFactoryTemplate.create(RenderContextFactoryTemplate.java:53) at sun.reflect.GeneratedMethodAccessor856.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:58) at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:62) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131) at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:56) at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:39) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.osgi.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:59) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131) at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at com.sun.proxy.$Proxy1450.create(Unknown Source) at com.atlassian.plugin.notifications.dispatcher.task.IndividualNotificationTask$UserKeySender.send(IndividualNotificationTask.java:157) at com.atlassian.plugin.notifications.dispatcher.task.IndividualNotificationTask.execute(IndividualNotificationTask.java:64) at com.atlassian.plugin.notifications.dispatcher.AbstractNotificationTask.run(AbstractNotificationTask.java:111) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.NullPointerException at com.mchange.v2.c3p0.impl.NewProxyResultSet.next(NewProxyResultSet.java:2859) ... 74 more {code} h2. Resolution Upgrade to Confluence 5.7.3 or above. NB: We do not recommend using the attached patch now that a version that contains the fix has been released.

    Atlassian JIRA | 2 years ago | Denise Unterwurzacher
    java.sql.SQLException: You can't operate on a closed ResultSet!!!
  2. 0

    h3. Steps to Reproduce # Set up Confluence 5.7 on MySQL or Oracle or SQL Server # Configure a mail server # Create a page, add a file and display it using the new Files viewer # Save the page # Add a pinned comment in the file # The error will be thrown at this point. The URL will be a variant of {{/rest/files/1.0/files/655361/comments}} # Add a comment to the page (not the file) # The error will be thrown again. The URL will be 'url: /pages/docreatepage.action' despite the actual action being adding a page comment, not creating the page. The full stack trace is: {code} 2015-03-26 15:16:20,447 ERROR [NotificationSender:thread-2] [sf.hibernate.impl.IteratorImpl] next could not get next result -- referer: http://lachland.dyn.syd.atlassian.com:10570/confluence/display/TT/files?preview=/655362/655361/AusUnityClaimForm.pdf | url: /confluence/rest/files/1.0/files/655361/comments | userName: admin java.sql.SQLException: You can't operate on a closed ResultSet!!! at com.mchange.v2.sql.SqlUtils.toSQLException(SqlUtils.java:106) at com.mchange.v2.sql.SqlUtils.toSQLException(SqlUtils.java:65) at com.mchange.v2.c3p0.impl.NewProxyResultSet.next(NewProxyResultSet.java:2865) at net.sf.hibernate.impl.IteratorImpl.postNext(IteratorImpl.java:85) at net.sf.hibernate.impl.IteratorImpl.next(IteratorImpl.java:127) at com.google.common.collect.Iterators$8.next(Iterators.java:811) at com.atlassian.confluence.plugins.files.manager.DefaultConfluenceFileManager.getUnresolvedCommentCountByAttachmentId(DefaultConfluenceFileManager.java:133) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:58) at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:62) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131) at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:56) at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:39) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.osgi.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:59) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131) at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at com.sun.proxy.$Proxy2519.getUnresolvedCommentCountByAttachmentId(Unknown Source) at com.atlassian.confluence.plugins.files.notifications.email.FileContentUpdateRenderContextFactory.getFileContentForNotificationContent(FileContentUpdateRenderContextFactory.java:105) at com.atlassian.confluence.plugins.files.notifications.email.FileContentUpdateRenderContextFactory.getFileContentsForNotificationContents(FileContentUpdateRenderContextFactory.java:83) at com.atlassian.confluence.plugins.files.notifications.email.FileContentUpdateRenderContextFactory.createForRecipient(FileContentUpdateRenderContextFactory.java:55) at com.atlassian.confluence.notifications.content.ContentRenderContextFactory.checkedCreate(ContentRenderContextFactory.java:61) at com.atlassian.confluence.notifications.RenderContextProviderTemplate.create(RenderContextProviderTemplate.java:26) at com.atlassian.confluence.notifications.impl.spi.DeclarativeRenderContextFactory.buildRecipientProviderContext(DeclarativeRenderContextFactory.java:191) at com.atlassian.confluence.notifications.impl.spi.DeclarativeRenderContextFactory.access$400(DeclarativeRenderContextFactory.java:44) at com.atlassian.confluence.notifications.impl.spi.DeclarativeRenderContextFactory$2.call(DeclarativeRenderContextFactory.java:139) at com.atlassian.confluence.notifications.impl.spi.DeclarativeRenderContextFactory$2.call(DeclarativeRenderContextFactory.java:122) at com.atlassian.confluence.user.AuthenticatedUserImpersonator$2.call(AuthenticatedUserImpersonator.java:134) at com.atlassian.confluence.user.AuthenticatedUserImpersonator$1.call(AuthenticatedUserImpersonator.java:113) at com.atlassian.confluence.user.AuthenticatedUserImpersonator.asUser(AuthenticatedUserImpersonator.java:89) at com.atlassian.confluence.notifications.impl.spi.DeclarativeRenderContextFactory$1.call(DeclarativeRenderContextFactory.java:97) at com.atlassian.confluence.notifications.impl.spi.DeclarativeRenderContextFactory$1.call(DeclarativeRenderContextFactory.java:94) at com.atlassian.confluence.notifications.impl.DefaultFakeHttpRequestInjector$1.doFilter(DefaultFakeHttpRequestInjector.java:51) at com.atlassian.core.filters.ServletContextThreadLocalFilter.doFilter(ServletContextThreadLocalFilter.java:21) at com.atlassian.confluence.notifications.impl.DefaultFakeHttpRequestInjector.withRequest(DefaultFakeHttpRequestInjector.java:46) at com.atlassian.confluence.notifications.impl.spi.DeclarativeRenderContextFactory.createChecked(DeclarativeRenderContextFactory.java:94) at com.atlassian.plugin.notifications.api.medium.RenderContextFactoryTemplate.create(RenderContextFactoryTemplate.java:53) at sun.reflect.GeneratedMethodAccessor856.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:58) at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:62) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131) at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:56) at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:39) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.osgi.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:59) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131) at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at com.sun.proxy.$Proxy1450.create(Unknown Source) at com.atlassian.plugin.notifications.dispatcher.task.IndividualNotificationTask$UserKeySender.send(IndividualNotificationTask.java:157) at com.atlassian.plugin.notifications.dispatcher.task.IndividualNotificationTask.execute(IndividualNotificationTask.java:64) at com.atlassian.plugin.notifications.dispatcher.AbstractNotificationTask.run(AbstractNotificationTask.java:111) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.NullPointerException at com.mchange.v2.c3p0.impl.NewProxyResultSet.next(NewProxyResultSet.java:2859) ... 74 more {code} h2. Resolution Upgrade to Confluence 5.7.3 or above. NB: We do not recommend using the attached patch now that a version that contains the fix has been released.

    Atlassian JIRA | 2 years ago | Denise Unterwurzacher
    java.sql.SQLException: You can't operate on a closed ResultSet!!!

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at com.mchange.v2.c3p0.impl.NewProxyResultSet.next()
    2. c3p0:JDBC DataSources/Resource Pools
      NewProxyResultSet.next
      1. com.mchange.v2.c3p0.impl.NewProxyResultSet.next(NewProxyResultSet.java:2859)
      1 frame
    3. net.sf.hibernate
      IteratorImpl.next
      1. net.sf.hibernate.impl.IteratorImpl.postNext(IteratorImpl.java:85)
      2. net.sf.hibernate.impl.IteratorImpl.next(IteratorImpl.java:127)
      2 frames
    4. Guava
      Iterators$8.next
      1. com.google.common.collect.Iterators$8.next(Iterators.java:811)
      1 frame
    5. com.atlassian.confluence
      DefaultConfluenceFileManager.getUnresolvedCommentCountByAttachmentId
      1. com.atlassian.confluence.plugins.files.manager.DefaultConfluenceFileManager.getUnresolvedCommentCountByAttachmentId(DefaultConfluenceFileManager.java:133)
      1 frame
    6. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:606)
      4 frames
    7. Spring AOP
      AopUtils.invokeJoinpointUsingReflection
      1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
      1 frame
    8. Spring OSGi Core
      ServiceInvoker.invoke
      1. org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:58)
      2. org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:62)
      2 frames
    9. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      2. org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
      3. org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
      4. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      4 frames
    10. Spring OSGi Core
      ServiceTCCLInterceptor.invoke
      1. org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:56)
      2. org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:39)
      2 frames
    11. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      1 frame
    12. Spring OSGi Core
      LocalBundleContextAdvice.invoke
      1. org.springframework.osgi.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:59)
      1 frame
    13. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      2. org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
      3. org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
      4. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      5. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
      5 frames
    14. com.sun.proxy
      $Proxy2519.getUnresolvedCommentCountByAttachmentId
      1. com.sun.proxy.$Proxy2519.getUnresolvedCommentCountByAttachmentId(Unknown Source)
      1 frame
    15. com.atlassian.confluence
      DefaultFakeHttpRequestInjector$1.doFilter
      1. com.atlassian.confluence.plugins.files.notifications.email.FileContentUpdateRenderContextFactory.getFileContentForNotificationContent(FileContentUpdateRenderContextFactory.java:105)
      2. com.atlassian.confluence.plugins.files.notifications.email.FileContentUpdateRenderContextFactory.getFileContentsForNotificationContents(FileContentUpdateRenderContextFactory.java:83)
      3. com.atlassian.confluence.plugins.files.notifications.email.FileContentUpdateRenderContextFactory.createForRecipient(FileContentUpdateRenderContextFactory.java:55)
      4. com.atlassian.confluence.notifications.content.ContentRenderContextFactory.checkedCreate(ContentRenderContextFactory.java:61)
      5. com.atlassian.confluence.notifications.RenderContextProviderTemplate.create(RenderContextProviderTemplate.java:26)
      6. com.atlassian.confluence.notifications.impl.spi.DeclarativeRenderContextFactory.buildRecipientProviderContext(DeclarativeRenderContextFactory.java:191)
      7. com.atlassian.confluence.notifications.impl.spi.DeclarativeRenderContextFactory.access$400(DeclarativeRenderContextFactory.java:44)
      8. com.atlassian.confluence.notifications.impl.spi.DeclarativeRenderContextFactory$2.call(DeclarativeRenderContextFactory.java:139)
      9. com.atlassian.confluence.notifications.impl.spi.DeclarativeRenderContextFactory$2.call(DeclarativeRenderContextFactory.java:122)
      10. com.atlassian.confluence.user.AuthenticatedUserImpersonator$2.call(AuthenticatedUserImpersonator.java:134)
      11. com.atlassian.confluence.user.AuthenticatedUserImpersonator$1.call(AuthenticatedUserImpersonator.java:113)
      12. com.atlassian.confluence.user.AuthenticatedUserImpersonator.asUser(AuthenticatedUserImpersonator.java:89)
      13. com.atlassian.confluence.notifications.impl.spi.DeclarativeRenderContextFactory$1.call(DeclarativeRenderContextFactory.java:97)
      14. com.atlassian.confluence.notifications.impl.spi.DeclarativeRenderContextFactory$1.call(DeclarativeRenderContextFactory.java:94)
      15. com.atlassian.confluence.notifications.impl.DefaultFakeHttpRequestInjector$1.doFilter(DefaultFakeHttpRequestInjector.java:51)
      15 frames
    16. com.atlassian.core
      ServletContextThreadLocalFilter.doFilter
      1. com.atlassian.core.filters.ServletContextThreadLocalFilter.doFilter(ServletContextThreadLocalFilter.java:21)
      1 frame
    17. com.atlassian.confluence
      DeclarativeRenderContextFactory.createChecked
      1. com.atlassian.confluence.notifications.impl.DefaultFakeHttpRequestInjector.withRequest(DefaultFakeHttpRequestInjector.java:46)
      2. com.atlassian.confluence.notifications.impl.spi.DeclarativeRenderContextFactory.createChecked(DeclarativeRenderContextFactory.java:94)
      2 frames
    18. com.atlassian.plugin
      RenderContextFactoryTemplate.create
      1. com.atlassian.plugin.notifications.api.medium.RenderContextFactoryTemplate.create(RenderContextFactoryTemplate.java:53)
      1 frame
    19. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor856.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      3. java.lang.reflect.Method.invoke(Method.java:606)
      3 frames
    20. Spring AOP
      AopUtils.invokeJoinpointUsingReflection
      1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
      1 frame
    21. Spring OSGi Core
      ServiceInvoker.invoke
      1. org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:58)
      2. org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:62)
      2 frames
    22. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      2. org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
      3. org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
      4. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      4 frames
    23. Spring OSGi Core
      ServiceTCCLInterceptor.invoke
      1. org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:56)
      2. org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:39)
      2 frames
    24. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      1 frame
    25. Spring OSGi Core
      LocalBundleContextAdvice.invoke
      1. org.springframework.osgi.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:59)
      1 frame
    26. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      2. org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
      3. org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
      4. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      5. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
      5 frames
    27. com.sun.proxy
      $Proxy1450.create
      1. com.sun.proxy.$Proxy1450.create(Unknown Source)
      1 frame
    28. com.atlassian.plugin
      AbstractNotificationTask.run
      1. com.atlassian.plugin.notifications.dispatcher.task.IndividualNotificationTask$UserKeySender.send(IndividualNotificationTask.java:157)
      2. com.atlassian.plugin.notifications.dispatcher.task.IndividualNotificationTask.execute(IndividualNotificationTask.java:64)
      3. com.atlassian.plugin.notifications.dispatcher.AbstractNotificationTask.run(AbstractNotificationTask.java:111)
      3 frames
    29. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
      2. java.util.concurrent.FutureTask.run(FutureTask.java:262)
      3. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)
      4. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)
      5. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      6. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      7. java.lang.Thread.run(Thread.java:745)
      7 frames