Same issue here, I think it happens when Jasperserver is trying to retrieve an attribute from the user we passed via the Basic Auth to the rest_v2 GET reports call... We stored the database host as a profile attribute in the user properties. That should be resolved at runtime, to connect to the correct database server.