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

call derivativesApi.getManifest throw Exception #28

Closed
wangsidong opened this issue Sep 19, 2019 · 9 comments
Closed

call derivativesApi.getManifest throw Exception #28

wangsidong opened this issue Sep 19, 2019 · 9 comments
Assignees

Comments

@wangsidong
Copy link

wangsidong commented Sep 19, 2019

when i call the api derivativesApi.getManifest to verifyJobComplete it throw a Excetpion,
com.fasterxml.jackson.databind.exc.InvalidFormatException: Can not deserialize value of type com.autodesk.client.model.ManifestChildren$RoleEnum from String "Autodesk.AEC.ModelData": value not one of declared Enum instance names: [3d, 2d, graphics, thumbnail, manifest, Autodesk.CloudPlatform.PropertyDatabase]↵ at [Source: java.util.zip.GZIPInputStream@6d7191c1; line: 1, column: 1105] (through reference chain: com.autodesk.client.model.Manifest["derivatives"]->java.util.ArrayList[0]->com.autodesk.client.model.ManifestDerivative["children"]->java.util.ArrayList[1]->com.autodesk.client.model.ManifestChildren["role"])"
only rvt model has this error , ifc,dwfx,dwt can run.

rvt model is solved

today when i use nwd model do this,it throw the same Excetpion out
com.fasterxml.jackson.databind.exc.InvalidFormatException: Can not deserialize value of type com.autodesk.client.model.ManifestChildren$TypeEnum from String "folder": value not one of declared Enum instance names: [geometry, view, resource, manifest]↵ at [Source: java.util.zip.GZIPInputStream@abb4f0a; line: 1, column: 1991] (through reference chain: com.autodesk.client.model.Manifest["derivatives"]->java.util.ArrayList[0]->com.autodesk.client.model.ManifestDerivative["children"]->java.util.ArrayList[0]->com.autodesk.client.model.ManifestChildren["children"]->java.util.ArrayList[1]->com.autodesk.client.model.ManifestChildren["type"])

@dukedhx dukedhx self-assigned this Sep 19, 2019
dukedhx added a commit that referenced this issue Sep 19, 2019
Fix issue #28
@dukedhx dukedhx closed this as completed Sep 19, 2019
@vaibhav-bhandari
Copy link
Contributor

Is this issue fixed?
I am doing the similar thing (verifying the jobCompletion) but getting this error.
I doubt latest Maven library doesn't contain this fix yet.

@dukedhx
Copy link
Contributor

dukedhx commented Nov 13, 2019

the fix is on github only and not yet published - clone from github to get the fix

@vaibhav-bhandari
Copy link
Contributor

Oh Ok.. Thanks

@wangsidong
Copy link
Author

rvt model is solved

today when i use nwd model do this,it throw the same Excetpion out
com.fasterxml.jackson.databind.exc.InvalidFormatException: Can not deserialize value of type com.autodesk.client.model.ManifestChildren$TypeEnum from String "folder": value not one of declared Enum instance names: [geometry, view, resource, manifest]↵ at [Source: java.util.zip.GZIPInputStream@abb4f0a; line: 1, column: 1991] (through reference chain: com.autodesk.client.model.Manifest["derivatives"]->java.util.ArrayList[0]->com.autodesk.client.model.ManifestDerivative["children"]->java.util.ArrayList[0]->com.autodesk.client.model.ManifestChildren["children"]->java.util.ArrayList[1]->com.autodesk.client.model.ManifestChildren["type"])

@dukedhx
Copy link
Contributor

dukedhx commented Nov 26, 2019

@wangsidong will address this in the next commit

dukedhx referenced this issue in dukedhx/forge-api-java-client Dec 2, 2019
dukedhx added a commit that referenced this issue Dec 2, 2019
@THISISSUBBU
Copy link

THISISSUBBU commented Mar 29, 2020

I'm still getting the issue, But fix is there in the github but when using the maven fix is not there in maven source.

any idea? any work around?

@dukedhx
Copy link
Contributor

dukedhx commented Mar 30, 2020

This is because the latest changes have yet to be published to maven so download from this repo to use the latest version

@THISISSUBBU
Copy link

Is there any idea when it will be published?, really we need to from maven repository. That is very helpful for us to deliver a feature.

We are waiting for it. Please do the needful as soon as possible

@ilseva
Copy link

ilseva commented Jun 18, 2020

This is because the latest changes have yet to be published to maven so download from this repo to use the latest version

hi,
when will this fix will be published on maven? It need just a mvn deploy. Isn't it?
thanks.

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

5 participants