cancel
Showing results for 
Search instead for 
Did you mean: 

Random model exception in WD application

Amey-Mogare
Contributor
0 Kudos

Hi,

I am using NWDS CE 7.1 Ehp1.

I have 3 web dynpro DCs in which I have imported a ARFC2 model for same RFC.

This application was working fine in all three landscapes dev, test and prod.

There was a change in table type parameter in this RFC which is working fine when tested from SAP.

I re-imported this model in 2 out of 3, WD DCs and transported in dev, test and prod.

Since then I am facing following issue: -

Application works fine sometimes and sometimes it gives following exception:-

java.lang.IllegalArgumentException: Target role name 'About_Me' not defined for model class 'com.vendor.javaportal.homepage.userdetails.userdetails.Z_Empprof_Getdetails_Output'

at com.sap.tc.cm.base.model.BaseGenericModelClass.retrieveTargetRoleInfo(BaseGenericModelClass.java:104)

at com.sap.tc.cm.base.model.BaseGenericModelClass.setRelatedModelObjectsInternal(BaseGenericModelClass.java:562)

at com.sap.tc.cm.base.model.BaseGenericModelClass.setRelatedModelObjects(BaseGenericModelClass.java:537)

at com.sap.tc.cm.arfc2.model.ARFC2GenericModelClass.setRelatedModelObjects(ARFC2GenericModelClass.java:490)

at com.sap.tc.cm.arfc2.gci.ARFC2TypedModelClass.setRelatedModelObjects(ARFC2TypedModelClass.java:199)

... 76 more

I did some preliminary investigations: -

1. I initially thought about a transport problem on one of the AS but prod server has only one single AS.

2. The RFC has been tested in SAP R3 in all application servers and is working fine.

3. JCO connections from WD to SAP are up and running fine.

Any idea what is going wrong here?

I also tried to reimport model for two erroneous DCs and created a activity each and transported to Prod.

but still same strange behavior!

Please help.

Regards,

Amey

Accepted Solutions (0)

Answers (1)

Answers (1)

pradeep_kumar5
Active Participant
0 Kudos

Hi Mogare,

Re-import the model and try again..Hope it may works

Regards,

Pradeep Kumar

Amey-Mogare
Contributor
0 Kudos

Hi Pradeep,

Thanks for reply, but I have already re-imported the model and transported it.

Still I get this exception.

First time when I re imported the model after RFC change, it showed some deltas in re import.

I transported this activity to prod and I started getting this exception randomly.

Sometimes the application works fine but sometimes it runs into above mentioned exception.

So I re imported the model (this time it didnt show any deltas) and transported that activity to prod.

but still no success!

junwu
Active Contributor
0 Kudos

have you cleared the cache at server side?

Amey-Mogare
Contributor
0 Kudos

Hi John,

I didnt know how clear just the cache at server side. Hence I asked BASIS team to restart the server.

Affected applications are working fine after server restart.

I referred to SAP note : Note 1479970 - Changes in RFC modules are not reflected in Java Server

https://service.sap.com/sap/support/notes/1479970