Excessive Warnings and Errors in Logs With CQ 2.4.4 and Confluence 5.9

XMLWordPrintable

    • Severity 3 - Minor

      NOTE: This bug report is for Confluence Cloud. Using Confluence Server? See the corresponding bug report.

      Summary

      Excessive errors (that seems to be harmless, as CQ continues to function properly) such as the following on Confluence startup/Confluence Questions usage, with CQ installed:

      2015-12-30 10:13:48,170 WARN [http-nio-8592-exec-10] [common.security.jersey.XsrfResourceFilterFactory] isXsrfProtectionExcludedAnnotationPresent Detected usage of the com.atlassian.annotations.security.XsrfProtectionExcluded annotation loaded from elsewhere. WebappClassLoader
        context: c592
        delegate: false
      ----------> Parent Classloader:
      java.net.URLClassLoader@3af49f1c
       != com.atlassian.confluence.plugins.confluence-questions [238]
       -- referer: http://localhost:8592/c592/questions?src=header | url: /c592/rest/questions/1.0/topic | userName: admin
      
      2015-12-30 10:13:45,681 ERROR [http-nio-8592-exec-5] [plugins.cql.impl.SearchTypeManager] getCustomContentTypes A plugin installed content type caused an error for the CQL plugin, removing custom content type from CQL handled types : com.atlassian.confluence.plugins.confluence-questions:answer-draft
       -- referer: http://localhost:8592/c592/ | url: /c592/rest/experimental/search | userName: admin
      java.lang.UnsupportedOperationException
      	at com.atlassian.confluence.plugins.questions.contenttype.DraftPermissionDelegate.canView(DraftPermissionDelegate.java:43)
      	at com.atlassian.confluence.plugins.cql.impl.SearchTypeManager.getCustomContentTypes(SearchTypeManager.java:127)
      	at com.atlassian.confluence.plugins.cql.impl.SearchTypeManager.getContentTypes(SearchTypeManager.java:102)
      	at com.atlassian.confluence.plugins.cql.impl.SearchTypeManager.getTypes(SearchTypeManager.java:193)
      	at com.atlassian.confluence.plugins.cql.impl.SearchTypeManager.hasType(SearchTypeManager.java:198)
      	at com.atlassian.confluence.plugins.cql.fields.ContentTypeFieldHandler.checkTypeExists(ContentTypeFieldHandler.java:146)
      	at com.atlassian.confluence.plugins.cql.fields.ContentTypeFieldHandler.lambda$new$6(ContentTypeFieldHandler.java:104)
      	at com.atlassian.confluence.plugins.cql.fields.ContentTypeFieldHandler$$Lambda$97/777928585.apply(Unknown Source)
      	at com.google.common.collect.Iterators$8.next(Iterators.java:812)
      

      Environment

      • Confluence 5.9.x
      • CQ 2.4.4

      Steps to Reproduce

      1. Install Confluence 5.9.x
      2. Install CQ 2.4.4
      3. Restart Confluence

      Notes

      CQ 2.4.4 installed on Confluence 5.8.x does not have this issue. This issue seems to be isolated only to Confluence 5.9.x

      Workaround

      Possible to turn off the logging for com.atlassian.confluence.plugins.cql.impl.SearchTypeManager but relevant errors may no longer be logged.

              Assignee:
              Tam Tran
              Reporter:
              Foo Sim (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: