Query gives NullPointException, JAVA EE

Printable View