on 2009 Jan 15 4:23 PM
Hello,
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();
res.getService(IUWLService.ALIAS_KEY);
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?
Best Regards,
Iris
I am still interested in answers to this topic.
Please advice why I get this NullPointerException?
Regards,
Iris
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
57 | |
11 | |
7 | |
6 | |
6 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.