tmf: Catch exceptions and gracefully fail state providers
authorMatthew Khouzam <matthew.khouzam@ericsson.com>
Fri, 14 Oct 2016 21:21:00 +0000 (17:21 -0400)
committerGenevieve Bastien <gbastien+lttng@versatic.net>
Mon, 20 Feb 2017 13:58:16 +0000 (08:58 -0500)
commite2b025750e218df58163c6cd9a8a43ec6dcfcb6a
tree2de267f8585b0616225671b351311553acddf1cf
parentbe7cf478142a73a43c01e1e69f3f286d027d2519
tmf: Catch exceptions and gracefully fail state providers

Partially fixes 504078.

When a runtime exception occurs in a state provider, it enters
sink mode, does not read more events and fails gracefully.

Change-Id: I9c8bde9561cc2fd6d49b699b7632a4594e4ec744
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/83277
Reviewed-by: Hudson CI
tmf/org.eclipse.tracecompass.tmf.core.tests/src/org/eclipse/tracecompass/tmf/core/tests/statesystem/StateSystemAnalysisModuleTest.java
tmf/org.eclipse.tracecompass.tmf.core.tests/stubs/org/eclipse/tracecompass/tmf/tests/stubs/analysis/TestStateSystemProvider.java
tmf/org.eclipse.tracecompass.tmf.core/src/org/eclipse/tracecompass/tmf/core/analysis/TmfAbstractAnalysisModule.java
tmf/org.eclipse.tracecompass.tmf.core/src/org/eclipse/tracecompass/tmf/core/statesystem/AbstractTmfStateProvider.java
tmf/org.eclipse.tracecompass.tmf.core/src/org/eclipse/tracecompass/tmf/core/statesystem/ITmfStateProvider.java
tmf/org.eclipse.tracecompass.tmf.core/src/org/eclipse/tracecompass/tmf/core/statesystem/TmfStateSystemAnalysisModule.java
This page took 0.025602 seconds and 5 git commands to generate.