Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Huboc refresh Token error with big list of uploads #26
I tried multiple times to upload a big list of files (about 180,000 files), but it failed every time. I thought it was the memory allocation. I used the jar file with -xmx4096M from command line, but still can't complete my upload on Hubic and I had this error :
INFO Configuration - Refresh the access token.
Caused by: java.lang.IllegalArgumentException: Cannot get String from a null object
ERROR AbstractCommand - JOSS / HTTP HEAD call https://lb1.hubic.ovh.net/v1/AUTH_9c10269d20b224601601d77440127958/NAS, HTTP status 401, Error UNAUTHORIZED
When you say you have tried multiple times, do you mean that you have exited the application between two tries? Or have you tried several times without closing the application?
This problem is due to a failure to refresh the token. I am not quite sure about the reasons why the token was not refreshed, but I will investigate.
Meanwhile, I guess if you re-launch the application and start again to upload your directory, it should be fine (and the upload will be resumed, i.e., it will more or less pick up where it stopped - see this post).