Problem:
My ASN file contains a complex Sequence with Choice and sequence of sequences. And this sequence contains optional fields too.
If i populate those optional fields, am able to encode and decode using the provided binarynotesd.jar.
If i didn't populated those optional fields, am able to encode the java object successfully and failing to decode the same.
Exception:
java.lang.IllegalArgumentException: Sequence 'class com.test.My.SeqType'
size is incorrect! Must be: 6. Received: 7
To resolve this exception, i did a code walk thru and fixed the issue in Decoder.java.
Now am able encode and decode the java object without populating the optional fields.
I want to know the process to upload/submit the modified sources for the purpose of public consumption as this is an Open Source Framework, i want to contribute to this framework.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
SEQ -> CHOICE -> SEQ-> SEQ throws IllegalArgumentExceptionSEQ -> CHOICE -> SEQ-> SEQ throws IllegalArgumentException
Problem:
My ASN file contains a complex Sequence with Choice and sequence of sequences. And this sequence contains optional fields too.
If i populate those optional fields, am able to encode and decode using the provided binarynotesd.jar.
If i didn't populated those optional fields, am able to encode the java object successfully and failing to decode the same.
Exception:
java.lang.IllegalArgumentException: Sequence 'class com.test.My.SeqType'
size is incorrect! Must be: 6. Received: 7
To resolve this exception, i did a code walk thru and fixed the issue in Decoder.java.
Now am able encode and decode the java object without populating the optional fields.
I want to know the process to upload/submit the modified sources for the purpose of public consumption as this is an Open Source Framework, i want to contribute to this framework.
Could you post patch for the issue or patched Decoder.java? I have the same problem.