Skip to content
This repository was archived by the owner on Jan 8, 2021. It is now read-only.
This repository was archived by the owner on Jan 8, 2021. It is now read-only.

Beta 19: Error converting from JSON in Examples #301

@pedronahum

Description

@pedronahum

Hi,

What better way to start the year than testing your Java library? :)

Wanted to test the most recent version (Beta 19), yet although the code compiles, I get in all the examples: "Error converting from JSON in Examples".

'''
Caused by: com.radixdlt.serialization.DeserializeException: Error converting from JSON
Caused by: com.fasterxml.jackson.databind.JsonMappingException: Unrecognized Type: [null] (through reference chain: com.radixdlt.client.core.address.RadixUniverseConfig["genesis"]->java.util.ArrayList[0]->com.radixdlt.client.core.atoms.Atom["particleGroups"]->com.radixdlt.client.core.atoms.ParticleGroup["particles"]->com.radixdlt.client.core.atoms.particles.SpunParticle["particle"])
'''

The errors are triggered when initialising the api layer. Note that I followed the steps from "https://docs.radixdlt.com/kb/develop/betanet-emulator" and the emulator is up-and-running. Also please note that the beta emulator example works well with implementation 'com.radixdlt:radixdlt-java:dbfd5064e5'.

Could it be that the beta emulator is not yet compatible with the latest version of the Java library? All these tests are being done on a macOS Big Sur (version 11.1) with Java/JavaC 11.0.9.

Thanks!!

PS -

It might be worth to update the getting starting example, as the api of the Java library has evolved.

Metadata

Metadata

Assignees

No one assigned

    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