We can confirm that there is a bug in LS library.
However, the bug should be harmless and should only cause the exception to be printed, with no other side effect.

What do you mean by "crash"? If you see that your application closes as a consequence of the above exception, then the case should be analyzed in more depth.
Anyway, the bug will be fixed by the next release of the Java Client Library.