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

No preview works after disabling and enabling plugin module

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • Medium
    • None
    • 6.1.0
    • Content - Attachments
    • None

    Description

      The steps to replicate the issue, is to do the following:

      1. Go to Add-ons > System Add-ons
      2. Look for conversion
      3. Disable Confluence Document Conversion Library
      4. Enable the plugin again
      5. And enjoy none of your images working on preview

      After following those steps, none of the images in the whole instance were able to be previewed. We tried to set the logging of the preview, imageConverter, and the Confluence Document Conversion Library to DEBUG, and not even a single line appeared on the logs.

      Doing some investigation on a current ticket the following line on the logs of the customer was found:

      ...
      2017-05-10 07:10:22,910 ERROR [http-nio-8090-exec-13] [xhtml.view.macro.ViewMacroMarshaller] handleMacroExecutionException Error rendering macro: view-file
       -- url: /confluence/display/OPS/PR.14+Sunday+Night+Print+Room+Procedures | page: 31359080 | traceId: cc0fa683a6b1445c | userName: anonymous | referer: https://devtools.test.aessuccess.org/confluence/display/OPS/PR.4+Output+Quality+Verification | action: viewpage
      java.lang.NoClassDefFoundError: Could not initialize class com.atlassian.plugins.conversion.convert.image.ImagingConverter
      	at com.atlassian.confluence.plugins.conversion.impl.DefaultConversionManager.getConverters(DefaultConversionManager.java:156)
      	at com.atlassian.confluence.plugins.conversion.impl.DefaultConversionManager.isConvertible(DefaultConversionManager.java:134)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:302)
      	at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:56)
      ...
      

      We were able to find a ticket that had the same log lines that can be referred below:

      Attachments

        Activity

          People

            Unassigned Unassigned
            mbomfim Kombi, the best car ever (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: