cancel
Showing results for 
Search instead for 
Did you mean: 

Reimporting of Adaptive RFC model

Former Member
0 Kudos

Hi all, I have added two fields in the BAPI and i have reimported the Adaptive RFC model in Web Dynpro.

After running the application and accessing the new fields, i am getting this exception.

java.lang.ArrayIndexOutOfBoundsException

at com.sap.mw.jco.JCO$MetaData.getType(JCO.java:10161)

What could be the reason?

Accepted Solutions (1)

Accepted Solutions (1)

suresh_krishnamoorthy
Active Contributor
0 Kudos

Hi,

I can see that you have reimported the model for updating new changes in BAPI we have to restart J2EE server .

ArrayIndexOutOfBoundsException : Error comes when you try to get a value from node with index that does not exist. check the node size and get the value.

Regards, Suresh KB

Former Member
0 Kudos

hai,

whenever u reimport your model you need to restart your j2ee server as the buffer will contain some old values.try restarting your server.

regards

Sharanya.R

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

As the error states MetaData.getType it seems that the new changes are not yet reflected in the J2EE server. You need to restart your engine once. You can search this forum for a workaround by Valery which doesnot need a restart.

Regards

Ayyapparaj