Fix null pointer exceptions in CtfTmfTrace when location is null
authorPatrick Tasse <patrick.tasse@gmail.com>
Fri, 23 Nov 2012 20:44:09 +0000 (15:44 -0500)
committerPatrick Tasse <patrick.tasse@gmail.com>
Fri, 23 Nov 2012 21:14:37 +0000 (16:14 -0500)
commit575beffced5d145122e291b5aa204a5e7a86476a
treeff6be6c656a3baf55931312daa4b0e2ba6b6e039
parentb0422293064bba890d4b2953766d04d4932f2fc1
Fix null pointer exceptions in CtfTmfTrace when location is null

This can happen when calling seekEvent(ITmfTimestamp) in TmfTrace with a
time stamp that is past the end of the trace.

Change-Id: I5656b196164925f8179768f9958be1fc1b040550
Reviewed-on: https://git.eclipse.org/r/8801
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
IP-Clean: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/ctfadaptor/CtfIteratorManager.java
org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/ctfadaptor/CtfTmfLightweightContext.java
org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/ctfadaptor/CtfTmfTrace.java
This page took 0.025018 seconds and 5 git commands to generate.