HttpNeo4jDialect runs into NPE in getAssociation() (line 320) during a commit of a transaction after persisting of an object graph with bidirectional and polymorphic associations.
It is actually the same behavior as encountered with BoltNeo4jDialect (see #OGM-1303). Only the following settings in the persistence.xml differ from the referenced issue: