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

Office Connector throws an ArrayIndexOutOfBounds exception trying to display a powerpoint.

    XMLWordPrintable

Details

    Description

      I have a powerpoint presentation which is causing the below error.
      We have saved is a ppt, and as an odt and reconverted back to ppt and the same behaviour occurs.
      I have removed all content and saved a blank slide with the template and the slide displays.
      I reinserted the text and removed the bullet points on a single slide version of file, and the file displayed.
      I went back to a 2 slide version of the file with bullet points, and the error occurred.
      I removed the bullet points, and the error still occurred.
      I ensured the layouts were not overlapping and were well within the frame, and the error still occurred.

      2012-05-07 18:12:15,998 WARN [http-10420-1] [com.benryan.conversion.PPTSlideServlet] doGet Conversion task timed out for attachment : 2012 WFO Introduction to Infrastructure.ppt with page number 0, waited : 300, now executing in background.
       -- url: /plugins/servlet/pptslide | userName: charlie
      2012-05-07 18:12:17,162 ERROR [DefaultSlideCacheManager:thread-3] [com.benryan.conversion.AbstractSlideConversionTask] call problem while converting 2012 wfo introduction to infrastructure.ppt
       -- url: /plugins/servlet/pptslide | userName: charlie
      java.lang.ArrayIndexOutOfBoundsException: -1
      	at java.awt.font.LineBreakMeasurer.nextOffset(LineBreakMeasurer.java:346)
      	at java.awt.font.LineBreakMeasurer.nextLayout(LineBreakMeasurer.java:422)
      	at java.awt.font.LineBreakMeasurer.nextLayout(LineBreakMeasurer.java:395)
      	at com.benryan.ppt.ParagraphLayout.layoutParagraph(ParagraphLayout.java:236)
      	at com.benryan.escher.EscherRenderer.drawText(EscherRenderer.java:361)
      	at com.benryan.escher.EscherRenderer.renderTextBox(EscherRenderer.java:636)
      	at com.benryan.escher.EscherRenderer.walkShapes(EscherRenderer.java:240)
      	at com.benryan.ppt.PptRenderer.render(PptRenderer.java:128)
      	at com.benryan.conversion.PPtDocumentConversionTask.convertFile(PPtDocumentConversionTask.java:54)
      	at com.benryan.conversion.PPtDocumentConversionTask.convertFile(PPtDocumentConversionTask.java:15)
      	at com.benryan.conversion.AbstractSlideConversionTask.call(AbstractSlideConversionTask.java:44)
      	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      	at java.lang.Thread.run(Thread.java:662)
      

      Attachments

        Issue Links

          Activity

            People

              kmacleod Kenny MacLeod
              dunterwurzacher Denise Unterwurzacher [Atlassian] (Inactive)
              Votes:
              44 Vote for this issue
              Watchers:
              59 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: