Fix array out of bounds exception on '$.' path expression
@ -109,7 +109,7 @@ public class PathCompiler {
break;
case PERIOD:
i++;
if (path.charAt(i) == PERIOD) {
if ( i < path.length() && path.charAt(i) == PERIOD) {
//This is a deep scan
fragment = "..";