java.lang.ArrayIndexOutOfBoundsException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Build failed in Jenkins: POI-OpenJDK #104
    via by Apache Jenkins Server,
  • Build failed in Jenkins: POI-OpenJDK #104
    via by Apache Jenkins Server,
  • Font issue on jasper reports
    via Stack Overflow by dakairus
    ,
  • 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}
    via by Denise Unterwurzacher,
  • Call Jasper Report / Ireport From Java Application
    via by Unknown author,
    • java.lang.ArrayIndexOutOfBoundsException: 0 at sun.font.ExtendedTextSourceLabel.createCharinfo(ExtendedTextSourceLabel.java:608) at sun.font.ExtendedTextSourceLabel.getCharinfo(ExtendedTextSourceLabel.java:508) at sun.font.ExtendedTextSourceLabel.getLineBreakIndex(ExtendedTextSourceLabel.java:454) at java.awt.font.TextMeasurer.calcLineBreak(TextMeasurer.java:325) at java.awt.font.TextMeasurer.getLineBreakIndex(TextMeasurer.java:561) at java.awt.font.LineBreakMeasurer.nextOffset(LineBreakMeasurer.java:358) at java.awt.font.LineBreakMeasurer.nextLayout(LineBreakMeasurer.java:440) at org.apache.poi.xslf.usermodel.XSLFTextParagraph.breakText(XSLFTextParagraph.java:931) at org.apache.poi.xslf.usermodel.XSLFTextShape.breakText(XSLFTextShape.java:483) at org.apache.poi.xslf.usermodel.XSLFTextShape.drawContent(XSLFTextShape.java:491) at org.apache.poi.xslf.usermodel.RenderableShape.render(RenderableShape.java:543) at org.apache.poi.xslf.usermodel.XSLFSimpleShape.draw(XSLFSimpleShape.java:534) at org.apache.poi.xslf.usermodel.XSLFSheet.draw(XSLFSheet.java:506) at org.apache.poi.xslf.usermodel.XSLFSlide.draw(XSLFSlide.java:220) at org.apache.poi.xslf.usermodel.TestPPTX2PNG.render(TestPPTX2PNG.java:50) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.junit.runners.Suite.runChild(Suite.java:128) at org.junit.runners.Suite.runChild(Suite.java:27) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.junit.runner.JUnitCore.run(JUnitCore.java:137) at org.junit.runner.JUnitCore.run(JUnitCore.java:115) at org.junit.runner.JUnitCore.run(JUnitCore.java:105) at org.junit.runner.JUnitCore.run(JUnitCore.java:94) at org.apache.poi.util.OOXMLLite.build(OOXMLLite.java:96) at org.apache.poi.util.OOXMLLite.main(OOXMLLite.java:82)
    No Bugmate found.