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

Free Support Forum - aspose.com

Problem with getFieldValue


I have a problem by reading the value from a textfield. I have made a simple PDF-form with Adobe Acrobat LiveCycle Desinger (v. 8). The structur of the PDF-docment is the follow:
- textfield (called form_id, content: 1025)
- masterpage
- subform (called Deckblatt)
- textfield (called form_owner, content: ownerName)

Special is, that I save the file for Acrobat 7.0, dynamic, without tags, without fonts. I attatched the file to this post.

For testing I created a new Java project and added the Aspose.Pdf.Kit libary (version

The code for testing:
try {
Form myForm;
myForm = new Form(“simpletest.pdf”);
} catch (Exception e) {

The output ist:
Exception in thread “main” java.lang.NoClassDefFoundError: org/apache/crimson/tree/ElementNode2
at com.aspose.pdf.kit.Form.getFieldValue(Unknown Source)

Can somebody say me, what is my mistake and how I would do it right?

Thanks a lot!


I have tested this and was able to reproduce the error. I have logged this as PDFKITJAVA-4148 in our issue tracking system. We will try our best to resolve this issue as soon as possible.


Dear Pame,

Thanks for considering out product.

This bug will be checked and fixed in about one week.

Best regards.

Dear Pame,

This bug has been solved. It will be included in the newest Java Release. Please notice our blog .

Sorry for the late information & best regards.