java.lang.NullPointerException

Stack Overflow | David | 11 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    xHTMLImporter.convert(String, null) null pointer exception

    Stack Overflow | 11 months ago | David
    java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at org.docx4j.finders.RangeFinder.apply()
    2. docx4j
      XHTMLImporterImpl.convert
      1. org.docx4j.finders.RangeFinder.apply(RangeFinder.java:59)
      2. org.docx4j.finders.RangeFinder.walkJAXBElements(RangeFinder.java:106)
      3. org.docx4j.finders.RangeFinder.walkJAXBElements(RangeFinder.java:109)
      4. org.docx4j.finders.RangeFinder.walkJAXBElements(RangeFinder.java:109)
      5. org.docx4j.finders.RangeFinder.walkJAXBElements(RangeFinder.java:109)
      6. org.docx4j.finders.RangeFinder.walkJAXBElements(RangeFinder.java:109)
      7. org.docx4j.finders.RangeFinder.walkJAXBElements(RangeFinder.java:109)
      8. org.docx4j.TraversalUtil.<init>(TraversalUtil.java:209)
      9. org.docx4j.convert.in.xhtml.BookmarkHelper.initBookmarkIdStart(BookmarkHelper.java:92)
      10. org.docx4j.convert.in.xhtml.BookmarkHelper.getBookmarkId(BookmarkHelper.java:82)
      11. org.docx4j.convert.in.xhtml.BookmarkHelper.anchorToBookmark(BookmarkHelper.java:187)
      12. org.docx4j.convert.in.xhtml.XHTMLImporterImpl.traverse(XHTMLImporterImpl.java:834)
      13. org.docx4j.convert.in.xhtml.XHTMLImporterImpl.traverse(XHTMLImporterImpl.java:1236)
      14. org.docx4j.convert.in.xhtml.XHTMLImporterImpl.traverse(XHTMLImporterImpl.java:1216)
      15. org.docx4j.convert.in.xhtml.XHTMLImporterImpl.traverse(XHTMLImporterImpl.java:1216)
      16. org.docx4j.convert.in.xhtml.XHTMLImporterImpl.traverse(XHTMLImporterImpl.java:796)
      17. org.docx4j.convert.in.xhtml.XHTMLImporterImpl.convert(XHTMLImporterImpl.java:680)
      17 frames
    3. com.simat.export
      ModuleToDocxSFDGenerator.docxParser
      1. com.simat.export.docx.ModuleToDocxSFDGenerator.ajoutDescription(ModuleToDocxSFDGenerator.java:1683)
      2. com.simat.export.docx.ModuleToDocxSFDGenerator.ajoutMaquettes(ModuleToDocxSFDGenerator.java:788)
      3. com.simat.export.docx.ModuleToDocxSFDGenerator.ecritureCURecursive(ModuleToDocxSFDGenerator.java:434)
      4. com.simat.export.docx.ModuleToDocxSFDGenerator.ecritureCURecursive(ModuleToDocxSFDGenerator.java:377)
      5. com.simat.export.docx.ModuleToDocxSFDGenerator.ecritureCU(ModuleToDocxSFDGenerator.java:345)
      6. com.simat.export.docx.ModuleToDocxSFDGenerator.lancerExportDocx(ModuleToDocxSFDGenerator.java:196)
      7. com.simat.export.docx.ModuleToDocxSFDGenerator.docxParser(ModuleToDocxSFDGenerator.java:176)
      7 frames
    4. com.simat.test
      TestSFD.main
      1. com.simat.test.TestSFD.main(TestSFD.java:109)
      1 frame