When trying to convert the text file into pdf,we are getting the below exception.
Attaching all the files which are failing . We are using java Aspose 2.7.0 .(Even its failing in 2.9.0)
Here is the code sample :
String data = readFileContent(fileName);
pdf = new Pdf();
Section sec = pdf.getSections().add();
Text text = new Text(sec,data);