Skip to Content
0
Former Member
Sep 16, 2014 at 03:40 AM

Null Pointer Exception: Dynamic Configuration

160 Views

Hi,

I am getting a null pointer exception in dynamic configuration

Below is the screenshot of input queue and error.

Code:

DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);

DynamicConfigurationKey key = DynamicConfigurationKey.create("http:/" + "/sap.com/xi/XI/System/File","FileName");

conf.put(key,strCompCodeDesc);

return strCompCodeDesc;

Please guide.

Thanks & Regards,

Nida

Attachments

NullException.PNG (53.0 kB)