Resolved a NullPointerException which occurred when making a JsonWireProtocol call; masking the useful message intended for this situation, making it difficult to debug other issues.