java.lang.IllegalArgumentException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • justtrees broke
    via GitHub by josephwb
    ,
  • GitHub comment 97#45792637
    via GitHub by blackrim
    ,
  • GitHub comment 97#45792790
    via GitHub by blackrim
    ,
  • Using an {{@ElementCollection}} of an {{@Embeddable}} type with a null-valued property gives an exception in Neo4j. The reason is that no null values are allowed in Neo4j structures. {code} java.lang.IllegalArgumentException: Null parameter, key=street2, value=null at org.neo4j.kernel.impl.core.Primitive.setProperty(Primitive.java:292) at org.neo4j.kernel.impl.core.RelationshipProxy.setProperty(RelationshipProxy.java:173) at org.hibernate.ogm.datastore.neo4j.Neo4jDialect.createRelationship(Neo4jDialect.java:278) at org.hibernate.ogm.datastore.neo4j.Neo4jDialect.createRelationshipUnlessExists(Neo4jDialect.java:199) at org.hibernate.ogm.datastore.neo4j.Neo4jDialect.putAssociationOperation(Neo4jDialect.java:192) at org.hibernate.ogm.datastore.neo4j.Neo4jDialect.applyAssociationOperation(Neo4jDialect.java:179) at org.hibernate.ogm.datastore.neo4j.Neo4jDialect.updateAssociation(Neo4jDialect.java:142) at org.hibernate.ogm.dialect.GridDialectLogger.updateAssociation(GridDialectLogger.java:133) at org.hibernate.ogm.util.impl.AssociationPersister.flushToCache(AssociationPersister.java:381) at org.hibernate.ogm.persister.OgmCollectionPersister.recreate(OgmCollectionPersister.java:570) at org.hibernate.action.internal.CollectionRecreateAction.execute(CollectionRecreateAction.java:67) at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:453) at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:345) at org.hibernate.event.internal.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:350) at org.hibernate.event.internal.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:56) at org.hibernate.internal.SessionImpl.flush(SessionImpl.java:1218) at org.hibernate.internal.SessionImpl.managedFlush(SessionImpl.java:421) at org.hibernate.ogm.transaction.impl.JTATransactionManagerTransaction.beforeTransactionCommit(JTATransactionManagerTransaction.java:108) at org.hibernate.engine.transaction.spi.AbstractTransactionImpl.commit(AbstractTransactionImpl.java:177) at org.hibernate.ogm.backendtck.embeddable.EmbeddableTest.testElementCollectionOfEmbeddable(EmbeddableTest.java:115) {code}
    via by Gunnar Morling,
  • Using an {{@ElementCollection}} of an {{@Embeddable}} type with a null-valued property gives an exception in Neo4j. The reason is that no null values are allowed in Neo4j structures. {code} java.lang.IllegalArgumentException: Null parameter, key=street2, value=null at org.neo4j.kernel.impl.core.Primitive.setProperty(Primitive.java:292) at org.neo4j.kernel.impl.core.RelationshipProxy.setProperty(RelationshipProxy.java:173) at org.hibernate.ogm.datastore.neo4j.Neo4jDialect.createRelationship(Neo4jDialect.java:278) at org.hibernate.ogm.datastore.neo4j.Neo4jDialect.createRelationshipUnlessExists(Neo4jDialect.java:199) at org.hibernate.ogm.datastore.neo4j.Neo4jDialect.putAssociationOperation(Neo4jDialect.java:192) at org.hibernate.ogm.datastore.neo4j.Neo4jDialect.applyAssociationOperation(Neo4jDialect.java:179) at org.hibernate.ogm.datastore.neo4j.Neo4jDialect.updateAssociation(Neo4jDialect.java:142) at org.hibernate.ogm.dialect.GridDialectLogger.updateAssociation(GridDialectLogger.java:133) at org.hibernate.ogm.util.impl.AssociationPersister.flushToCache(AssociationPersister.java:381) at org.hibernate.ogm.persister.OgmCollectionPersister.recreate(OgmCollectionPersister.java:570) at org.hibernate.action.internal.CollectionRecreateAction.execute(CollectionRecreateAction.java:67) at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:453) at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:345) at org.hibernate.event.internal.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:350) at org.hibernate.event.internal.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:56) at org.hibernate.internal.SessionImpl.flush(SessionImpl.java:1218) at org.hibernate.internal.SessionImpl.managedFlush(SessionImpl.java:421) at org.hibernate.ogm.transaction.impl.JTATransactionManagerTransaction.beforeTransactionCommit(JTATransactionManagerTransaction.java:108) at org.hibernate.engine.transaction.spi.AbstractTransactionImpl.commit(AbstractTransactionImpl.java:177) at org.hibernate.ogm.backendtck.embeddable.EmbeddableTest.testElementCollectionOfEmbeddable(EmbeddableTest.java:115) {code}
    via by Gunnar Morling,
    • java.lang.IllegalArgumentException: Null parameter, key=source_tree_id, value=null at org.neo4j.kernel.impl.core.Primitive.setProperty(Primitive.java:342) at org.neo4j.kernel.impl.core.RelationshipImpl.setProperty(RelationshipImpl.java:29) at org.neo4j.kernel.impl.core.RelationshipProxy.setProperty(RelationshipProxy.java:129) at opentree.GraphImporter.addProcessedNodeRelationships(GraphImporter.java:912) at opentree.GraphImporter.postOrderAddProcessedTreeToGraph(GraphImporter.java:745) at opentree.GraphImporter.postOrderAddProcessedTreeToGraph(GraphImporter.java:516) at opentree.GraphImporter.loadTree(GraphImporter.java:468) at opentree.GraphImporter.addSetTreeToGraph(GraphImporter.java:203) at opentree.MainRunner.justTreeAnalysis(MainRunner.java:654) at opentree.MainRunner.main(MainRunner.java:2270)
    No Bugmate found.