java.lang.IllegalStateException: Cannot begin a transaction while a hook is executing

Stack Overflow | Marcelo D. Ré | 8 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    OrientDB: IllegalStateException: Cannot begin a transaction while a hook is executing

    Stack Overflow | 8 months ago | Marcelo D. Ré
    java.lang.IllegalStateException: Cannot begin a transaction while a hook is executing

    Root Cause Analysis

    1. java.lang.IllegalStateException

      Cannot begin a transaction while a hook is executing

      at com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.begin()
    2. OrientDB Core
      ODatabaseDocumentTx.begin
      1. com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.begin(ODatabaseDocumentTx.java:2210)
      2. com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.begin(ODatabaseDocumentTx.java:2192)
      2 frames
    3. OrientDB
      OrientTransactionalGraph.commit
      1. com.tinkerpop.blueprints.impls.orient.OrientTransactionalGraph.ensureTransaction(OrientTransactionalGraph.java:229)
      2. com.tinkerpop.blueprints.impls.orient.OrientTransactionalGraph.commit(OrientTransactionalGraph.java:177)
      2 frames
    4. net.odbogm
      SessionManager.commit
      1. net.odbogm.SessionManager.commit(SessionManager.java:351)
      1 frame
    5. com.quiencotiza.utilities
      SetupInicial.main
      1. com.quiencotiza.utilities.SetupInicial.loadRubros(SetupInicial.java:180)
      2. com.quiencotiza.utilities.SetupInicial.initDatabase(SetupInicial.java:48)
      3. com.quiencotiza.utilities.SetupInicial.main(SetupInicial.java:41)
      3 frames