Hello, I have a WPS that returns a StreamRawData. When I try to retrieve the stream from the response using the method getRawResponseStream(), I get a NullPointerException. I tried with the web-based demo and it works fine. What am I doing wrong ?
ExecuteProcessResponse execute_process_response = > wps.issueRequest(execute_process_request); > String result_data = new BufferedReader(new > InputStreamReader(execute_process_response.getRawResponseStream(), > StandardCharsets.UTF_8)).lines().collect(Collectors.joining("\n")); Thanks.
_______________________________________________ Geoserver-users mailing list Please make sure you read the following two resources before posting to this list: - Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/ - The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users