Skip to content
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

SimpleDateFormat Exception in Java 1.6 #27

Closed
ssurya-1691 opened this issue Jul 20, 2016 · 3 comments
Closed

SimpleDateFormat Exception in Java 1.6 #27

ssurya-1691 opened this issue Jul 20, 2016 · 3 comments

Comments

@ssurya-1691
Copy link

Hi Team,

Java version: 1.6
I am getting below exception when initializing APIClient.

java.lang.IllegalArgumentException: Illegal pattern character 'X'
at java.text.SimpleDateFormat.compile
at java.text.SimpleDateFormat.initialize
at java.text.SimpleDateFormat.
at java.text.SimpleDateFormat.

Getting exception in below line in ApiClient.java

DateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSSXXX");

I really need to release DocuSign to production soon. Please help on this.

Thanks,
Surya.

@mmallis87
Copy link
Contributor

@ssurya-1691 Sorry to hear that. I just pushed a fix and ensured this won't happen again.

This API client was designed mainly for Java 1.7 and 1.8, but I got it working with Java 1.6 in the past, without too much trouble. Sometimes you need to use different libs and stuff..So please let us know if you are blocked on something while integrating this client lib under Java 1.6.

@gowrishankars
Copy link

After downgrading to docusign-esign-java-2.0 version able to save documents but while adding the signing object in Signer list, getting "java.lang.NoClassDefFoundError: java/util/Objects", This error seems like JDK 1.6 not supported for Docusign API, if we need to use Docusign API in JDK 1.6 what are the dependencies we need to include it.

@mmallis87
Copy link
Contributor

was fixed in the new version 2.1.0 that went live today. it's strongly recommended to update to this version as it contains lot of bug fixes and huge amount of new features!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants