Fix for Bug 456298 - NPE in PreparedSubquery.java

Signed-off-by: xinzhao-acutate <xzhao@actuate.com>