java.lang.ArrayIndexOutOfBoundsException: 0

Oracle Community | DavideGuastalli | 2 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

    [SOLVED]Blob image from a custom function

    Oracle Community | 2 years ago | DavideGuastalli
    java.lang.ArrayIndexOutOfBoundsException: 0

    Root Cause Analysis

    1. java.lang.ArrayIndexOutOfBoundsException

      0

      at oracle.xdo.common.image.ImageReader.checkFormat()
    2. oracle.xdo.common
      ImageReader.load
      1. oracle.xdo.common.image.ImageReader.checkFormat(ImageReader.java:131)
      2. oracle.xdo.common.image.ImageReader.analyze(ImageReader.java:315)
      3. oracle.xdo.common.image.ImageReader.load(ImageReader.java:528)
      3 frames
    3. oracle.xdo.generator
      ProxyStreamGenerator.getImage
      1. oracle.xdo.generator.pdf.PDFGenerator.createPDFImageReference(PDFGenerator.java:3255)
      2. oracle.xdo.generator.pdf.PDFGenerator.getImage(PDFGenerator.java:3393)
      3. oracle.xdo.generator.pdf.PDFGenerator.getImage(PDFGenerator.java:3382)
      4. oracle.xdo.generator.ProxyStreamGenerator.getImage(ProxyStreamGenerator.java:121)
      4 frames
    4. oracle.xdo.template
      FOHandler.endElement
      1. oracle.xdo.template.fo.area.AreaTree.getImage(AreaTree.java:780)
      2. oracle.xdo.template.fo.area.InstreamForeignObjectArea.loadImage(InstreamForeignObjectArea.java:82)
      3. oracle.xdo.template.fo.area.InstreamForeignObjectArea.init(InstreamForeignObjectArea.java:151)
      4. oracle.xdo.template.fo.area.GraphicArea.<init>(GraphicArea.java:83)
      5. oracle.xdo.template.fo.area.InstreamForeignObjectArea.<init>(InstreamForeignObjectArea.java:51)
      6. oracle.xdo.template.fo.elements.FOInstreamForeignObject.doLayout(FOInstreamForeignObject.java:134)
      7. oracle.xdo.template.fo.elements.FOInline.doLayout(FOInline.java:147)
      8. oracle.xdo.template.fo.elements.FOInline.doLayout(FOInline.java:83)
      9. oracle.xdo.template.fo.elements.FOBlock.doLayout(FOBlock.java:332)
      10. oracle.xdo.template.fo.elements.FOBlock.doLayout(FOBlock.java:228)
      11. oracle.xdo.template.fo.elements.FOBlock.doLayout(FOBlock.java:142)
      12. oracle.xdo.template.fo.elements.FOFlow.doLayout(FOFlow.java:86)
      13. oracle.xdo.template.fo.elements.FormattingEngine.startLayout(FormattingEngine.java:252)
      14. oracle.xdo.template.fo.elements.FormattingEngine.run(FormattingEngine.java:143)
      15. oracle.xdo.template.fo.FOHandler.endElement(FOHandler.java:729)
      15 frames
    5. oracle.xdo.common
      XSLTMerger.startElement
      1. oracle.xdo.common.xml.XSLTHandler$EEEntry.sendEvent(XSLTHandler.java:595)
      2. oracle.xdo.common.xml.XSLTMerger.startElement(XSLTMerger.java:51)
      2 frames
    6. oracle.xdo11g.parser
      XMLParser.parse
      1. oracle.xdo11g.parser.v2.XMLContentHandler.startElement(XMLContentHandler.java:182)
      2. oracle.xdo11g.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1322)
      3. oracle.xdo11g.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:366)
      4. oracle.xdo11g.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:312)
      5. oracle.xdo11g.parser.v2.XMLParser.parse(XMLParser.java:218)
      5 frames
    7. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      4. java.lang.reflect.Method.invoke(Unknown Source)
      4 frames
    8. oracle.xdo.common
      XDOSAXParser.parse
      1. oracle.xdo.common.xml.XDOSAXParser.invokeParse(XDOSAXParser.java:166)
      2. oracle.xdo.common.xml.XDOSAXParser.parse(XDOSAXParser.java:122)
      2 frames
    9. oracle.xdo.template
      FOProcessor.generate
      1. oracle.xdo.template.fo.FOProcessingEngine.process(FOProcessingEngine.java:408)
      2. oracle.xdo.template.FOProcessor.generate(FOProcessor.java:1220)
      2 frames
    10. Unknown
      RTF2PDF2.main
      1. RTF2PDF2.runRTFto(RTF2PDF2.java:473)
      2. RTF2PDF2.runXDO(RTF2PDF2.java:337)
      3. RTF2PDF2.main(RTF2PDF2.java:230)
      3 frames