diff --git a/src/main/java/org/jtrfp/jfdt/Parser.java b/src/main/java/org/jtrfp/jfdt/Parser.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/jtrfp/jfdt/Parser.java
+++ b/src/main/java/org/jtrfp/jfdt/Parser.java
@@ -38,6 +38,8 @@ import java.util.Comparator;
 import java.util.List;
 import java.util.Stack;
 
+import org.jtrfp.jfdt.FailureBehavior;
+
 
 /**
  * Utility class typically used from a ThirdPartyParseable's format description 'describeFormat()' method.<br>
@@ -785,7 +787,7 @@ public class Parser{
 			 */
 			public <CLASS>void stringEndingWith(final String ending,final PropertyDestination<CLASS> property,
 					final boolean includeEndingWhenReading){
-			    stringEndingWith(new String[]{ending},property,includeEndingWhenReading);
+			    stringEndingWith(ending!=null?new String[]{ending}:null,property,includeEndingWhenReading);
 			}
 
 	/**
Bugfix: Mishandled null in stringEndingWith()