SAP Adapter produces NullPointerException

Hi,

We wanted to add a Ressource to a SAP System and successfully configured the ressource (-> the connection test was successful at least). We did not configure anything else, just went on with defaults.

IDM is on SP1

Our user has SAP_ALL and SAP_NEW rights.

JC0 Version is 2.1.7, RFC Version is 6.40

When we try to load the user data from the ressource, nothing is returned. if we want to add a user the ressource, a java.lang.NullPointerException occurs.

A look at the JCO trace shows the stack trace (or just a part of it?), here is the last snippet:

at com.sap.mw.jco.JCO.setProperty

at com.sap.mw.jco.JCO.setTracePath

com.waveset.adapter.SAPRessourceAdapter.setupJCOTrace

com.waveset.adapter.SAPRessourceAdapter.connect

com.waveset.adapter.SAPRessourceAdapter.connect

com.waveset.adapter.SAPRessourceAdapter.startConnection

com.waveset.adapter.SAPRessourceAdapter.getUser

com.waveset.adapter.RessourceAdapterProxy.getUser

[...]

ANY ideas are apppreciated! I hope someone has an idea?

Greetings

[1111 byte] By [rawagona] at [2007-11-26 8:53:02]
# 1
after spending some more frustrating hours, we found a solution...getting back to JCO version 2.1.6 solved the issuejust dropping htis here - perhaps this could help someone
rawagona at 2007-7-6 22:46:58 > top of Java-index,Web & Directory Servers,Directory Servers...
# 2

1 Jco traces always the stack trace, if somebody set up the trace or other global settings. What you saw isn't an exception at all.

2 Before you frustrate next time, just add some logging into your code and look for exceptions thrown by JCo - it could help to solve or at least to understand the troubles.

jcoexpert at 2007-7-6 22:46:58 > top of Java-index,Web & Directory Servers,Directory Servers...