Uploaded image for project: 'Jira Service Management Data Center'
  1. Jira Service Management Data Center
  2. JSDSERVER-1246

Disabling Atlassian Chaperone causes Service Desk to stop working

    XMLWordPrintable

Details

    Description

      Problem

      Currently installing JIRA Service Desk also installs Atlassian Chaperone. These are interdependent but disabling one won't disable the other altogether.

      If an admin disables Atlassian Chaperone, accessing a Service Desk will result in an Internal Server Error (500) page with the following stacktrace:

      com.atlassian.soy.renderer.SoyException: Unable to compile Soy templates at: com.atlassian.servicedesk:agent-view-queue
      com.atlassian.soy.renderer.SoyException: Unable to compile Soy templates at: com.atlassian.servicedesk:agent-view-queue
      	at com.atlassian.soy.impl.DefaultSoyManager.render(DefaultSoyManager.java:124)
      	at com.atlassian.soy.impl.DefaultSoyTemplateRenderer.render(DefaultSoyTemplateRenderer.java:52)
      	at com.atlassian.soy.impl.DefaultSoyTemplateRenderer.render(DefaultSoyTemplateRenderer.java:45)
      	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)
      ...
      Caused by: com.google.common.util.concurrent.UncheckedExecutionException: java.lang.IllegalStateException: Required plugin module com.atlassian.plugins.atlassian-chaperone:chaperone was either missing or disabled
      	at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2234)
      	at com.google.common.cache.LocalCache.get(LocalCache.java:3970)
      	at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3974)
      	at com.google.common.cache.LocalCache$LocalManualCache.get(LocalCache.java:4834)
      	at com.google.common.cache.LocalCache$LocalManualCache.getUnchecked(LocalCache.java:4839)
      ...
      

      Steps to Reproduce

      1. Install JIRA Service Desk
      2. Create a new Service Desk
      3. Disable Atlassian Chaperone
      4. Try to access the Service Desk

      Workaround

      Do not disable Atlassian Chaperone. If it is disabled, re-enabling it should make the Service Desk accessible again.

      However, if the plugin is uninstalled, then JIRA Service Desk will be disabled and can't be re-enabled. In this case, users can only uninstall JIRA Service Desk and re-install it, which will also re-install Atlassian Chaperone.

      Suggestion

      Dependent plugins of JIRA Service Desk should be made unmodifiable and rely on the status of JIRA Service Desk itself.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              vdung Andy Nguyen (Inactive)
              Votes:
              8 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Backbone Issue Sync