Hello, I’ve tried to use both Aspose.PDF 17.3 and 17.5 for Java, hoping that this issue would be solved, but seems like it keeps showing up.
The problem is that I can use ComboBoxField successfully on Windows, but running the same code (application) on Linux RedHat 7.2 64bit, both with Apache Tomcat 8.5.15, the select control won’t be added on the generated PDF document.
The constructor used is ComboBoxField combo = new ComboBoxField(pdfDocument, textRect). I’ve successfully added the ComboBoxField on Linux using the new ComboBoxField() constructor, but when I try to set the position (rectangle), the problem shows up again, so I believe there are some problems regarding the positioning rectangle.
Full stack:
com.aspose.pdf.internal.ms.System.z106: Specified method is not supported.
at com.aspose.pdf.internal.p62.z3.m2(Unknown Source)
at com.aspose.pdf.internal.p62.z3.(Unknown Source)
at com.aspose.pdf.internal.p75.z2.m1(Unknown Source)
at com.aspose.pdf.internal.p62.z29.m1(Unknown Source)
at com.aspose.pdf.internal.p63.z6.m1(Unknown Source)
at com.aspose.pdf.internal.p64.z1.m1(Unknown Source)
at com.aspose.pdf.ComboBoxField.m2(Unknown Source)
at com.aspose.pdf.WidgetAnnotation.m1(Unknown Source)
at com.aspose.pdf.Field.updateAppearances(Unknown Source)
at com.aspose.pdf.ComboBoxField.m1(Unknown Source)
at com.aspose.pdf.Field.m1(Unknown Source)
at com.aspose.pdf.Annotation.m1(Unknown Source)
at com.aspose.pdf.Annotation.(Unknown Source)
at com.aspose.pdf.WidgetAnnotation.(Unknown Source)
at com.aspose.pdf.Field.(Unknown Source)
at com.aspose.pdf.ChoiceField.(Unknown Source)
at com.aspose.pdf.ComboBoxField.(Unknown Source)
at pdfconverter.DocumentParser.addSelect(DocumentParser.java:740)
DocumentParser.java @line 740: ComboBoxField combo = new ComboBoxField(pdfDocument, textRect);