We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

DOCX to PDF Conversion throws java.lang.IllegalStateException


We are getting frequest java.lang.IllegalStateException while converting simple DOCX to PDF conversion at buildreport level.

reportingEngine.buildReport(document, emp,“emp”);


	at asposewobfuscated._d1e1eb10edf94334be03def857b7192c.getValue(Unknown Source)
	at asposewobfuscated.zzMC.getValue(Unknown Source)
	at asposewobfuscated.zzZ.zzZ(Unknown Source)
	at asposewobfuscated.zzMF.evaluate(Unknown Source)
	at asposewobfuscated.zzC3.zzZ(Unknown Source)
	at asposewobfuscated.zzFT.zzY(Unknown Source)
	at asposewobfuscated.zzVU.zzZ(Unknown Source)
	at asposewobfuscated.zzC5.zzZ(Unknown Source)
	at asposewobfuscated.zzET.zzZ(Unknown Source)
	at com.aspose.words.ReportingEngine.buildReport(Unknown Source)
	at com.aspose.words.ReportingEngine.buildReport(Unknown Source)

We are using aspose-words 17.5 version.

Template has very Simple text as following:
<<[emp.getFirstName()]>> <<[emp.getLastName()]>>


To ensure a timely and accurate response, please attach the following resources here for testing:

  • Your input Word document.
  • Please create a simple Java application (source code without compilation errors) that helps us to reproduce your problem on our end and attach it here for testing.

As soon as you get these pieces of information ready, we will start investigation into your issue and provide you more information. Thanks for your cooperation.

PS: To attach these resources, please zip and upload them.