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

Confluence fails to render file previews in Confluence and throws 'Java.lang.AssertionError: Cannot read a name from the name table in a font' error on Solaris

    XMLWordPrintable

Details

    Description

      Summary

      When installed on Solaris, Confluence will fail to render files in the new file previewer.

      Environment

      • Solaris

      Steps to Reproduce

      1. Install Confluence on a machine running Solaris
      2. Attach a Powerpoint document onto a page
      3. Use the new file previewer to display the document on the page

      Expected Results

      The file previewer renders the attached file

      Actual Results

      The UI prompts the user to Download the file:

      The below exception is thrown in the atlassian-confluence.log file:

      2016-02-23 19:28:10,640 ERROR [conversion-thread-5] [plugins.conversion.impl.TimeoutConversionRunnable] run Cannot convert. Execution error: 
       -- referer: https://<base-url>/pages/editpage.action?pageId=1234567 | url: /rest/tinymce/1/macro/placeholder | userName: xxxxxxxx
      java.util.concurrent.ExecutionException: java.lang.AssertionError: Cannot read a name from the name table in a font.
      	at java.util.concurrent.FutureTask.report(FutureTask.java:122)
      	at java.util.concurrent.FutureTask.get(FutureTask.java:206)
      	at com.atlassian.confluence.plugins.conversion.impl.TimeoutConversionRunnable.run(TimeoutConversionRunnable.java:75)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      	at java.lang.Thread.run(Thread.java:745)
      Caused by: java.lang.AssertionError: Cannot read a name from the name table in a font.
      	at com.aspose.slides.p6a2feef8.pbdb106a0.pa2137a2a.a.do(Unknown Source)
      	at com.aspose.slides.pa2137a2a.p9f36407e.ad.if(Unknown Source)
      	at com.aspose.slides.pa2137a2a.p9f36407e.ad.try(Unknown Source)
      	at com.aspose.slides.pa2137a2a.p9f36407e.ad.do(Unknown Source)
      	at com.aspose.slides.pa2137a2a.p9f36407e.l.do(Unknown Source)
      	at com.aspose.slides.pa2137a2a.p9f36407e.l.<init>(Unknown Source)
      	at com.aspose.slides.pa2137a2a.p9f36407e.i.case(Unknown Source)
      	at com.aspose.slides.pa2137a2a.p9f36407e.i.try(Unknown Source)
      	at com.aspose.slides.pa2137a2a.p9f36407e.i.do(Unknown Source)
      	at com.aspose.slides.tv.do(Unknown Source)
      	at com.aspose.slides.tt.<init>(Unknown Source)
      	at com.aspose.slides.bhs.for(Unknown Source)
      	at com.aspose.slides.bhs.while(Unknown Source)
      	at com.aspose.slides.bgn.do(Unknown Source)
      	at com.aspose.slides.bgn.do(Unknown Source)
      	at com.aspose.slides.bgn.do(Unknown Source)
      	at com.aspose.slides.bgn.<init>(Unknown Source)
      	at com.aspose.slides.TextFrame.do(Unknown Source)
      	at com.aspose.slides.AutoShape.do(Unknown Source)
      	at com.aspose.slides.AutoShape.do(Unknown Source)
      	at com.aspose.slides.GroupShape.do(Unknown Source)
      	at com.aspose.slides.Slide.do(Unknown Source)
      	at com.aspose.slides.Slide.do(Unknown Source)
      	at com.aspose.slides.Slide.getThumbnail(Unknown Source)
      	at com.atlassian.plugins.conversion.convert.image.SlidesConverter.generateThumbnailDirect(Unknown Source)
      	at com.atlassian.confluence.plugins.conversion.impl.runnable.JVMConversionRunnable.doWork(JVMConversionRunnable.java:67)
      	at com.atlassian.confluence.plugins.conversion.impl.runnable.ConversionRunnable.run(ConversionRunnable.java:39)
      	at com.atlassian.confluence.plugins.conversion.impl.runnable.JVMConversionRunnable.run(JVMConversionRunnable.java:18)
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      	... 3 more
      

      Notes

      • It appears the cause for this is a bug in Aspose.Slides, reported as SLIDESJAVA-34641. This bug has been fixed in version 15.2.0, Confluence currently uses 14.7.0 which is an affected version.
      • This should affect any version of Confluence 5.7 and above

      Workaround

      • Run Confluence on a different linux distribution (non Solaris)

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              sbrannen@atlassian.com Branno
              Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: