Task Statistics View - OPEN ERROR
Brought to you by:
ruttenm
1.Start TimeDoctor
2.Open sample.tdi
3.Drag QUEUES's line into TASKS section
4.Window > Show View > Task Statistics
error occurs
my approach:
com.nxp.timedoctor.core.model.statistics.TraceStatistic.java
---
private void createContents() {
Section tasks = traceModel.getSections().getSection(LineType.TASKS);
if (tasks != null) {
for (SampleLine line : tasks.getLines()) {
//-----------------------------------------
if(line.getType() == LineType.TASKS
|| line.getType() == LineType.ISRS
|| line.getType() == LineType.AGENTS){
//expected
}else{
continue;
}
//-----------------------------------------
Statistic task = new TaskStatistic(this, traceModel, line);
addChild(task);
}
}
}
---