GithubHelp home page GithubHelp logo

Comments (4)

lyfxmw avatar lyfxmw commented on June 16, 2024

Caused by: org.neo4j.internal.kernel.api.exceptions.TransactionFailureException:
at org.neo4j.kernel.impl.api.KernelTransactionImplementation.commit(KernelTransactionImplementation.java:624)
at org.neo4j.kernel.impl.api.KernelTransactionImplementation.closeTransaction(KernelTransactionImplementation.java:550)
at org.neo4j.internal.kernel.api.Transaction.close(Transaction.java:189)
at org.neo4j.kernel.impl.coreapi.TopLevelTransaction.close(TopLevelTransaction.java:78)
... 9 more
Caused by: java.lang.NullPointerException
at java.util.concurrent.ConcurrentHashMap.get(ConcurrentHashMap.java:936)
at org.neo4j.kernel.impl.index.IndexConfigStore.get(IndexConfigStore.java:206)
at org.neo4j.kernel.impl.api.state.ExplicitIndexTransactionStateImpl.checkIndexExistence(ExplicitIndexTransactionStateImpl.java:239)
at org.neo4j.kernel.impl.api.CachingExplicitIndexTransactionState.checkIndexExistence(CachingExplicitIndexTransactionState.java:101)
at org.neo4j.kernel.impl.newapi.AllStoreHolder.relationshipExplicitIndexExists(AllStoreHolder.java:311)
at org.neo4j.kernel.impl.coreapi.IndexProviderImpl.getOrCreateRelationshipIndex(IndexProviderImpl.java:73)
at org.neo4j.kernel.impl.coreapi.IndexManagerImpl.forRelationships(IndexManagerImpl.java:122)
at org.neo4j.kernel.impl.coreapi.IndexManagerImpl.forRelationships(IndexManagerImpl.java:115)
at com.graphaware.neo4j.expire.indexer.LegacyExpirationIndexer.removeRelationship(LegacyExpirationIndexer.java:130)
at com.graphaware.neo4j.expire.ExpirationModule.handleDeletedRelationships(ExpirationModule.java:134)
at com.graphaware.neo4j.expire.ExpirationModule.beforeCommit(ExpirationModule.java:71)
at com.graphaware.neo4j.expire.ExpirationModule.beforeCommit(ExpirationModule.java:48)
at com.graphaware.runtime.manager.BaseTxDrivenModuleManager.beforeCommit(BaseTxDrivenModuleManager.java:204)
at com.graphaware.runtime.TxDrivenRuntime.beforeCommit(TxDrivenRuntime.java:76)
at com.graphaware.runtime.TxDrivenRuntime.beforeCommit(TxDrivenRuntime.java:39)
at org.neo4j.kernel.internal.TransactionEventHandlers.beforeCommit(TransactionEventHandlers.java:124)
at org.neo4j.kernel.internal.TransactionEventHandlers.beforeCommit(TransactionEventHandlers.java:49)
at org.neo4j.kernel.impl.api.TransactionHooks.beforeCommit(TransactionHooks.java:60)
at org.neo4j.kernel.impl.api.KernelTransactionImplementation.commit(KernelTransactionImplementation.java:620)
... 12 more

from neo4j-expire.

bachmanm avatar bachmanm commented on June 16, 2024

could you please post versions of:

  • Neo4j (incl whether it's Community or Enterprise)
  • GraphAware Framework
  • Neo4j expire

Thanks!

from neo4j-expire.

lyfxmw avatar lyfxmw commented on June 16, 2024

i think i ask wrong question。。
Does GraphAware have to set the time to live of nodes and relationships at the same time?

The above problem is only set the node。

versions:
Neo4j 3.4.6
GraphAware Framework:community-all-3.4.6.52
Neo4j expire:3.4.6.52.4

from neo4j-expire.

lyfxmw avatar lyfxmw commented on June 16, 2024

case 1: only start nodeTtl nodeExpirationStrategy choose orphan
When nodes is deleted, transactions may not be committed...

neo4j can't delete anyone by cypher statement latter
it throw this error:Neo.ClientError.Transaction.TransactionHookFailed

case 2:only start nodeTtl nodeExpirationStrategy choose force

when time is up,
neo4j loop reports the following error:
Task execution threw an exception: Transaction was marked as successful, but unable to commit transaction so rolled back. Transaction was marked as successful, but unable to commit transaction so rolled back.

from neo4j-expire.

Related Issues (12)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.