Hi Ryan
I was building the function hashmap and it gave me an error for the last function step below
The function is not able to get the global container parameter matmap it seems
"
- HashMap<String, ArrayList<String>> matMap = (HashMap<String, ArrayList<String>>) container.getGlobalContainer().getParameter("matmap");
- for(int i = 0; i < var1.length; i++)
- {
- ArrayList<String> al = matMap.get(var1[i]);
- matMap.remove(var1[i]);
- for(int j = 0; j < al.size(); j++)
- {
- result.addValue(al.get(j));
- }
- }
Exception:[java.lang.NullPointerException: while trying to invoke the method java.util.HashMap.get(java.lang.Object) of a null object loaded from a local variable at slot 4] in class com.sap.xi.tf._MM_hashmap_ method ExtractTupleFromMAT[[Ljava.lang.String;@373ed4ce, com.sap.aii.mappingtool.tf7.rt.ResultListImpl@7e053cb7, com.sap.aii.mappingtool.tf7.rt.Context@9d55304]
See error logs for details
thx
mike