Confluence 7.19.0 unable to delete comments in Questions in Confluence

XMLWordPrintable

    • Severity 3 - Minor

      Issue Summary

      Confluence 7.19.0 unable to delete comments in Questions in Confluence

      This is reproducible on Data Center: Yes

      Steps to Reproduce

      1. Install Confluence Data Center 7.19.0
      2. Install Questions for Confluence
        • in this testing, v3.1.3 will be installed
        • the same issue can also be replicated in v3.1.2
      3. Apply valid license into Questions for Confluence
      4. Start using Questions for Confluence with the demo set of Questions and Answers
      5. Look for any question that has a comment in it:
        • Click on the Convert to answer on any comment
          OR
        • Click on the Delete on any comment

      Expected Results

      The comment is converted into an Answer or Deleted (depending on the options above)

      Actual Results

      When converting the comment to answer:
      Nothing happens on the front end, and the error message below is thrown in the log:

      atlassian-confluence.log
      2022-10-12 08:14:25,367 ERROR [http-nio-27190-exec-12] [atlassian.confluence.event.ConfluenceEventDispatcher] run There was an exception thrown trying to dispatch event [com.atlassian.confluence.plugins.questions.event.CommentRemovedEvent@3a718bfa] from the invoker [com.atlassian.event.internal.ComparableListenerInvoker@45168a07]
       -- referer: http://localhost:27190/c7190/questions/98388/comments/98402 | url: /c7190/rest/questions/1.0/questions/98388/comments/98402/convert | traceId: abca3c56128539ef | userName: admin
      java.lang.RuntimeException: service matching filter=[(objectClass=com.atlassian.confluence.plugins.edgeindex.EdgeIndexManager)] unavailable. Listener: com.atlassian.confluence.plugins.questions.edgeindex.popularstream.QuestionsEdgeListener event: com.atlassian.confluence.plugins.questions.event.CommentRemovedEvent
      	at com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:53)
      	at com.atlassian.confluence.event.ConfluenceListenerHandlersConfiguration$TimedListenerInvoker.invoke(ConfluenceListenerHandlersConfiguration.java:96)
      	at com.atlassian.event.internal.ComparableListenerInvoker.invoke(ComparableListenerInvoker.java:48)
      	at com.atlassian.confluence.event.ConfluenceEventDispatcher$VCacheRequestContextRunnableFactory$1.lambda$run$0(ConfluenceEventDispatcher.java:93)
      	at com.atlassian.confluence.vcache.VCacheRequestContextOperations.lambda$doInRequestContext$0(VCacheRequestContextOperations.java:50)
      ...
      Caused by: org.eclipse.gemini.blueprint.service.ServiceUnavailableException: service matching filter=[(objectClass=com.atlassian.confluence.plugins.edgeindex.EdgeIndexManager)] unavailable
      	at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceDynamicInterceptor.getTarget(ServiceDynamicInterceptor.java:404)
      	at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:60)
      ...
      

      When deleting the comment:
      An error pop-up is shown in the UI for the failed action, and the error below is thrown in the log:

      2022-10-12 08:15:37,304 ERROR [AtlassianEvent::CustomizableThreadFactory-1] [atlassian.confluence.event.ConfluenceEventDispatcher] run There was an exception thrown trying to dispatch event [com.atlassian.confluence.plugins.questions.event.CommentOnQuestionCreatedEvent@7dc99154] from the invoker [com.atlassian.event.internal.ComparableListenerInvoker@5c9a34c]
       -- url: /c7190/rest/questions/1.0/questions/98388/comments | referer: http://localhost:27190/c7190/questions/98388/how-do-i-get-design-help-for-the-marketing-campaign-im-working-on | traceId: 479a170374789c37 | userName: admin
      java.lang.RuntimeException: service matching filter=[(objectClass=com.atlassian.confluence.plugins.edgeindex.EdgeIndexManager)] unavailable. Listener: com.atlassian.confluence.plugins.questions.edgeindex.popularstream.QuestionsEdgeListener event: com.atlassian.confluence.plugins.questions.event.CommentOnQuestionCreatedEvent
      	at com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:53)
      	at com.atlassian.confluence.event.ConfluenceListenerHandlersConfiguration$TimedListenerInvoker.invoke(ConfluenceListenerHandlersConfiguration.java:96)
      	at com.atlassian.event.internal.ComparableListenerInvoker.invoke(ComparableListenerInvoker.java:48)
      	at com.atlassian.confluence.event.ConfluenceEventDispatcher$VCacheRequestContextRunnableFactory$1.lambda$run$0(ConfluenceEventDispatcher.java:93)
      	at com.atlassian.confluence.vcache.VCacheRequestContextOperations.lambda$doInRequestContext$0(VCacheRequestContextOperations.java:50)
      	at com.atlassian.confluence.impl.vcache.VCacheRequestContextManager.doInRequestContextInternal(VCacheRequestContextManager.java:84)
      	at com.atlassian.confluence.impl.vcache.VCacheRequestContextManager.doInRequestContext(VCacheRequestContextManager.java:68)
      	at com.atlassian.confluence.vcache.VCacheRequestContextOperations.doInRequestContext(VCacheRequestContextOperations.java:49)
      	at com.atlassian.confluence.event.ConfluenceEventDispatcher$VCacheRequestContextRunnableFactory$1.run(ConfluenceEventDispatcher.java:93)
      	at com.atlassian.confluence.event.ConfluenceEventDispatcher$1.run(ConfluenceEventDispatcher.java:61)
      	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
      	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
      	at java.base/java.lang.Thread.run(Thread.java:834)
      Caused by: org.eclipse.gemini.blueprint.service.ServiceUnavailableException: service matching filter=[(objectClass=com.atlassian.confluence.plugins.edgeindex.EdgeIndexManager)] unavailable
      	at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceDynamicInterceptor.getTarget(ServiceDynamicInterceptor.java:404)
      	at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:60)
      	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
      ...
      

      Information

      • The issue persists even if downgrading Questions for Confluence to v2.7.41
      • The issue is not replicable in Confluence 7.16.3 or 7.17.5 (while Questions for Confluence 3.1.3 is installed)
      • The issue is not replicable in Confluence 7.19.1 (while Questions for Confluence 3.1.3 is installed)

      Workaround

      Upgrade to Confluence 7.19.1 or later

              Assignee:
              Unassigned
              Reporter:
              Damien Tan
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: