Throwable thrown = new NullPointerException("TESTING NULL POINTER");
String userId = "file";
ExceptionsData eData = new ExceptionsData();
Logfile log = new Logfile(userId, session);
TestLogFileTask task = new TestLogFileTask(em, log);
DbInsertion dbInsertion = new DbInsertion(rec, thrown, task);
dbInsertion.start(eData);
task.markFinished();
waitIssuezillaInsertionFinished();
if ((Boolean) eData.isDuplicateReport()) {
if (!isReopen){
assertAreDuplicates(rootId, eData.getSubmitId());
}else{