Problem with getFieldValue

Hallo,

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:
form
- 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 1.9.0.0).

The code for testing:
try {
Form myForm;
myForm = new Form(“simpletest.pdf”);
System.out.println(myForm.getFullFieldName(“form_id”));
System.out.println(myForm.getFieldType(“Formular1[0].form_id[0]”));
System.out.println(myForm.getFieldValue(“Formular1[0].form_id[0]”));
} catch (Exception e) {
System.out.println(e.getMessage());
}

The output ist:
Formular1[0].form_id[0]
4
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!
pame

Hi,

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.

Thanks.

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.