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
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards 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