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

openstack4j version 3.2.0 getting com.fasterxml.jackson.databind.JsonMappingException: Can not deserialize instance of java.lang.String out of START_OBJECT token #1299

Open
gilbirenberg opened this issue Feb 25, 2020 · 6 comments

Comments

@gilbirenberg
Copy link

gilbirenberg commented Feb 25, 2020

Why when trying to get the projects i am getting the following exception:
com.fasterxml.jackson.databind.JsonMappingException: Can not deserialize instance of java.lang.String out of START_OBJECT token
i am using the latest 3.2.0 jar
like to update that this is on the latest version of openstack 13 (train)

@LmV4corbeau
Copy link

LmV4corbeau commented Feb 28, 2020

I can see the same issue in 3.2.1-Snapshot.
Error log:
org.openstack4j.openstack.identity.v3.domain.KeystoneProject$Projects["projects"]->java.util.ArrayList[0]->org.openstack4j.openstack.identity.v3.domain.KeystoneProject["options"])

Tempurary solution could be:
Add "options" to Json Annotation in class org.openstack4j.openstack.identity.v3.domain.KeystoneProject
@JsonIgnoreProperties(value = {"extra", "options"} , ignoreUnknown = true)

@LmV4corbeau
Copy link

Resolves in new openstack4j repo

@cfsnyder
Copy link

I also ran into this issue after upgrading to Train. @LmV4corbeau what did you mean when you said it resolves in the "new" openstack4j repo?

@gilbirenberg
Copy link
Author

gilbirenberg commented Jun 17, 2020 via email

@cfsnyder
Copy link

Thanks @gilbirenberg , I confirm that it is fixed on v3.6 in the new repo! I'm surprised that there is no mention of the new repo in the README of this project (unless I'm missing it).

@olivergondza
Copy link
Collaborator

Yeah, https://github.com/openstack4j/openstack4j/ is struggling to get the old maintainers to either get the project ownership fully transferred or advertise the fork. I am sorry about the experience...

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

Successfully merging a pull request may close this issue.

4 participants