Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-55480

Questions 2.4.22 is not compatible with Confluence 5.7

    XMLWordPrintable

Details

    Description

      Summary

      On the marketplace, 2.4.22 is listed as compatible with 5.7:

      https://marketplace.atlassian.com/plugins/com.atlassian.confluence.plugins.confluence-questions/versions

      However, the plugin v 2.4.22 cannot be enabled on Confluence 5.7. UPM offers an 'upgrade' to 2.4.19, which is compatible with 5.7, however there is a bug which prevents up/down voting on 2.4.19: CONFSERVER-52514

      Details

      While you can upload the 2.4.22 obr file to UPM, you cannot enable it. This error appears in the UI when trying to enable the plugin:

      This add-on failed to enable. Refer to the logs for more information.

      Error in the logs when attempting to enable the plugin:

      2018-05-07 09:56:40,306 ERROR [http-bio-6574-exec-4] [atlassian.plugin.manager.DefaultPluginManager] enableConfiguredPluginModule There was an error loading the descriptor 'null' of plugin 'com.atlass
      ian.confluence.plugins.confluence-questions'. Disabling.
       -- referer: http://localhost:6574/c574/plugins/servlet/upm | url: /c574/rest/plugins/1.0/com.atlassian.confluence.plugins.confluence-questions-key | userName: admin
      java.lang.NullPointerException
              at com.atlassian.plugin.osgi.module.BeanPrefixModuleFactory.createModule(BeanPrefixModuleFactory.java:20)
              at com.atlassian.plugin.module.PrefixDelegatingModuleFactory.createModule(PrefixDelegatingModuleFactory.java:100)
              at com.atlassian.confluence.plugin.descriptor.ListenerModuleDescriptor.createModule(ListenerModuleDescriptor.java:41)
              at com.atlassian.confluence.plugin.module.PluginModuleHolder.createModule(PluginModuleHolder.java:78)
              at com.atlassian.confluence.plugin.module.PluginModuleHolder.getModule(PluginModuleHolder.java:104)
              at com.atlassian.confluence.plugin.descriptor.ListenerModuleDescriptor.enabled(ListenerModuleDescriptor.java:35)
              at com.atlassian.plugin.manager.DefaultPluginManager.notifyModuleEnabled(DefaultPluginManager.java:2071)
              at com.atlassian.plugin.manager.DefaultPluginManager.enableConfiguredPluginModule(DefaultPluginManager.java:1845)
              at com.atlassian.plugin.manager.DefaultPluginManager.enableConfiguredPluginModules(DefaultPluginManager.java:1815)
              at com.atlassian.plugin.manager.DefaultPluginManager.notifyPluginEnabled(DefaultPluginManager.java:1793)
              at com.atlassian.plugin.manager.DefaultPluginManager.enablePlugins(DefaultPluginManager.java:1765)
              at com.atlassian.confluence.plugin.EventDispatchingPluginController.enablePlugins(EventDispatchingPluginController.java:134)
      

      Resolution

      Marketplace listing for Confluence Questions need to be updated to reflect proper compatible versions.

      Workaround

      Downgrade Questions for Confluence to 2.4.15, or upgrade Confluence.

      Attachments

        1. repro.png
          repro.png
          104 kB
        2. versions.png
          versions.png
          72 kB

        Activity

          People

            Unassigned Unassigned
            jwyllys Justin W.
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: