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

Support for Java client #17

Open
nkzawa opened this issue Sep 16, 2019 · 3 comments
Open

Support for Java client #17

nkzawa opened this issue Sep 16, 2019 · 3 comments
Labels
bug Something isn't working

Comments

@nkzawa
Copy link
Contributor

nkzawa commented Sep 16, 2019

Seems java client is stricter than node one and doesn't work properly.
Maybe we want to add integration tests with the client and ensure it works.

#7 (comment)

@nkzawa nkzawa added the bug Something isn't working label Sep 16, 2019
@enverbisevac
Copy link

I am successfully conected with java but when I try to list items in collection error is shown: java.lang.IllegalStateException: com.microsoft.azure.documentdb.DocumentClientException: null, StatusCode: NotFound

@nkzawa
Copy link
Contributor Author

nkzawa commented Nov 29, 2019

Thanks for the information.
I tried to fix this once but it's still ongoing. Java client sends unexpected requests to the server and don't get why yet.

@chrisgolle
Copy link

using spring data, encountering this error, it seems like the client tries to get the defaultconsistency level from cosmos, which is missing in this server

Caused by: java.lang.NullPointerException: Name is null
at java.base/java.lang.Enum.valueOf(Enum.java:238)
at com.azure.data.cosmos.ConsistencyLevel.valueOf(ConsistencyLevel.java:15)
at com.azure.data.cosmos.ConsistencyPolicy.defaultConsistencyLevel(ConsistencyPolicy.java:45)
at com.azure.data.cosmos.internal.directconnectivity.GatewayServiceConfigurationReader.lambda$initializeReaderAsync$1(GatewayServiceConfigurationReader.java:146)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants