lttng: Fix AttributeNotFoundException when dealing with event before state dump
authorMarc-Andre Laperle <marc-andre.laperle@ericsson.com>
Thu, 29 Oct 2015 22:22:15 +0000 (18:22 -0400)
committerMarc-Andre Laperle <marc-andre.laperle@ericsson.com>
Fri, 30 Oct 2015 16:39:08 +0000 (12:39 -0400)
Change-Id: I6fcd21928d1430f1e450dede276eefa3820493fe
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/59297
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-by: Hudson CI
lttng/org.eclipse.tracecompass.lttng2.ust.core/src/org/eclipse/tracecompass/lttng2/ust/core/analysis/debuginfo/UstDebugInfoAnalysisModule.java

index 8cdac0b4058b23464c7e6640c07c9c5d881cee5f..a529aba78d0c551ed413f9218b6cb6caff372d06 100644 (file)
@@ -190,6 +190,9 @@ public class UstDebugInfoAnalysisModule extends TmfStateSystemAnalysisModule {
             .collect(Collectors.toCollection(TreeSet::new));
 
         final Long potentialBaddr = possibleBaddrs.floor(ip);
+        if (potentialBaddr == null) {
+            return null;
+        }
 
         /* Make sure the 'ip' fits in the expected memory range */
         try {
This page took 0.028417 seconds and 5 git commands to generate.