org.docx4j.openpackaging.exceptions.Docx4JException

Exception executing /ns0:case[1]/ns0:bnumber[1]

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web27

  • Exception executing /ns0:case[1]/ns0:bnumber[1]
  • Problems evaluating xpath '/ns0:properties[1]/documentManagement[1]/ns3:Current_x0020_Version[1]'
  • via GitHub by tomike
    , 1 year ago
    Exception executing transformer: org.apache.fop.fo.ValidationException: For "fo:root", "fo:layout-master-set" must be declared before "fo:page-sequence"! (See position 1:159)
  • Stack trace

    • org.docx4j.openpackaging.exceptions.Docx4JException: Exception executing
    • s0:case[1]
    • s0:bnumber[1] at org.docx4j.openpackaging.parts.XmlPart.cachedXPathGetString(XmlPart.java:241) at org.docx4j.openpackaging.parts.CustomXmlDataStoragePart.cachedXPathGetString(CustomXmlDataStoragePart.java:166) at org.docx4j.model.datastorage.BindingHandler.xpathGetString(BindingHandler.java:319) at org.docx4j.model.datastorage.BindingTraverserXSLT.xpathGenerateRuns(BindingTraverserXSLT.java:925) at org.docx4j.model.datastorage.BindingTraverserXSLT.xpathGenerateRuns(BindingTraverserXSLT.java:873)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.