Originally posted by: snutakki
Hai All,
I am trying to run the Java Class Adapter example given in Mercator to run in our UNIX environment and I am having trouble running it.
I did put the jar file path in the dstx.ini file .
When i try to run the maps i get an exception as shown below
Here is a excerpt from javatrace.log created when i ran the map. What do i need to fix this . Any help is greatly appreciated.
<17039-077>: | | | | | | | | | Exception caught : class java.lang.reflect.InvocationTargetException
<17039-077>: | | | | | | | | | Localized Message : null
<17039-077>: | | | | | | | | | Message : null
<17039-077>: | | | | | | | | | Stack trace :
<17039-077>: | | | | | | | | | java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.ascentialsoftware.m4java.MAdapterImpl.invokeMethodsAndGenerateOutput(MAdapterImpl.java:993)
at com.ascentialsoftware.m4java.MAdapterImpl.performClassOperation(MAdapterImpl.java:667)
at com.ascentialsoftware.m4java.MAdapterImpl.get(MAdapterImpl.java:251)
Caused by: java.lang.NullPointerException
at MainClass.function1(MainClass.java:21)
thanks,
cai
#IBM-Websphere-Transformation-Extender#IBMSterlingTransformationExtender#DataExchange