cancel
Showing results for 
Search instead for 
Did you mean: 

Null Pointer exception occurs after RFC Reimport

Former Member
0 Kudos

Hi all,

     I have one RFC need to be reimported as modification in import parameter sturcture. After do that, I re-build all Model binding for this RFC. and it's work when I run the application. However, I found Null Pointer exception when I run other RFCs which have no change  in the same project. I guess the problem is due to invalid binding for other RFCs as I fixed it before by rebuild all  Model binding and related Content binding. It's not a easy task..

Does anyone have suggestion to prevent this problem or fix it?  Thanks.

Accepted Solutions (0)

Answers (2)

Answers (2)

junwu
Active Contributor
you have to check your code.
Former Member
0 Kudos

Hi Jack,

Have you invalidated the ARFC Cache?  There is a known "feature" with RFC based WD models when you make a change to the interface signature in the backend system, that can cause issues when you re-import and then run an application.

Whilst I've never experienced the specific problem you are describing, of changing RFC A but RFC B failing, I still think the first thing you should do is resolve the ARFC Cache.

There are two ways of doing this - restart your server which will completely clear the cache or use the SAP delivered application to clear specific entries.  See here http://www.google.co.uk/url?sa=t&rct=j&q=&esrc=s&frm=1&source=web&cd=2&ved=0CGMQFjAB&url=http%3A%2F%... for more info.

Gareth.

Former Member
0 Kudos

Thank for your reply. I have invalidated ARFC Cache, but problem still exist.