java.lang.ArrayIndexOutOfBoundsException: -1

Atlassian JIRA | Denise Unterwurzacher | 5 years ago
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

    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. {code} 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( at java.awt.font.LineBreakMeasurer.nextLayout( at java.awt.font.LineBreakMeasurer.nextLayout( at com.benryan.ppt.ParagraphLayout.layoutParagraph( at com.benryan.escher.EscherRenderer.drawText( at com.benryan.escher.EscherRenderer.renderTextBox( at com.benryan.escher.EscherRenderer.walkShapes( at com.benryan.ppt.PptRenderer.render( at com.benryan.conversion.PPtDocumentConversionTask.convertFile( at com.benryan.conversion.PPtDocumentConversionTask.convertFile( at at java.util.concurrent.FutureTask$Sync.innerRun( at at java.util.concurrent.ThreadPoolExecutor$Worker.runTask( at java.util.concurrent.ThreadPoolExecutor$ at {code}

    Atlassian JIRA | 5 years ago | Denise Unterwurzacher
    java.lang.ArrayIndexOutOfBoundsException: -1
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    Build failed in Jenkins: POI-OpenJDK #104

    poi-dev | 2 years ago | Apache Jenkins Server
    java.lang.ArrayIndexOutOfBoundsException: 0
  4. 0

    Build failed in Jenkins: POI-OpenJDK #104

    poi-dev | 2 years ago | Apache Jenkins Server
    java.lang.ArrayIndexOutOfBoundsException: 0

    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.ArrayIndexOutOfBoundsException


      at java.awt.font.LineBreakMeasurer.nextOffset()
    2. Java RT
      1. java.awt.font.LineBreakMeasurer.nextOffset(
      2. java.awt.font.LineBreakMeasurer.nextLayout(
      3. java.awt.font.LineBreakMeasurer.nextLayout(
      3 frames
    3. com.benryan.ppt
      1. com.benryan.ppt.ParagraphLayout.layoutParagraph(
      1 frame
    4. com.benryan.escher
      1. com.benryan.escher.EscherRenderer.drawText(
      2. com.benryan.escher.EscherRenderer.renderTextBox(
      3. com.benryan.escher.EscherRenderer.walkShapes(
      3 frames
    5. com.benryan.ppt
      1. com.benryan.ppt.PptRenderer.render(
      1 frame
    6. com.benryan.conversion
      1. com.benryan.conversion.PPtDocumentConversionTask.convertFile(
      2. com.benryan.conversion.PPtDocumentConversionTask.convertFile(
      3 frames
    7. Java RT
      1. java.util.concurrent.FutureTask$Sync.innerRun(
      3. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(
      4. java.util.concurrent.ThreadPoolExecutor$
      5 frames