java.util.concurrent.ExecutionException: java.lang.AssertionError: Cannot read a name from the name table in a font.

Atlassian JIRA | Stephen Brannen | 9 months ago
  1. 0

    h3. Summary When installed on Solaris, Confluence will fail to render files in the new file previewer. h3. Environment * Solaris h3. Steps to Reproduce # Install Confluence on a machine running Solaris # Attach a Powerpoint document onto a page # Use the new file previewer to display the document on the page h3. Expected Results The file previewer renders the attached file h3. Actual Results The UI prompts the user to Download the file: !Confl_preview_error.JPG! The below exception is thrown in the atlassian-confluence.log file: {noformat} 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 {noformat} h3. 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|http://www.aspose.com/community/files/72/java-components/aspose.slides-for-java/entry614964.aspx], Confluence currently uses 14.7.0 which is an affected version. * This should affect any version of Confluence 5.7 and above h3. Workaround * Run Confluence on a different linux distribution (non Solaris)

    Atlassian JIRA | 9 months ago | Stephen Brannen
    java.util.concurrent.ExecutionException: java.lang.AssertionError: Cannot read a name from the name table in a font.
  2. 0

    h3. Summary When installed on Solaris, Confluence will fail to render files in the new file previewer. h3. Environment * Solaris h3. Steps to Reproduce # Install Confluence on a machine running Solaris # Attach a Powerpoint document onto a page # Use the new file previewer to display the document on the page h3. Expected Results The file previewer renders the attached file h3. Actual Results The UI prompts the user to Download the file: !Confl_preview_error.JPG! The below exception is thrown in the atlassian-confluence.log file: {noformat} 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 {noformat} h3. 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|http://www.aspose.com/community/files/72/java-components/aspose.slides-for-java/entry614964.aspx], Confluence currently uses 14.7.0 which is an affected version. * This should affect any version of Confluence 5.7 and above h3. Workaround * Run Confluence on a different linux distribution (non Solaris)

    Atlassian JIRA | 9 months ago | Stephen Brannen
    java.util.concurrent.ExecutionException: java.lang.AssertionError: Cannot read a name from the name table in a font.
  3. 0

    Tests problems

    GitHub | 11 months ago | puntogil
    java.lang.AssertionError: expected [# NAME `test` - # SYNOPSIS `test` *command* [ *command-args* ] # COMMANDS - `Args1` args1 description --- # NAME `test` `Args1` - args1 description # SYNOPSIS `test` `Args1` [ `-groups` *groups* ] [ `-long` *l* ] [ `-debug` ] [ `-bigdecimal` *bigd* ] [ { `-log` | `-verbose` } *verbose* ] [ `-date` *date* ] [ `-double` *doub* ] [ `-float` *floa* ] [ `--` ] [ *parameters* ] # OPTIONS - `-bigdecimal` *bigd* A BigDecimal number - `-date` *date* An ISO 8601 formatted date. - `-debug` Debug mode - `-double` *doub* A double number - `-float` *floa* A float number - `-groups` *groups* Comma-separated list of group names to be run - `-log` *verbose* , `-verbose` *verbose* Level of verbosity - `-long` *l* A long number - `--` This option can be used to separate command-line options from the list of arguments (useful when arguments might be mistaken for command-line options) - *parameters* # USER DEFINED ALIASES This CLI supports user defined aliases which may be placed in a test.config file located in the following location(s): 1. `target/` This file contains aliases defined in Java properties file style e.g. b.foo=bar --flag Here an alias foo is defined which causes the bar command to be invoked with the `--flag` option passed to it. Aliases are distinguished from other properties in the file by the prefix `b.` as seen in the example. Alias definitions are subject to the following conditions: - Aliases cannot override existing commands - Aliases cannot be defined in terms of other aliases ] but found [# NAME `test` - # SYNOPSIS `test` *command* [ *command-args* ] # COMMANDS - `Args1` args1 description --- # NAME `test` `Args1` - args1 description # SYNOPSIS `test` `Args1` [ `-double` *doub* ] [ `-date` *date* ] [ { `-log` | `-verbose` } *verbose* ] [ `-long` *l* ] [ `-float` *floa* ] [ `-bigdecimal` *bigd* ] [ `-groups` *groups* ] [ `-debug` ] [ `--` ] [ *parameters* ] # OPTIONS - `-bigdecimal` *bigd* A BigDecimal number - `-date` *date* An ISO 8601 formatted date. - `-debug` Debug mode - `-double` *doub* A double number - `-float` *floa* A float number - `-groups` *groups* Comma-separated list of group names to be run - `-log` *verbose* , `-verbose` *verbose* Level of verbosity - `-long` *l* A long number - `--` This option can be used to separate command-line options from the list of arguments (useful when arguments might be mistaken for command-line options) - *parameters* # USER DEFINED ALIASES This CLI supports user defined aliases which may be placed in a test.config file located in the following location(s): 1. `target/` This file contains aliases defined in Java properties file style e.g. b.foo=bar --flag Here an alias foo is defined which causes the bar command to be invoked with the `--flag` option passed to it. Aliases are distinguished from other properties in the file by the prefix `b.` as seen in the example. Alias definitions are subject to the following conditions: - Aliases cannot override existing commands - Aliases cannot be defined in terms of other aliases ]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    goto symbol: assert_equals

    YouTrack | 9 years ago
    java.lang.AssertionError: PSI elements displayed in choose by name lists must return a non-null value from getPresentation(): element Command call, class org.jetbrains.plugins.ruby.ruby.lang.psi.impl.methodCall.RCommandCallImpl
  6. 0

    PSI elements displayed in choose by name lists must return a non-null value from getPresentation()

    GitHub | 8 months ago | JesusFreke
    java.lang.AssertionError: PSI elements displayed in choose by name lists must return a non-null value from getPresentation(): element SmaliClass(CLASS), class org.jf.smalidea.psi.impl.SmaliClass

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.AssertionError

      Cannot read a name from the name table in a font.

      at com.aspose.slides.p6a2feef8.pbdb106a0.pa2137a2a.a.do()
    2. com.aspose.slides
      Slide.getThumbnail
      1. com.aspose.slides.p6a2feef8.pbdb106a0.pa2137a2a.a.do(Unknown Source)
      2. com.aspose.slides.pa2137a2a.p9f36407e.ad.if(Unknown Source)
      3. com.aspose.slides.pa2137a2a.p9f36407e.ad.try(Unknown Source)
      4. com.aspose.slides.pa2137a2a.p9f36407e.ad.do(Unknown Source)
      5. com.aspose.slides.pa2137a2a.p9f36407e.l.do(Unknown Source)
      6. com.aspose.slides.pa2137a2a.p9f36407e.l.<init>(Unknown Source)
      7. com.aspose.slides.pa2137a2a.p9f36407e.i.case(Unknown Source)
      8. com.aspose.slides.pa2137a2a.p9f36407e.i.try(Unknown Source)
      9. com.aspose.slides.pa2137a2a.p9f36407e.i.do(Unknown Source)
      10. com.aspose.slides.tv.do(Unknown Source)
      11. com.aspose.slides.tt.<init>(Unknown Source)
      12. com.aspose.slides.bhs.for(Unknown Source)
      13. com.aspose.slides.bhs.while(Unknown Source)
      14. com.aspose.slides.bgn.do(Unknown Source)
      15. com.aspose.slides.bgn.do(Unknown Source)
      16. com.aspose.slides.bgn.do(Unknown Source)
      17. com.aspose.slides.bgn.<init>(Unknown Source)
      18. com.aspose.slides.TextFrame.do(Unknown Source)
      19. com.aspose.slides.AutoShape.do(Unknown Source)
      20. com.aspose.slides.AutoShape.do(Unknown Source)
      21. com.aspose.slides.GroupShape.do(Unknown Source)
      22. com.aspose.slides.Slide.do(Unknown Source)
      23. com.aspose.slides.Slide.do(Unknown Source)
      24. com.aspose.slides.Slide.getThumbnail(Unknown Source)
      24 frames
    3. com.atlassian.plugins
      SlidesConverter.generateThumbnailDirect
      1. com.atlassian.plugins.conversion.convert.image.SlidesConverter.generateThumbnailDirect(Unknown Source)
      1 frame
    4. com.atlassian.confluence
      JVMConversionRunnable.run
      1. com.atlassian.confluence.plugins.conversion.impl.runnable.JVMConversionRunnable.doWork(JVMConversionRunnable.java:67)
      2. com.atlassian.confluence.plugins.conversion.impl.runnable.ConversionRunnable.run(ConversionRunnable.java:39)
      3. com.atlassian.confluence.plugins.conversion.impl.runnable.JVMConversionRunnable.run(JVMConversionRunnable.java:18)
      3 frames
    5. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      2. java.util.concurrent.FutureTask.run(FutureTask.java:266)
      3. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      5. java.lang.Thread.run(Thread.java:745)
      5 frames