java.lang.IndexOutOfBoundsException: Index: 0, Size: 0

Atlassian JIRA | Paula Silveira [Atlassian] | 1 year ago
  1. 0

    h3. Summary Confluence pages without any character on the page cannot be exported to PDF. !Screen Shot 2015-09-25 at 9.56.45 AM.png|thumbnail! h3. Environment * Confluence Cloud h3. Steps to Reproduce # Create a Confluence page # Add a tittle, but no content # Save the page and then try exporting to PDF h3. Expected Results PDF file is generated h3. Actual Results {code}Cause com.atlassian.confluence.importexport.ImportExportException: Exception while rendering the PDF document /data/jirastudio/confluence/home/temp/pdfexport-20150925-250915-1458-137/IRISDOC-Clients-250915-1458-138.pdf at com.atlassian.confluence.extra.flyingpdf.FlyingSaucerXmlToPdfConverter.convertXhtmlToPdf(FlyingSaucerXmlToPdfConverter.java:102) caused by: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 at java.util.ArrayList.rangeCheck(ArrayList.java:653) Stack Trace:[hide] com.atlassian.confluence.importexport.ImportExportException: Exception while rendering the PDF document /data/jirastudio/confluence/home/temp/pdfexport-20150925-250915-1458-137/IRISDOC-Clients-250915-1458-138.pdf at com.atlassian.confluence.extra.flyingpdf.FlyingSaucerXmlToPdfConverter.convertXhtmlToPdf(FlyingSaucerXmlToPdfConverter.java:102) at com.atlassian.confluence.extra.flyingpdf.FlyingSaucerXmlToPdfConverter.convertXhtmlToPdf(FlyingSaucerXmlToPdfConverter.java:49) at com.atlassian.confluence.extra.flyingpdf.FlyingSaucerPdfExporterService.createPdfForPage(FlyingSaucerPdfExporterService.java:111) at com.atlassian.confluence.extra.flyingpdf.ExportPageAsPdfAction.execute(ExportPageAsPdfAction.java:27) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:168){code} !Screen Shot 2015-09-25 at 9.58.52 AM.png|thumbnail! h3.Workaround -

    Atlassian JIRA | 1 year ago | Paula Silveira [Atlassian]
    java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
  2. 0

    h3. Summary Confluence pages without any character on the page cannot be exported to PDF. !Screen Shot 2015-09-25 at 9.56.45 AM.png|thumbnail! h3. Environment * Confluence Cloud h3. Steps to Reproduce # Create a Confluence page # Add a tittle, but no content # Save the page and then try exporting to PDF h3. Expected Results PDF file is generated h3. Actual Results {code}Cause com.atlassian.confluence.importexport.ImportExportException: Exception while rendering the PDF document /data/jirastudio/confluence/home/temp/pdfexport-20150925-250915-1458-137/IRISDOC-Clients-250915-1458-138.pdf at com.atlassian.confluence.extra.flyingpdf.FlyingSaucerXmlToPdfConverter.convertXhtmlToPdf(FlyingSaucerXmlToPdfConverter.java:102) caused by: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 at java.util.ArrayList.rangeCheck(ArrayList.java:653) Stack Trace:[hide] com.atlassian.confluence.importexport.ImportExportException: Exception while rendering the PDF document /data/jirastudio/confluence/home/temp/pdfexport-20150925-250915-1458-137/IRISDOC-Clients-250915-1458-138.pdf at com.atlassian.confluence.extra.flyingpdf.FlyingSaucerXmlToPdfConverter.convertXhtmlToPdf(FlyingSaucerXmlToPdfConverter.java:102) at com.atlassian.confluence.extra.flyingpdf.FlyingSaucerXmlToPdfConverter.convertXhtmlToPdf(FlyingSaucerXmlToPdfConverter.java:49) at com.atlassian.confluence.extra.flyingpdf.FlyingSaucerPdfExporterService.createPdfForPage(FlyingSaucerPdfExporterService.java:111) at com.atlassian.confluence.extra.flyingpdf.ExportPageAsPdfAction.execute(ExportPageAsPdfAction.java:27) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:168){code} !Screen Shot 2015-09-25 at 9.58.52 AM.png|thumbnail! h3.Workaround -

    Atlassian JIRA | 1 year ago | Paula Silveira [Atlassian]
    java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
  3. 0

    java.lang.IndexOutOfBoundsException: Invalid index 8, size is 0

    programask.com | 1 year ago
    java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Java + MongoDB: Updating fields in amount of document

    Stack Overflow | 10 months ago | yunfeng
    java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
  6. 0

    GATK | GATK | Tagged #indelrealigner

    broadinstitute.org | 6 months ago
    java.lang.IndexOutOfBoundsException: Index: 0, Size: 0

  1. Mark 2 times, last 4 months ago
3 unregistered visitors
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.IndexOutOfBoundsException

    Index: 0, Size: 0

    at java.util.ArrayList.rangeCheck()
  2. Java RT
    ArrayList.rangeCheck
    1. java.util.ArrayList.rangeCheck(ArrayList.java:653)
    1 frame