EXX - Internal error: name rt_resize code 1368 subcode 6

During a EXX RPC communication between a Java client & a Natural server, we have the following error:

SYJOB-6N 9999 NAT6245 Internal error: name rt_resize code 1368 subcode 6, NE=01,SYJOB-6N999901O

Here is the corresponding IDL file:
Program ‘SYJOB-6N’ Is
Define Data Parameter
1 SYJOB-6N-IN In
2 #ACTION (A1)
2 #CKEY (AV)
2 #CORD (A1)
2 #IEXE (A1)
1 SYJOB-6A
2 #SYJOB-1A
3 NJOB (N9.0)
3 CJOB (A8)
3 CTYPJOB (A1)
3 TJOB (T)
3 CCLAJOB (A2)
3 CPRIJOB (N2.0)
3 CDISJOB (A1)
3 ICLASTP (A1)
3 ISEQSTP (A1)
3 IALTUSR (A1)
3 CSTEGES (A3)
3 CSIT (A3)
3 PIDJOB (A32)
3 CETAJOB (A8)
3 CUSRJOB (A8)
3 TDEMJOB (T)
3 TSTAJOB (T)
3 DSTAJOB (A8)
3 TDEBJOB (T)
3 TFINJOB (T)
3 TLIMJOB (T)
3 CRETCOD (A2)
3 NRETRY (N2.0)
3 TRETRY (A2)
3 CORIJOB (A16)
3 XUSRLOG (A32)
3 XSYSLOG (A32)
3 CUSRMOD (A8)
3 TMOD (T)
3 CBATMOD (A8)
3 TBATMOD (T)
3 XMAILSYS (A60)
3 DRECHLD (T)
2 SYJOBDETS
3 #SYJOBDET (/1:V)
4 NJOBDET (N9.0)
4 NSEQJOB (N3.0)
4 CNIV (N2.0)
4 CPRG (A8)
4 CETADET (A8)
4 NWRK (N2.0)
4 CWRK (A32)
4 NLSTDET (N2.0)
4 CLSTDET (A8)
4 CDSTDET (A4)
4 CCLALSTDET (A2)
4 CDISLSTDET (A1)
4 QCOPLSTDET (N2.0)
4 CBATMODDET (A8)
4 TBATMODDET (T)
4 XPRMEXE (A70/1:15)
2 SYLSTS
3 #SYLST (/1:V)
4 NJOBLST (N9.0)
4 NSEQJOBLST (N3.0)
4 NLST (N2.0)
4 CLST (A8)
4 CCLALST (A2)
4 CDST (A4)
4 CDISLST (A1)
4 CUSRLST (A8)
4 TLST (T)
4 DLST (A8)
4 CUSRMODLST (A8)
4 TUSRMODLST (T)
4 CBATMODLST (A8)
4 TBATMODLST (T)
4 PIDLST (I4)
4 CETALST (A8)
4 XNOMLST (A250)
4 QCOPLST (N2.0)
4 CTYPLST (A1)
4 QBYT (A9)
1 SYJOB-6A-I
2 #NISNREC (P10.0)
2 #XKEY (A32)
2 #XKEY-FIND (A32)

1 ERROR  Out
	2 #E-OCCURED (L)
	2 #E-CPGMERR (AV)
	2 #E-CCATERR (AV)
	2 #E-NLIGERR (N4.0)
	2 ERROR-XARRAY (/1:V)
		3 #E-CFIELD (AV)
		3 #E-CFIELD-IDX1 (I4)
		3 #E-CFIELD-IDX2 (I4)
		3 #E-NERR (I4)
		3 #E-XDSCERR (AV)
		3 #E-XDSCERR-P (AV/1:3)

End-Define

The problem seems come from the array “#SYJOBDET (/1:V)” having a variable size. In the Java client, if its array isn’t initialized (null value) the communication work the first time. The second call with the same data generate the error.

In another way, If the array is initialized with one element in the Java client the same error is generated.

Here you are the Java code corresponding to the second example:
rpcParamA = library.getSyjob_6nSyjob_6a();
rpcParamA._syjob_1a = library.new Syjob_6nSyjob_6a_syjob_1a();

rpcParamA.syjobdets = library.new Syjob_6nSyjob_6aSyjobdets();
rpcParamA.syjobdets._syjobdet = new Syjob_6nSyjob_6aSyjobdets_syjobdet[1];
rpcParamA.syjobdets._syjobdet[0] = library.new Syjob_6nSyjob_6aSyjobdets_syjobdet();

Who can help us to understand where is the problem?

Best Regards

Problem is already under investigation.