Hi,
There is a logical error in the code that cause ArrayIndexOutOfBoundsException error.
In the Line 100 of "CsvToSenMLParse" you are trying to set the basetime by doing:
finalSenML.put("bt", val[timestampField]);
where the val is a string array which only has a single element.
Because you do
m = (String) map.get("D");
String[] val = m.split(",");
The map that you pass to the "doTaskLogic" method from "CsvToSenMLParseBolt" only contains one pair of key and value!!
map.put(AbstractTask.DEFAULT_KEY, (String)input.getValueByField("OBSVAL"));
Could you please advice ?