In the first instance:-
> error unpacking field 32 org.jpos.iso.ISOException:
> org.jpos.iso.IFE_LLNUM: Problem unpacking field 32
> (java.lang.ArrayIndexOutOfBoundsException: 447)
The IFE_LLNUM is hitting a part of the data that it takes as a length,
but the data interpreted generates a length which exceeds the available
bytes in the dump.
In the second:-
> If I change the datatype org.jpos.iso.IFE_LLCHAR to
> org.jpos.iso.IFE_CHAR then the error disappear… However it says array
> out of bound exception for the field where I not set any value to
> that field in my message.
Dropping the length part of the field allow this field to now take the
length number of bytes, but will push all of the following fields in the
dump out.
If you make sure your packager *exactly* matches the message format (and
thus dump), all will be well.
If you add a Logger to the packager, that will help you. If you can't
see what is wrong, post the packager *and* the log output *and* he dump
(in a format we can read (hexadecimal perhaps). Someone here will spot
your error.
You should note that the exercise of building or using the correct
packager is something you should already have done, on a field by filed
basis. Avoiding this step causes *us* work 8).
--
Mark