It seems that when I call global map in tMap with ((Integer)globalMap.get("sipr")) it returns null pointer exception. I insert variable into global Map from tJavaRow with globalMap.put("sipr",sipr); type is integer any suggestions???
Hi,
That most likely means that the put has not been executed before the get, or the put has put a null sipr. You can verify this with the debugger.
Daniel
Hi Guys,
Yup, it returns null and you must handle the null value properly. You could put a condition like this :
((Integer)globalMap.get("sipr")) == null ? 0: ((Integer)globalMap.get("sipr"))