NSQL Portlet gives 500 error when attempting to get data