I did a test (inference test) which did not contain a (query ) node. The interface threw a null pointer exception. I have attached the screen.
Screen dump of tomcat exception dump
Screen dump of tomcat exception dump