java.lang.ArrayIndexOutOfBoundsException: -1

Atlassian JIRA | Denise Unterwurzacher | 5 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards 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(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) {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

      -1

      at java.awt.font.LineBreakMeasurer.nextOffset()
    2. Java RT
      LineBreakMeasurer.nextLayout
      1. java.awt.font.LineBreakMeasurer.nextOffset(LineBreakMeasurer.java:346)
      2. java.awt.font.LineBreakMeasurer.nextLayout(LineBreakMeasurer.java:422)
      3. java.awt.font.LineBreakMeasurer.nextLayout(LineBreakMeasurer.java:395)
      3 frames
    3. com.benryan.ppt
      ParagraphLayout.layoutParagraph
      1. com.benryan.ppt.ParagraphLayout.layoutParagraph(ParagraphLayout.java:236)
      1 frame
    4. com.benryan.escher
      EscherRenderer.walkShapes
      1. com.benryan.escher.EscherRenderer.drawText(EscherRenderer.java:361)
      2. com.benryan.escher.EscherRenderer.renderTextBox(EscherRenderer.java:636)
      3. com.benryan.escher.EscherRenderer.walkShapes(EscherRenderer.java:240)
      3 frames
    5. com.benryan.ppt
      PptRenderer.render
      1. com.benryan.ppt.PptRenderer.render(PptRenderer.java:128)
      1 frame
    6. com.benryan.conversion
      AbstractSlideConversionTask.call
      1. com.benryan.conversion.PPtDocumentConversionTask.convertFile(PPtDocumentConversionTask.java:54)
      2. com.benryan.conversion.PPtDocumentConversionTask.convertFile(PPtDocumentConversionTask.java:15)
      3. com.benryan.conversion.AbstractSlideConversionTask.call(AbstractSlideConversionTask.java:44)
      3 frames
    7. Java RT
      Thread.run
      1. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      2. java.util.concurrent.FutureTask.run(FutureTask.java:138)
      3. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      5. java.lang.Thread.run(Thread.java:662)
      5 frames