openstack4j version 3.2.0 getting com.fasterxml.jackson.databind.JsonMappingException: Can not deserialize instance of java.lang.String out of START_OBJECT token
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)
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)
Resolves in new openstack4j repo
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?
Its look like there is 3.5 version where this is fix, look for this version, OpenStack4j change the site They have also a site on https://openstack4j.github.io/ Here you will fine the new version Hope this will help Gil
נשלח מ-Workspace ONE Boxer
בתאריך 17 ביוני 2020 21:25, Cory Snyder [email protected] כתב:
I also ran into this issue after upgrading to Train. @LmV4corbeauhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_LmV4corbeau&d=DwMCaQ&c=UrUhmHsiTVT5qkaA4d_oSzcamb9hmamiCDMzBAEwC7E&r=8q2pjG-VwvID0B7UjwglCy4bGLAUJ9KpECaTX1Hi9BA&m=iloWey6zhGJKQcHfO9_4MfGBlZoQsolUs5xvKlDsr6U&s=UdhPBG2paD_t7sc7-3psLOZxrsnxNbjlwXoEpkJRzIU&e= what did you mean when you said it resolves in the "new" openstack4j repo?
You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_ContainX_openstack4j_issues_1299-23issuecomment-2D645543289&d=DwMCaQ&c=UrUhmHsiTVT5qkaA4d_oSzcamb9hmamiCDMzBAEwC7E&r=8q2pjG-VwvID0B7UjwglCy4bGLAUJ9KpECaTX1Hi9BA&m=iloWey6zhGJKQcHfO9_4MfGBlZoQsolUs5xvKlDsr6U&s=ndeh7h0eV1vxzaD8yKHgInvpKhEH5OEAm7pbV1a7QSk&e=, or unsubscribehttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AEV5HKCYOCBFCPZSNBA7VOTRXEDAPANCNFSM4K26DZZQ&d=DwMCaQ&c=UrUhmHsiTVT5qkaA4d_oSzcamb9hmamiCDMzBAEwC7E&r=8q2pjG-VwvID0B7UjwglCy4bGLAUJ9KpECaTX1Hi9BA&m=iloWey6zhGJKQcHfO9_4MfGBlZoQsolUs5xvKlDsr6U&s=WiBRp8nZEheFPqK1iaMkfGLeFO0AMqOtFpgWF5Lpkzg&e=.
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).
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...