Scott Feldstein created HHQ-5803:
-
Summary: NullPointerException on rest api
Key: HHQ-5803
URL: https://jira.hyperic.com/browse/HHQ-5803
Project: Hyperic HQ
Issue Type: Bug
Components: API
Affects Versions: 5.7
Reporter: Scott Feldstein
Assignee: Mayan Weiss
Priority: Critical
NPE while running:
GET /rest/resource/?responseStructure=BASIC&hierarchyDepth=3 HTTP/1.1
returns: HTTP/1.1 500 Internal Server Error
from server.log:
Caused by: java.lang.NullPointerException at org.hyperic.hq.api.transfer.impl.ResourceTransferImpl$1.transform(ResourceTransferImpl.java:826) at org.hyperic.hq.api.transfer.impl.ResourceTransferImpl$1.transform(ResourceTransferImpl.java:823) at org.hyperic.util.Transformer.transform(Transformer.java:56) at org.hyperic.hq.api.transfer.impl.ResourceTransferImpl.getPlatformsFromResourceIds(ResourceTransferImpl.java:823) at org.hyperic.hq.api.transfer.impl.ResourceTransferImpl.getResources(ResourceTransferImpl.java:653)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.hyperic.com/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira