org.neo4j.ogm.metadata.MappingException: Null key for a Map not allowed in JSON (use a converting NullKeySerializer?)

Spring JIRA | Liliana Ziolek | 2 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.

    Root Cause Analysis

    1. org.neo4j.ogm.metadata.MappingException

      Null key for a Map not allowed in JSON (use a converting NullKeySerializer?)

      at org.neo4j.ogm.session.request.SessionRequestHandler.execute()
    2. org.neo4j.ogm
      ConvertibleIntegrationTest.shouldSaveAndRetrieveEnums
      1. org.neo4j.ogm.session.request.SessionRequestHandler.execute(SessionRequestHandler.java:98)
      2. org.neo4j.ogm.session.delegates.SaveDelegate.save(SaveDelegate.java:66)
      3. org.neo4j.ogm.session.delegates.SaveDelegate.save(SaveDelegate.java:41)
      4. org.neo4j.ogm.session.Neo4jSession.save(Neo4jSession.java:370)
      5. org.neo4j.ogm.integration.convertible.ConvertibleIntegrationTest.shouldSaveAndRetrieveEnums(ConvertibleIntegrationTest.java:66)
      5 frames