diff --git a/src/explorviz/live_trace_processing/filter/reconstruction/TraceReconstructionBuffer.java b/src/explorviz/live_trace_processing/filter/reconstruction/TraceReconstructionBuffer.java index bb561e73ad879deec78f1b70be4a3bd64f8a714b..57675813c5a832602ec2221635c3ea01ffeccd09 100644 --- a/src/explorviz/live_trace_processing/filter/reconstruction/TraceReconstructionBuffer.java +++ b/src/explorviz/live_trace_processing/filter/reconstruction/TraceReconstructionBuffer.java @@ -74,7 +74,10 @@ class TraceReconstructionBuffer { final Stack<AbstractBeforeEventRecord> stack = new Stack<AbstractBeforeEventRecord>(); for (final AbstractEventRecord event : events) { if (event instanceof AbstractBeforeEventRecord) { - stack.push((AbstractBeforeEventRecord) event); + final AbstractBeforeEventRecord beforeEvent = (AbstractBeforeEventRecord) event; + beforeEvent.setRuntimeStatisticInformation(new RuntimeStatisticInformation(1, -1, + -1)); // TODO if invalid trace would be null... + stack.push(beforeEvent); } else if ((event instanceof AbstractAfterEventRecord) || (event instanceof AbstractAfterFailedEventRecord)) { if (!stack.isEmpty()) {