edit-icon download-icon

Java SDK error: Invalid date format

Last Updated: Apr 11, 2018

Symptom

In a Java 8 environment, if the Table Store Java SDK is used, the following exception is thrown:

[Error Code]:OTSParameterInvalid, [Message]:Invalid date format: Wed, 18 May 2016 08:32:51 +00:00.

Cause

Joda-Time in Classpath, which is SDK-dependent, does not meet the version requirements for Java 8.

Resolution

Update to ots-public 2.2.4. If the SDK depends on Joda-Time, update the Joda-Time version to 2.9.

Thank you! We've received your feedback.