Skip to content
Snippets Groups Projects
Commit 50c050b9 authored by Florian Fittkau's avatar Florian Fittkau
Browse files

fixed null runtime

parent 8c43bdcc
No related branches found
No related tags found
No related merge requests found
......@@ -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()) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment