New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crashes on DELETE call #13
Comments
Do you mind post your delete request? I can not reproduce it with following request.
|
Well, it is hard as service is behind corporate firewall. Only what I can help is to say that response status is 204 - no content. Empty body `DELETE http://localhost:8080/nuxeo/api/v1/path/RetentionRules Status: 204 2022-08-29 11:55:09.121 ERROR 2946 --- [ main] org.mvnsearch.http.HttpxCommand : HTX-002-500 - Failed to parse http code! java.lang.NullPointerException: null |
I have similar crashes on 401 responses.
|
@apatrida @ssokolov1 guys, I'm sorry about this bug, and it's caused by NPE |
NPE issue is fixed. Thank you very much !!! However, sorry to say, there is a new one. That is about destination of saved files. I am running a command in testing directory where file test-api-retention.http is located and there is a subfolder resources httpx -f rest-api-retention.http -p docker -a
2022-10-10 11:04:07.103 ERROR 29167 --- [ main] org.mvnsearch.http.HttpxCommand : HTX-002-500 - Failed to parse http code! java.nio.file.FileSystemException: rest-api-retention.http/resources/logo.png: Not a directory Here is the problem. It is trying to append script name to the current path, what is wrong in my opinion as rest-api-retention.http is a file, not a directory. IntelliJ internal runner handles it correctly. I can create a new issue if it helps. |
probably best to report new bug under new issue. |
@ssokolov1 I created an issue for your question. #16 |
Response body is empty that why I guess. But should not fail. It is a legit case. Thank you one more time for excellent tool.
The text was updated successfully, but these errors were encountered: