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

Free Support Forum - aspose.com

Verify Error While creating report using LINQ

Hello,


I am facing below exception while creating a word document using LINQ.
java.lang.VerifyError: (class: asposewobfuscated/_f82e88f67dca41fdaf2a34a18d4a9c56, method: setValue signature: (Lasposewobfuscated/zzO6;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)V) Expecting to find object/array on stack
at java.lang.Class.getDeclaredConstructors0(Native Method)


Template contains a very simple for loop:


<>

<>


Where test Object contains property section alongwith public getters and setter.

Please help me resolving this issue, thanks.

Resolved…



Presence of any public Wrapper member was causing issue in my case.
Resolved by making all Integer and Boolean as private.

Hi Puneet,

Thanks for your inquiry. It is nice to hear from you that you have solved your issue. I suggest you please read the following documentation link for your kind reference.
http://www.aspose.com/docs/display/wordsjava/Working+with+Types

Please let us know if you have any more queries.

Hi Puneet,

We are glad you are interested in the new Reporting engine.

We checked the issue you described.
After the research we will make it possible to use Java wrapper classes as public members.

This functionality will become available with next AW for Java release

Received its fix, thanks a lot.