ctf: fix npe in size() if trace is not inited
authorMatthew Khouzam <matthew.khouzam@ericsson.com>
Thu, 14 Jul 2016 22:10:35 +0000 (18:10 -0400)
committerMatthew Khouzam <matthew.khouzam@ericsson.com>
Mon, 18 Jul 2016 20:20:16 +0000 (16:20 -0400)
commit2eb18950806dd2a4b0c6fcf3c4cb4112d950c979
tree1446acc4afb8e6a6568b72caf8b56a61cc593366
parente0d1bc069e4fd3d7e50c504fd9b8f540456587fd
ctf: fix npe in size() if trace is not inited

This is a race condition that can appear when bulk openning 5-6
ctf traces at onces.

Change-Id: I8f64d373674e6b1b925a43e607763c518f866ccb
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/77361
Reviewed-by: Hudson CI
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
ctf/org.eclipse.tracecompass.tmf.ctf.core/src/org/eclipse/tracecompass/tmf/ctf/core/trace/CtfTmfTrace.java
This page took 0.02581 seconds and 5 git commands to generate.