@Test
public void nestedExceptionsWithNACausesShouldBeDisregarded() {

    final JsonJqTransform t = new JsonJqTransform(objectMapper);
    final Workflow w = new Workflow();
    final Task task = new Task();
    final Map<String, Object> inputData = new HashMap<>();
    inputData.put("queryExpression", "{officeID: (.inputJson.OIDs | unique)[], requestedIndicatorList: .inputJson.requestedindicatorList}");
    final Map<String, Object> inputJson = new HashMap<>();
    inputJson.put("OIDs", Collections.singletonList("VALUE"));
    final Map<String, Object> indicatorList = new HashMap<>();
    indicatorList.put("indicator", "AFA");
    indicatorList.put("value", false);
    inputJson.put("requestedindicatorList", Collections.singletonList(indicatorList));
    inputData.put("inputJson", inputJson);
    task.setInputData(inputData);
    task.setOutputData(new HashMap<>());
    t.start(w, task, null);
    Assert.assertTrue(((String)task.getOutputData().get("error")).startsWith("Encountered \" \"[\" \"[ \"\" at line 1"));
}