I'm getting the following error

when I try to create a PDF using the Java Pdf Library I get the following error when trying to save.
Any Ideas what could cause this error?

<!–[if gte mso 9]>
<w:WordDocument>
<w:View>Normal</w:View>
<w:Zoom>0</w:Zoom>
<w:TrackMoves/>
<w:TrackFormatting/>
<w:PunctuationKerning/>
<w:ValidateAgainstSchemas/>
<w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid>
<w:IgnoreMixedContent>false</w:IgnoreMixedContent>
<w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText>
<w:DoNotPromoteQF/>
<w:LidThemeOther>EN-GB</w:LidThemeOther>
<w:LidThemeAsian>X-NONE</w:LidThemeAsian>
<w:LidThemeComplexScript>X-NONE</w:LidThemeComplexScript>
<w:Compatibility>
<w:BreakWrappedTables/>
<w:SnapToGridInCell/>
<w:WrapTextWithPunct/>
<w:UseAsianBreakRules/>
<w:DontGrowAutofit/>
<w:SplitPgBreakAndParaMark/>
<w:EnableOpenTypeKerning/>
<w:DontFlipMirrorIndents/>
<w:OverrideTableStyleHps/>
</w:Compatibility>
<w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
<m:mathPr>
<m:mathFont m:val=“Cambria Math”/>
<m:brkBin m:val=“before”/>
<m:brkBinSub m:val="–"/>
<m:smallFrac m:val=“off”/>
<m:dispDef/>
<m:lMargin m:val=“0”/>
<m:rMargin m:val=“0”/>
<m:defJc m:val=“centerGroup”/>
<m:wrapIndent m:val=“1440”/>
<m:intLim m:val=“subSup”/>
<m:naryLim m:val=“undOvr”/>
</m:mathPr></w:WordDocument>
<![endif]–><!–[if gte mso 10]>

/* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-parent:""; mso-padding-alt:0cm 5.4pt 0cm 5.4pt; mso-para-margin:0cm; mso-para-margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:10.0pt; font-family:"Times New Roman","serif";}

<![endif]–>

Caused by: java.lang.RuntimeException: java.lang.RuntimeException: Fill method error.

at com.idbs.ewb.print.pdf.advance.custom.aspose.PDFGenerator.generatePDF(PDFGenerator.java:71)

at com.idbs.ewb.print.pdf.advance.ui.printable.SpreadsheetItemPDFPrintable.createPreviewdataForSheet(SpreadsheetItemPDFPrintable.java:413)

....

Caused by: java.lang.RuntimeException: Fill method error.

at aspose.pdf.figure.Aax.Q(SourceFile:205)

at aspose.pdf.figure.Aax.a(SourceFile:302)

at aspose.pdf.xml.Aan.a(SourceFile:58)

at aspose.pdf.xml.Abc.a(SourceFile:766)

at aspose.pdf.xml.Acv.a(SourceFile:147)

at aspose.pdf.xml.Abu.a(SourceFile:200)

at aspose.pdf.xml.Aas.a(SourceFile:100)

at aspose.pdf.xml.Aba.a(SourceFile:122)

at aspose.pdf.Pdf.save(SourceFile:1172)

at aspose.pdf.Pdf.save(SourceFile:1118)

at com.idbs.ewb.print.pdf.advance.custom.aspose.PDFGenerator.generatePDF(PDFGenerator.java:67)

... 19 more


Hi Paul,

Please share your sample code with us to help us generate the issue at our end. This will help us identify the cause of the issue soon.

Sorry for the inconvenience,