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

Atlassian JIRA | Stephen Brannen | 1 year ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  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 | 1 year 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 | 1 year ago | Stephen Brannen
    java.util.concurrent.ExecutionException: java.lang.AssertionError: Cannot read a name from the name table in a font.
  3. 0

    [Solr-user] Re: SolrTestCaseJ4 Error: "java.lang.RuntimeException: java.io.IOException: Can't find resource..." - Grokbase

    grokbase.com | 1 year ago
    java.lang.AssertionError: fix your classpath to have tests-framework.jar before lucene-core.jar* at __randomizedtesting.SeedInfo.seed([50225DA1F52F32BB]:0) at org.apache.lucene.util.TestRuleSetupAndRestoreClassEnv.before(TestRuleSetupAndRestoreClassEnv.java:189) at org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:45) at org.apache.lucene.util.TestRuleStoreClassName$1.evaluate(TestRuleStoreClassName.java:42) at com.carrotsearch.randomizedtesting.rules.SystemPropertiesInvariantRule$1.evaluate(SystemPropertiesInvariantRule.java:55) at com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:39) at com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:39) at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36) at org.apache.lucene.util.TestRuleAssertionsRequired$1.evaluate(TestRuleAssertionsRequired.java:43) at org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:48) at org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:70) at org.apache.lucene.util.TestRuleIgnoreTestSuites$1.evaluate(TestRuleIgnoreTestSuites.java:55) at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36) at com.carrotsearch.randomizedtesting.ThreadLeakControl$StatementRunner.run(ThreadLeakControl.java:358)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Recovery a fairly large crawl on crawling013, getting following exception: 10/13/2005 01:16:57 +0000 FINE org.archive.crawler.frontier.BdbFrontier put Restoring: 146.145.120.3 10/13/2005 01:16:57 +0000 FINE org.archive.crawler.frontier.BdbFrontier put Restoring: 168.8.216.16 java.lang.NullPointerException at java.util.TreeMap.compare(TreeMap.java:1093) at java.util.TreeMap.put(TreeMap.java:465) at java.util.TreeSet.add(TreeSet.java:210) at java.util.Collections$SynchronizedCollection.add(Collections.java:1581) at org.archive.crawler.frontier.BdbFrontier$4.put(BdbFrontier.java:326) at org.archive.crawler.frontier.BdbFrontier.put(BdbFrontier.java:375) at org.archive.crawler.frontier.BdbFrontier.resurrectOneQueueState(BdbFrontier .java:359) at org.archive.crawler.frontier.BdbFrontier.resurrectQueueState(BdbFrontier.ja va:329) at org.archive.crawler.frontier.BdbFrontier.initQueue(BdbFrontier.java:272) at org.archive.crawler.frontier.WorkQueueFrontier.initialize(WorkQueueFrontier .java:269) at org.archive.crawler.frontier.BdbFrontier.initialize(BdbFrontier.java:467) at org.archive.crawler.framework.CrawlController.setupCrawlModules(CrawlContro ller.java:652) at org.archive.crawler.framework.CrawlController.initialize(CrawlController.ja va:378) at org.archive.crawler.admin.CrawlJob.startCrawling(CrawlJob.java:777) at org.archive.crawler.admin.CrawlJobHandler.startNextJobInternal(CrawlJobHand ler.java:1120) at org.archive.crawler.admin.CrawlJobHandler$2.run(CrawlJobHandler.java:1103) at java.lang.Thread.run(Thread.java:595) Later adding asserts, I see that for the key '146.145.120.3', there is not item in allqueues: Exception in thread "StartNextJob" java.lang.AssertionError: null is null: 146.145.120.3 at org.archive.crawler.frontier.BdbFrontier.put(BdbFrontier.java:374) at org.archive.crawler.frontier.BdbFrontier.resurrectOneQueueState(BdbFrontier .java:354) at org.archive.crawler.frontier.BdbFrontier.resurrectQueueState(BdbFrontier.ja va:329) at org.archive.crawler.frontier.BdbFrontier.initQueue(BdbFrontier.java:272) at org.archive.crawler.frontier.WorkQueueFrontier.initialize(WorkQueueFrontier .java:269) at org.archive.crawler.frontier.BdbFrontier.initialize(BdbFrontier.java:467) at org.archive.crawler.framework.CrawlController.setupCrawlModules(CrawlContro ller.java:652) at org.archive.crawler.framework.CrawlController.initialize(CrawlController.ja va:378) at org.archive.crawler.admin.CrawlJob.startCrawling(CrawlJob.java:777) at org.archive.crawler.admin.CrawlJobHandler.startNextJobInternal(CrawlJobHand ler.java:1120) at org.archive.crawler.admin.CrawlJobHandler$2.run(CrawlJobHandler.java:1103) at java.lang.Thread.run(Thread.java:595)

    JIRA | 1 decade ago | Michael Stack
    java.lang.AssertionError: null is null: 146.145.120.3 at org.archive.crawler.frontier.BdbFrontier.put(BdbFrontier.java:374) at org.archive.crawler.frontier.BdbFrontier.resurrectOneQueueState(BdbFrontier .java:354) at org.archive.crawler.frontier.BdbFrontier.resurrectQueueState(BdbFrontier.ja va:329) at org.archive.crawler.frontier.BdbFrontier.initQueue(BdbFrontier.java:272) at org.archive.crawler.frontier.WorkQueueFrontier.initialize(WorkQueueFrontier .java:269) at org.archive.crawler.frontier.BdbFrontier.initialize(BdbFrontier.java:467) at org.archive.crawler.framework.CrawlController.setupCrawlModules(CrawlContro ller.java:652) at org.archive.crawler.framework.CrawlController.initialize(CrawlController.ja va:378) at org.archive.crawler.admin.CrawlJob.startCrawling(CrawlJob.java:777) at org.archive.crawler.admin.CrawlJobHandler.startNextJobInternal(CrawlJobHand ler.java:1120) at org.archive.crawler.admin.CrawlJobHandler$2.run(CrawlJobHandler.java:1103)

    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