I am developing a new connector for UWL using the UWL API.
At the moment I am trying to test the connector only in CE 7.1. The connector is not deployed to portal now.
Could this be the reason why the following code causes an NullPointerException?
IPortalRuntimeResources res = PortalRuntime.getRuntimeResources();
This code is included in the method afterinit() from the class connectorRegistrationService which implements IconnectorRegistrationService as suggested by UWL-API.
I have checked which object causes the NullPointerException. The value of res = null. And I got also null after PortalRuntime.getVersion();
In portalapp.xml ther e is include: <property name="ServicesReference" value="com.sap.netweaver.bc.uwl"/>
Can anybody tell me if there is an opportunity to avoid such a NullPointerException during testing the connector in the CE 7.1?
Will the exception disappear after deploying the connector into portal?
Who can give advice?