Skip to content

call derivativesApi.getManifest throw Exception #28

Closed

Description

@wangsidong

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"])

Activity

  1. self-assigned this
    on Sep 19, 2019
  2. added a commit that references this issue on Sep 19, 2019
  3. vaibhav-bhandari commented on Nov 13, 2019

    @vaibhav-bhandari
    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.

  4. dukedhx commented on Nov 13, 2019

    @dukedhx
    Contributor

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

  5. vaibhav-bhandari commented on Nov 13, 2019

    @vaibhav-bhandari
    Contributor

    Oh Ok.. Thanks

  6. wangsidong commented on Nov 26, 2019

    @wangsidong
    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"])

  7. dukedhx commented on Nov 26, 2019

    @dukedhx
    Contributor

    @wangsidong will address this in the next commit

  8. added 2 commits that reference this issue on Dec 2, 2019
    fed3951
    35f93d8
  9. THISISSUBBU commented on Mar 29, 2020

    @THISISSUBBU

    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?

  10. dukedhx commented on Mar 30, 2020

    @dukedhx
    Contributor

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

  11. THISISSUBBU commented on Mar 30, 2020

    @THISISSUBBU

    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

  12. ilseva commented on Jun 18, 2020

    @ilseva

    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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions