lttng.ust: Properly null-check the debug info state system
authorMarc-Andre Laperle <marc-andre.laperle@ericsson.com>
Wed, 29 Jun 2016 21:25:33 +0000 (17:25 -0400)
committerMarc-Andre Laperle <marc-andre.laperle@ericsson.com>
Wed, 6 Jul 2016 03:48:11 +0000 (23:48 -0400)
commitc7800cc6484b9edea143bfaf6cbe6bc7f4b02a97
tree886bf834d56fad0d227aa9ad4b4f684a72315df0
parentc2120138bb9831150268cad77019f1e9f1959d52
lttng.ust: Properly null-check the debug info state system

When opening a trace, some views (callstack etc.) might request
binaries before the state system is properly loaded,
so the checkNotNull() check can fail. Actually reply that the
information is not available, instead of breaking the whole trace.

Change-Id: Iba14ac2ffac6f01d45bba4dba9f946372777b5db
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/76255
Reviewed-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@efficios.com>
Tested-by: Alexandre Montplaisir <alexmonthy@efficios.com>
lttng/org.eclipse.tracecompass.lttng2.ust.core/src/org/eclipse/tracecompass/lttng2/ust/core/analysis/debuginfo/UstDebugInfoAnalysisModule.java
This page took 0.027232 seconds and 5 git commands to generate.