{"action":"opened","issue":{"url":"https://api.github.com/repos/neo4j/neo4j/issues/4415","labels_url":"https://api.github.com/repos/neo4j/neo4j/issues/4415/labels{/name}","comments_url":"https://api.github.com/repos/neo4j/neo4j/issues/4415/comments","events_url":"https://api.github.com/repos/neo4j/neo4j/issues/4415/events","html_url":"https://github.com/neo4j/neo4j/issues/4415","id":67933742,"number":4415,"title":"AssertionError when setting certain GraphProperties","user":{"login":"bachmanm","id":629665,"avatar_url":"https://avatars.githubusercontent.com/u/629665?v=3","gravatar_id":"","url":"https://api.github.com/users/bachmanm","html_url":"https://github.com/bachmanm","followers_url":"https://api.github.com/users/bachmanm/followers","following_url":"https://api.github.com/users/bachmanm/following{/other_user}","gists_url":"https://api.github.com/users/bachmanm/gists{/gist_id}","starred_url":"https://api.github.com/users/bachmanm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bachmanm/subscriptions","organizations_url":"https://api.github.com/users/bachmanm/orgs","repos_url":"https://api.github.com/users/bachmanm/repos","events_url":"https://api.github.com/users/bachmanm/events{/privacy}","received_events_url":"https://api.github.com/users/bachmanm/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-04-12T16:46:50Z","updated_at":"2015-04-12T16:46:50Z","closed_at":null,"body":"Aware of the fact that this isn't for public use, still think you guys might want to know about this. Does not seem to affect nodes and relationships.\r\n\r\n```\r\n    @Test\r\n    public void bugDemo() {\r\n        GraphDatabaseService database = new TestGraphDatabaseFactory().newImpermanentDatabase();\r\n\r\n        GraphProperties graphProperties = ((GraphDatabaseAPI) database).getDependencyResolver().resolveDependency(NodeManager.class).newGraphProperties();\r\n\r\n        try (Transaction tx = database.beginTx()) {\r\n            graphProperties.setProperty(\"a\", new String[]{\"A\",\"B\",\"C\",\"D\",\"E\",\"F\"});\r\n            graphProperties.setProperty(\"b\", true);\r\n            graphProperties.setProperty(\"c\", \"C\");\r\n            tx.success();\r\n        }\r\n\r\n        try (Transaction tx = database.beginTx()) {\r\n            graphProperties.setProperty(\"d\", new String[]{\"A\",\"F\"});\r\n            graphProperties.setProperty(\"e\", true);\r\n            graphProperties.setProperty(\"f\", \"F\");\r\n            tx.success();\r\n        }\r\n\r\n\r\n        try (Transaction tx = database.beginTx()) {\r\n            graphProperties.setProperty(\"g\", new String[]{\"F\"});\r\n            graphProperties.setProperty(\"h\", false);\r\n            graphProperties.setProperty(\"i\", \"I\");\r\n            tx.success(); //fails here\r\n        }\r\n\r\n        try (Transaction tx = database.beginTx()) {\r\n            assertFalse((boolean) graphProperties.getProperty(\"h\"));\r\n            tx.success();\r\n        }\r\n    }\r\n```\r\n\r\nFails with:\r\n\r\n```\r\njava.lang.AssertionError: NeoStoreRecord[used=true,prop=0]->[Property[0,used=true,prev=1,next=-1,PropertyBlock[blocks=1,ARRAY,key=0,firstDynamic=1],PropertyBlock[blocks=1,BOOL,key=1,value=true],PropertyBlock[blocks=1,SHORT_STRING,key=2,value=C],PropertyBlock[blocks=1,ARRAY,key=3,firstDynamic=2]]]\r\n\tat org.neo4j.kernel.impl.transaction.state.PropertyTraverser.assertPropertyChain(PropertyTraverser.java:93)\r\n\tat org.neo4j.kernel.impl.transaction.state.PropertyCreator.primitiveAddProperty(PropertyCreator.java:121)\r\n\tat org.neo4j.kernel.impl.transaction.state.NeoStoreTransactionContext.primitiveAddProperty(NeoStoreTransactionContext.java:112)\r\n\tat org.neo4j.kernel.impl.transaction.state.TransactionRecordState.graphAddProperty(TransactionRecordState.java:508)\r\n\tat org.neo4j.kernel.impl.api.KernelTransactionImplementation$TransactionToRecordStateVisitor.visitGraphPropertyChanges(KernelTransactionImplementation.java:753)\r\n\tat org.neo4j.kernel.impl.api.state.TxState$12.visitPropertyChanges(TxState.java:370)\r\n\tat org.neo4j.kernel.impl.api.state.PropertyContainerState$Mutable.accept(PropertyContainerState.java:231)\r\n\tat org.neo4j.kernel.impl.api.state.TxState.accept(TxState.java:180)\r\n\tat org.neo4j.kernel.impl.api.KernelTransactionImplementation.prepareRecordChangesFromTransactionState(KernelTransactionImplementation.java:367)\r\n\tat org.neo4j.kernel.impl.api.KernelTransactionImplementation.commit(KernelTransactionImplementation.java:466)\r\n\tat org.neo4j.kernel.impl.api.KernelTransactionImplementation.close(KernelTransactionImplementation.java:417)\r\n\tat org.neo4j.kernel.TopLevelTransaction.close(TopLevelTransaction.java:112)\r\n\tat com.graphaware.BugTest.demoBug(BugTest.java:47)\r\n```"}}