Git Product home page Git Product logo

Comments (1)

kentxu avatar kentxu commented on August 29, 2024

Also ran into this. Eclipse 2021-06 release ships with jackson 2.12.1. The problem goes away after downgrading jackson to 2.9.x.

java.lang.IllegalArgumentException: Cannot create TypeBindings for class com.test.model.Card with 1 type parameter: class expects 0
at com.fasterxml.jackson.databind.type.TypeBindings.create(TypeBindings.java:126)
at com.fasterxml.jackson.databind.type.TypeFactory.constructReferenceType(TypeFactory.java:1043)
at org.emfjson.jackson.databind.type.EcoreTypeFactory.constructReferenceType(EcoreTypeFactory.java:99)
at org.emfjson.jackson.databind.type.EcoreTypeFactory.typeOf(EcoreTypeFactory.java:84)
at org.emfjson.jackson.databind.type.EcoreTypeFactory.typeOf(EcoreTypeFactory.java:61)
at org.emfjson.jackson.databind.property.EObjectPropertyMap$Builder.createFeatureProperty(EObjectPropertyMap.java:122)
at org.emfjson.jackson.databind.property.EObjectPropertyMap$Builder.createPropertyMap(EObjectPropertyMap.java:98)
at org.emfjson.jackson.databind.property.EObjectPropertyMap$Builder.construct(EObjectPropertyMap.java:59)
at org.emfjson.jackson.databind.property.EObjectPropertyMap$Builder.lambda$buildCache$3(EObjectPropertyMap.java:76)
at java.base/java.lang.Iterable.forEach(Unknown Source)
at org.emfjson.jackson.databind.property.EObjectPropertyMap$Builder.buildCache(EObjectPropertyMap.java:76)
at org.emfjson.jackson.databind.property.EObjectPropertyMap$Builder.construct(EObjectPropertyMap.java:53)
at org.emfjson.jackson.databind.property.EObjectPropertyMap$Builder.constructDefault(EObjectPropertyMap.java:182)
at org.emfjson.jackson.databind.deser.EObjectDeserializer.deserialize(EObjectDeserializer.java:64)
at org.emfjson.jackson.databind.deser.EObjectDeserializer.deserialize(EObjectDeserializer.java:38)
at com.fasterxml.jackson.databind.deser.DefaultDeserializationContext.readRootValue(DefaultDeserializationContext.java:322)
at com.fasterxml.jackson.databind.ObjectReader._bindAndClose(ObjectReader.java:2033)
at com.fasterxml.jackson.databind.ObjectReader.readValue(ObjectReader.java:1491)

from emfjson-jackson.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.