【发布时间】:2017-04-20 04:53:21
【问题描述】:
我尝试删除关系,但出现了这个很少记录的错误。
查询:
MATCH ()-[r:SendTo]-(n:Wallet)
WHERE NOT ()-[:BelongTo]->(n)
DELETE r
RETURN r
整个错误输出:
Exception in thread "main" org.neo4j.driver.v1.exceptions.value.NotMultiValued: NULL is not a keyed collection
at org.neo4j.driver.internal.value.ValueAdapter.get(ValueAdapter.java:192)
at basicANeo4j.Importer.<init>(Importer.java:213)
at basicANeo4j.Importer.main(Importer.java:246)
查看对应关系时,没有任何属性为空:
<id>:595 value_bitcoin:20000000000outputIndex:defaultuniqueReferenceTran:bcaeee45968b5a08c88ed7a0d90a1275728eda356013465408197e9f77c634daNULLtranHashString:bcaeee45968b5a08c88ed7a0d90a1275728eda356013465408197e9f77c634datime:2016-01-01T22:55:26type:pubkeyhashvalue_dollar:86554.0estChanAddr:3KgtbGgaX2ngstNpvyv7LwpHSweVeqGbpM
我查看了 ValueAdapter.class,这是相关代码:
@Override
public Value get( String key )
{
throw new NotMultiValued( type().name() + " is not a keyed collection" );
}
没有任何文档,它根本没有帮助。
【问题讨论】: