Open nebhale opened 12 years ago
Thanks for pointing out this bug. I found another one when digging into this. :) There was no default specified on put
when not passing a path parameter, so it was blowing up on that. I also found that if a server says it's returning JSON but doesn't include anything in the body, the parsing code was blowing up.
In addition to the fix for #15, I'll push a fix for this in a few minutes.
Currently, when running
put --data "{}"
, the shell returnsCommand failed java.lang.NullPointerException
. Looking into.rest-shell.log
, nothing is listed. Looking intospring-shell.log
the only thing that shows up is// [failed] put --data "{}"
.Sorry I can't be more help, but let me know if you'd like me to do any additional troubleshooting for you.