xml: Replace a checkNotNull by a message when state undefined
authorGeneviève Bastien <gbastien+lttng@versatic.net>
Wed, 4 May 2016 19:55:00 +0000 (15:55 -0400)
committerGenevieve Bastien <gbastien+lttng@versatic.net>
Mon, 30 May 2016 14:09:26 +0000 (10:09 -0400)
commit146e73f62256bd81641de5b0d7e6e9d553777d00
tree64bc1cdb9f13ead09cbc215f738d3e0952edf038
parent585f9916e169ebd5e87db4778d5d7e5c7805218c
xml: Replace a checkNotNull by a message when state undefined

An error in the XML where the next state defined by the user was undefined
would throw a NullPointerException and make the analysis fail ungracefully.
This logs a message to the user (we still need a way to have debug data on the
XML)

This is one step in solving bug 493155

Change-Id: I53edc74c6e9abcf531df07d17d7fa488c52e9155
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/72080
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
tmf/org.eclipse.tracecompass.tmf.analysis.xml.core/src/org/eclipse/tracecompass/internal/tmf/analysis/xml/core/model/Messages.java [new file with mode: 0644]
tmf/org.eclipse.tracecompass.tmf.analysis.xml.core/src/org/eclipse/tracecompass/internal/tmf/analysis/xml/core/model/TmfXmlFsm.java
tmf/org.eclipse.tracecompass.tmf.analysis.xml.core/src/org/eclipse/tracecompass/internal/tmf/analysis/xml/core/model/messages.properties [new file with mode: 0644]
This page took 0.025437 seconds and 5 git commands to generate.