Skip to main content
Known Participant
October 5, 2026
Question

While converting doc to pdf error : Null Arguments are Invalid

Syntax error in template "fr.opensagres.xdocreport.document.docx.DocxReport@54af48fb!word/document.xml" in line 4, column 32945:
Encountered "<", but was expecting one of these patterns:
    <STRING_LITERAL>
    <RAW_STRING>
    "false"
    "true"
    <INTEGER>
    <DECIMAL>
    "."
    "+"
    "-"
    "!"
    "["
    "("
    "{"
    <ID>
======================================================
<dynamic><claimName>GA-2023-402 PT-061-C11</claimName><bt>$324,999.00</bt><btm>$0.00</btm><pea>$303,996.16</pea><pelm>$0.00</pelm><ceaward>$15,224.20</ceaward><celm>$0.00</celm><pba>$5,778.65</pba><pblm>$0.00</pblm><batch>2023-0148-EXTERNAL</batch><date>10/5/2026</date><des>GA-2023-402 PT-061</des><claimId>1902</claimId><fundsourceDes></fundsourceDes><fundamt>$15,224.20</fundamt><invoicedate>10/5/2026</invoicedate><invoicenumber>GOHS-2023-061-C11</invoicenumber><poNum></poNum><achAcc>6</achAcc><vendornumber>14610</vendornumber><vendorname>Hall County Sheriff's Office</vendorname><addresscode>11</addresscode><address>12325 summer ln, charlotte, 28277</address><userName>Rhonda Anderson</userName><title>Claim/Payment Request 2023</title><edtable fSourceD='' Sr='1' amt='$15,224.20' accnt='707002' fund='10112' dept='46627402' program='5680101' cCentr='[GAI Ref Cost Center costCenterId=1, costCenterDescription=46600-NHTSA SEC 402][GAI Ref Cost Center costCenterId=2, costCenterDescription=46600-NHTSA 405]' description='GA-2023-402 PT-061' bugRef='2023' /><csdtable BudgetCategory='Regular Operating Expenses' CurrentExpenseAward='$0.00' CurrentExpenseLocalMatch='$0.00' PendingBalanceAward='$0.00' PendingBalanceLocalMatch='$0.00' /><csdtable BudgetCategory='Travel' CurrentExpenseAward='$1,336.50' CurrentExpenseLocalMatch='$0.00' PendingBalanceAward='$1,775.74' PendingBalanceLocalMatch='$0.00' /><csdtable BudgetCategory='Equipment Purchases' CurrentExpenseAward='$0.00' CurrentExpenseLocalMatch='$0.00' PendingBalanceAward='$1,389.00' PendingBalanceLocalMatch='$0.00' /><csdtable BudgetCategory='Contractual Services' CurrentExpenseAward='$0.00' CurrentExpenseLocalMatch='$0.00' PendingBalanceAward='$0.00' PendingBalanceLocalMatch='$0.00' /><csdtable BudgetCategory='Per Diem &amp; Fees' CurrentExpenseAward='$0.00' CurrentExpenseLocalMatch='$0.00' PendingBalanceAward='$0.00' PendingBalanceLocalMatch='$0.00' /><csdtable BudgetCategory='Computer Charges and Computer Equipment' CurrentExpenseAward='$0.00' CurrentExpenseLocalMatch='$0.00' PendingBalanceAward='$0.00' PendingBalanceLocalMatch='$0.00' /><csdtable BudgetCategory='Telecommunication' CurrentExpenseAward='$0.00' CurrentExpenseLocalMatch='$0.00' PendingBalanceAward='$0.00' PendingBalanceLocalMatch='$0.00' /><csdtable BudgetCategory='Motor Vehicle Purchase' CurrentExpenseAward='$0.00' CurrentExpenseLocalMatch='$0.00' PendingBalanceAward='$0.00' PendingBalanceLocalMatch='$0.00' /><csdtable BudgetCategory='Rent/Real Estates' CurrentExpenseAward='$0.00' CurrentExpenseLocalMatch='$0.00' PendingBalanceAward='$0.00' PendingBalanceLocalMatch='$0.00' /><csdtable BudgetCategory='Personnel Services - Salary' CurrentExpenseAward='$0.00' CurrentExpenseLocalMatch='$0.00' PendingBalanceAward='$0.00' PendingBalanceLocalMatch='$0.00' /><csdtable BudgetCategory='Personnel Services - Fringe Benefits' CurrentExpenseAward='$0.00' CurrentExpenseLocalMatch='$0.00' PendingBalanceAward='$0.00' PendingBalanceLocalMatch='$0.00' /><csdtable BudgetCategory='Personnel Services - Salary &amp; Fringe Benefits' CurrentExpenseAward='$0.00' CurrentExpenseLocalMatch='$0.00' PendingBalanceAward='$0.00' PendingBalanceLocalMatch='$0.00' /><csdtable BudgetCategory='Enforcement/Activity Hours' CurrentExpenseAward='$13,887.70' CurrentExpenseLocalMatch='$0.00' PendingBalanceAward='$2,613.90' PendingBalanceLocalMatch='$0.00' /><csdtable BudgetCategory='Total' CurrentExpenseAward='$15,224.20' CurrentExpenseLocalMatch='$0.00' PendingBalanceAward='$5,778.64' PendingBalanceLocalMatch='$0.00' /></dynamic>

 

4 replies

harshas2775
Brainy
October 5, 2026

Which smart service are you using? Also, check your XML if its correctly formatted and rendering properly in an XML Viewer online. 

Happy to help. Even happier to optimize.
Known Participant
October 5, 2026

I am using DOCX From Dynamic Template & PDF From DOCX When i try to add or modify any new field in word document it is giving error while generating Word document in PM 

 

sanchitg0002
Inspiring
October 5, 2026

Can you check if all the attributes you are using in your docx template are unique?

mathieud0001
Genius
October 6, 2026

XML looks OK. Would need to see the template to see what is wrong.