Details
-
Bug
-
Status: Closed
-
High
-
Resolution: Fixed
-
None
-
None
-
None
Description
HippoBean bean = (HippoBean) getObjectConverter(requestContext).getObject(requestContext.getSession(), requestContentPath);
requestContext.setAttribute(JAXRSService.REQUEST_CONTENT_BEAN_KEY, bean);
requestContext.setAttribute(JAXRSService.REQUEST_CONTENT_NODE_KEY, bean.getNode());
The last line throws NPE when the expected content in the path doesn't exist. This causes 500 error where 404 needed.