diff options
author | Andrew Finkbeiner | 2011-05-20 16:17:12 +0000 |
---|---|---|
committer | Ryan D. Brooks | 2011-05-20 16:17:12 +0000 |
commit | a3b5f9bc3656a91e06f038a53adb127caad40e60 (patch) | |
tree | 045bbf0e73acc1b5148c3601cffac8b6a0d37960 | |
parent | 7d52ed645796d2a23168debdade988327f872742 (diff) | |
download | org.eclipse.osee-a3b5f9bc3656a91e06f038a53adb127caad40e60.tar.gz org.eclipse.osee-a3b5f9bc3656a91e06f038a53adb127caad40e60.tar.xz org.eclipse.osee-a3b5f9bc3656a91e06f038a53adb127caad40e60.zip |
refinement: Add null check to recover from bad data
-rw-r--r-- | plugins/org.eclipse.osee.ote.ui.markers/src/org/eclipse/osee/ote/ui/markers/ProcessOutfileSax.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/org.eclipse.osee.ote.ui.markers/src/org/eclipse/osee/ote/ui/markers/ProcessOutfileSax.java b/plugins/org.eclipse.osee.ote.ui.markers/src/org/eclipse/osee/ote/ui/markers/ProcessOutfileSax.java index d69d470945b..ff1030387b5 100644 --- a/plugins/org.eclipse.osee.ote.ui.markers/src/org/eclipse/osee/ote/ui/markers/ProcessOutfileSax.java +++ b/plugins/org.eclipse.osee.ote.ui.markers/src/org/eclipse/osee/ote/ui/markers/ProcessOutfileSax.java @@ -17,6 +17,7 @@ import java.util.ArrayList; import java.util.List; import java.util.Stack; import java.util.logging.Level; + import org.eclipse.core.resources.IFile; import org.eclipse.core.runtime.IProgressMonitor; import org.eclipse.core.runtime.IStatus; @@ -101,7 +102,7 @@ public class ProcessOutfileSax implements IExceptionableRunnable { handler.getHandler("TestPoint").addListener(new IBaseSaxElementListener() { @Override public void onEndElement(Object obj) { - if (currentData.isFailed()) { + if (currentData != null && currentData.isFailed()) { testPointDatas.add(currentData); } currentData = null; |