java.lang.NullPointerException

GitHub | GoogleCodeExporter | 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

    OutOfMemory

    GitHub | 1 year ago | tobeorla
    org.apache.poi.xwpf.converter.core.XWPFConverterException: java.lang.NullPointerException
  2. 0

    java.lang.NullPointerException when converting DocX to html

    GitHub | 8 months ago | ZidZabre
    org.apache.poi.xwpf.converter.core.XWPFConverterException: java.lang.NullPointerException
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    GitHub comment 155#241414848

    GitHub | 8 months ago | ZidZabre
    org.apache.poi.xwpf.converter.core.XWPFConverterException: java.lang.NullPointerException
  5. 0

    Apache POI converter, docx to pdf exception

    Stack Overflow | 6 months ago | MeetJoeBlack
    org.apache.poi.xwpf.converter.core.XWPFConverterException: java.lang.IllegalArgumentException: The number of columns in PdfPTable constructor must be greater than zero.

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at org.apache.poi.xwpf.converter.core.utils.XWPFTableUtil.getWidth()
    2. org.apache.poi
      AbstractXWPFConverter.convert
      1. org.apache.poi.xwpf.converter.core.utils.XWPFTableUtil.getWidth(XWPFTableUtil.java:273)
      2. org.apache.poi.xwpf.converter.core.utils.XWPFTableUtil.computeColWidths(XWPFTableUtil.java:284)
      3. org.apache.poi.xwpf.converter.core.utils.XWPFTableUtil.computeColWidths(XWPFTableUtil.java:127)
      4. org.apache.poi.xwpf.converter.core.XWPFDocumentVisitor.visitTable(XWPFDocumentVisitor.java:867)
      5. org.apache.poi.xwpf.converter.core.XWPFDocumentVisitor.visitBodyElements(XWPFDocumentVisitor.java:251)
      6. org.apache.poi.xwpf.converter.pdf.internal.PdfMapper.visitHeader(PdfMapper.java:185)
      7. org.apache.poi.xwpf.converter.pdf.internal.PdfMapper.visitHeader(PdfMapper.java:111)
      8. org.apache.poi.xwpf.converter.core.XWPFDocumentVisitor.visitHeaderRef(XWPFDocumentVisitor.java:1137)
      9. org.apache.poi.xwpf.converter.core.MasterPageManager.visitHeadersFooters(MasterPageManager.java:213)
      10. org.apache.poi.xwpf.converter.core.MasterPageManager.addSection(MasterPageManager.java:180)
      11. org.apache.poi.xwpf.converter.core.MasterPageManager.compute(MasterPageManager.java:127)
      12. org.apache.poi.xwpf.converter.core.MasterPageManager.initialize(MasterPageManager.java:90)
      13. org.apache.poi.xwpf.converter.core.XWPFDocumentVisitor.visitBodyElements(XWPFDocumentVisitor.java:232)
      14. org.apache.poi.xwpf.converter.core.XWPFDocumentVisitor.start(XWPFDocumentVisitor.java:199)
      15. org.apache.poi.xwpf.converter.pdf.PdfConverter.doConvert(PdfConverter.java:56)
      16. org.apache.poi.xwpf.converter.pdf.PdfConverter.doConvert(PdfConverter.java:38)
      17. org.apache.poi.xwpf.converter.core.AbstractXWPFConverter.convert(AbstractXWPFConverter.java:45)
      17 frames
    3. fr.opensagres.xdocreport
      XWPF2PDFViaITextConverter.convert
      1. fr.opensagres.xdocreport.converter.docx.poi.itext.XWPF2PDFViaITextConverter.convert(XWPF2PDFViaITextConverter.java:67)
      1 frame
    4. Unknown
      DocToPdfUsingXdocReport.main
      1. DocToPdfUsingXdocReport.convertToPdf(DocToPdfUsingXdocReport.java:43)
      2. DocToPdfUsingXdocReport.main(DocToPdfUsingXdocReport.java:19)
      2 frames