tmf xml: Add a few package-info to tmf.analysis.xml.core.model.*
[deliverable/tracecompass.git] / org.eclipse.tracecompass.tmf.analysis.xml.ui / src / org / eclipse / tracecompass / tmf / analysis / xml / ui / views / timegraph / XmlEntry.java
index 327a07d8819ace83faa1a24d209f79379eeae882..7b9901dba4bb00ee7c2bf3cb19fdaa3fc8646ee4 100644 (file)
@@ -150,6 +150,9 @@ public class XmlEntry extends TimeGraphEntry implements IXmlStateSystemContainer
 
     /** Return the state value of the first interval with a non-null value */
     private String getFirstValue(Element stateAttribute) {
+        if (stateAttribute == null) {
+            throw new IllegalArgumentException();
+        }
 
         ITmfXmlModelFactory factory = TmfXmlReadOnlyModelFactory.getInstance();
         ITmfXmlStateAttribute display = factory.createStateAttribute(stateAttribute, this);
This page took 0.025246 seconds and 5 git commands to generate.