cancel
Showing results for 
Search instead for 
Did you mean: 

Error while creating aRFC model in NWDS

Former Member
0 Kudos

Hi,

I am trying to import an RFC module from an R/3 system(as mentioned in the WebDynPro <i>FlightList</i> tutorial). I am able to connect to the R/3 system and view the different function modules that exist on the system. However, when I select one of the modules and proceed to the generation step, I get an error as shown below:

[Info]: Creating Model: FlightModel

[Error]: Error in creating Dictionary converter

[Fatal]: java.lang.NullPointerException: null

I am using NWDS 710 and JCo 2.1.8.

Has anybody faced this issue before/could suggest a solution?

Thanks,

Sreejith

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

I don't know if this is related, but I had similar strange problems importing models when I used an older version of C:\WINDOWS\system32\librfc32.dll.

(it was replaced every time i logged into my computer by some updating program)

Check the dll and compare with the version installed by the NWDS installation.

The SAPGui installation replaces this dll, so if you install an older SAPGui after installing NWDS, it could give you strange behaviours when importing modules.

Former Member
0 Kudos

Hi Mikael,

I did a re-install of NWDS and i have ensured that the dll is not being replaced, but still i'm not able to import the models. Any other suggestions...

former_member751941
Active Contributor
0 Kudos

Hi Sreejith,

Close your NWDS IDE then open IDE and then try to create the Model.

Till if you face same problem then close NWDS.Delete <b>.metadata </b>

Import existing project and try.

Regards,

Mithu

Former Member
0 Kudos

Hi Mithu,

Thanks for the suggestion, but deleting the .metadata did not help...

Answers (2)

Answers (2)

Former Member
0 Kudos

Could you check the log file in:

C:\Documents and Settings\<username>\Documents\SAP\workspace\.metadata\.log

What does it say other than nullpointer exception?

Former Member
0 Kudos

Hi Mikael,

There was just the nullpointerexception; looked strange to me. However, i did an update of the IDE, and now the import is working fine. Thanks guys, for all the suggestions

Regards,

Sreejith

Former Member
0 Kudos

Hi Sreejith

Try This

1)Goto Your Project Folder[ C:\Documents and Settings\<user name>\Documents\SAP\workspace\] this is the default directory

2) Goto <b>.metadata</b> folder

3) There you can find a <b>.registry</b> file - remove that file [better to take a backup so that if some thing happens you can paste the same <b>.registry</b> file]

4) Now reopen Developer Studio and try again

Regards

Chaitanya.A