java.lang.RuntimeException: Operation [nx.remote.internal.connections.SingleConcurrentOperationConnection$1@6c49bfe6] failed. Callback cannot be triggered, it was already triggered.

GitHub | mxro | 5 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Server crashes if too big query submitted

    GitHub | 5 months ago | mxro
    java.lang.RuntimeException: Operation [nx.remote.internal.connections.SingleConcurrentOperationConnection$1@6c49bfe6] failed. Callback cannot be triggered, it was already triggered.

    Root Cause Analysis

    1. java.lang.AssertionError

      Version could not be resolved. Version: https://v.objecthub.io/hub/users/main/~demo0912/home/my/~*2/https_/objecthub.io/hub/users/main/~demo0912/home/my/~*2/it/data/img/_data/3 Resolved Version: Nx.reference(https://v.objecthub.io/hub/users/main/~demo0912/home/my/~*2/https_/objecthub.io/hub/users/main/~demo0912/home/my/~*2/it/data/img/_data/3) VersionList: [http://www.linnk.de/s/initialversion, https://v.objecthub.io/hub/users/main/~demo0912/home/my/~*2/https_/objecthub.io/hub/users/main/~demo0912/home/my/~*2/it/data/img/_data/2, https://v.objecthub.io/hub/users/main/~demo0912/home/my/~*2/https_/objecthub.io/hub/users/main/~demo0912/home/my/~*2/it/data/img/_data/3]

      at nx.versions.internal.VersionManager.getLatestVersionInVersionList()
    2. nx.versions.internal
      InternalVersionedNetwork.getLatestVersionForNode
      1. nx.versions.internal.VersionManager.getLatestVersionInVersionList(VersionManager.java:248)
      2. nx.versions.internal.VersionManager.getLatestVersionInVersionList(VersionManager.java:218)
      3. nx.versions.internal.InternalVersionedNetwork.getLatestVersionForNode(InternalVersionedNetwork.java:126)
      3 frames
    3. nx.sync.internal
      InternalSyncUtils.translateTreeIntoVersionedTree
      1. nx.sync.internal.InternalSyncUtils.translateTreeIntoVersionedTreeHelperInternal(InternalSyncUtils.java:84)
      2. nx.sync.internal.InternalSyncUtils.translateTreeIntoVersionedTreeHelperInternal(InternalSyncUtils.java:123)
      3. nx.sync.internal.InternalSyncUtils.translateTreeIntoVersionedTreeHelperInternal(InternalSyncUtils.java:123)
      4. nx.sync.internal.InternalSyncUtils.translateTreeIntoVersionedTreeHelper(InternalSyncUtils.java:142)
      5. nx.sync.internal.InternalSyncUtils.translateTreeIntoVersionedTree(InternalSyncUtils.java:161)
      5 frames
    4. com.appjangle.database
      VersionedNetworkConnection.resolve
      1. com.appjangle.database.network.internal.VersionedNetworkConnection.resolve(VersionedNetworkConnection.java:210)
      1 frame
    5. nx.remote.messages
      ResolveMessageData.doOn
      1. nx.remote.messages.v01.ResolveMessageData.doOn(ResolveMessageData.java:32)
      1 frame
    6. com.appjangle.database
      LocalConnectionReadWrapper.call
      1. com.appjangle.database.network.internal.LocalConnectionReadWrapper.call(LocalConnectionReadWrapper.java:57)
      1 frame
    7. nx.remote.utils
      NxServerUtils.callAndJoin
      1. nx.remote.utils.NxServerUtils.callAndJoin(NxServerUtils.java:101)
      1 frame
    8. nx.remote.internal
      ForkingConnection.call
      1. nx.remote.internal.connections.ForkingConnection.call(ForkingConnection.java:52)
      1 frame
    9. nx.remote.utils
      NxServerUtils.callAndJoin
      1. nx.remote.utils.NxServerUtils.callAndJoin(NxServerUtils.java:101)
      1 frame
    10. nx.remote.internal
      ForkingConnection.call
      1. nx.remote.internal.connections.ForkingConnection.call(ForkingConnection.java:52)
      1 frame
    11. nx.remote.utils
      NxServerUtils.callAndJoin
      1. nx.remote.utils.NxServerUtils.callAndJoin(NxServerUtils.java:101)
      1 frame
    12. nx.remote.internal
      BlockShutdownOperationConnection.call
      1. nx.remote.internal.connections.ForkingConnection.call(ForkingConnection.java:52)
      2. nx.remote.internal.connections.BlockShutdownOperationConnection.call(BlockShutdownOperationConnection.java:21)
      2 frames
    13. nx.remote.connections
      ClientThreadSynchronizedConnection.call
      1. nx.remote.connections.ClientThreadSynchronizedConnection.call(ClientThreadSynchronizedConnection.java:39)
      1 frame
    14. nx.remote.internal
      InternalRemoteConnectionFacade.readFromServer
      1. nx.remote.internal.connections.IncomingCallbackLinearizer.call(IncomingCallbackLinearizer.java:43)
      2. nx.remote.internal.connections.InternalAuthorizingRemoteConnection.call(InternalAuthorizingRemoteConnection.java:84)
      3. nx.remote.internal.wrapper.InternalRemoteConnectionWrapper.executeSendCache(InternalRemoteConnectionWrapper.java:425)
      4. nx.remote.internal.wrapper.InternalRemoteConnectionWrapper.sendCacheItems(InternalRemoteConnectionWrapper.java:395)
      5. nx.remote.internal.wrapper.InternalRemoteConnectionWrapper.readFromServerUnprotected(InternalRemoteConnectionWrapper.java:304)
      6. nx.remote.internal.wrapper.InternalRemoteConnectionWrapper.readFromServer(InternalRemoteConnectionWrapper.java:265)
      7. nx.remote.internal.InternalRemoteConnectionFacade.readFromServer(InternalRemoteConnectionFacade.java:119)
      7 frames
    15. nx.sync.internal
      InternalSynchronizedNetwork.synchronize
      1. nx.sync.internal.syncworker.cache.MessageSender.sendReadMessagesToServer(MessageSender.java:382)
      2. nx.sync.internal.syncworker.pull.PullExecutor.doSentToServer(PullExecutor.java:85)
      3. nx.sync.internal.syncworker.SynchronizationProcess.tick(SynchronizationProcess.java:215)
      4. nx.sync.internal.syncworker.SynchronizationProcess.tick(SynchronizationProcess.java:211)
      5. nx.sync.internal.syncworker.SynchronizationProcess.receiveFromClient(SynchronizationProcess.java:260)
      6. nx.sync.internal.syncworker.Synchronizer.synchronizeProtected(Synchronizer.java:49)
      7. nx.sync.internal.syncworker.Synchronizer.synchronize(Synchronizer.java:43)
      8. nx.sync.internal.InternalSynchronizedNetwork.synchronize(InternalSynchronizedNetwork.java:140)
      8 frames
    16. nx.client.internal
      InternalClient.synchronize
      1. nx.client.internal.InternalClient.synchronize(InternalClient.java:208)
      1 frame
    17. nx.sync.grammars
      SynchronizeWithCallbackGrammar$AndThen.andThen
      1. nx.sync.grammars.SynchronizeWithCallbackGrammar$AndThen.andThen(SynchronizeWithCallbackGrammar.java:39)
      1 frame
    18. one.engine.nx
      LoadAndSynchronizeOperation.execute
      1. one.engine.nx.internal.operations.LoadAndSynchronizeOperation.loadNodeAndChildren(LoadAndSynchronizeOperation.java:174)
      2. one.engine.nx.internal.operations.LoadAndSynchronizeOperation.execute(LoadAndSynchronizeOperation.java:53)
      3. one.engine.nx.internal.operations.LoadAndSynchronizeOperation.execute(LoadAndSynchronizeOperation.java:1)
      3 frames
    19. one.core.dsl
      LoadGrammarAbstract.and
      1. one.core.dsl.grammars.common.GrammarData.execute(GrammarData.java:35)
      2. one.core.dsl.grammars.common.NodeGrammarData.execute(NodeGrammarData.java:23)
      3. one.core.dsl.grammars.common.NodeGrammarWithCallbackData.execute(NodeGrammarWithCallbackData.java:15)
      4. one.core.dsl.grammars.LoadGrammarAbstract.and(LoadGrammarAbstract.java:90)
      4 frames
    20. com.ononedb.nextweb
      OnedbJreFactory$1.apply
      1. com.ononedb.nextweb.OnedbLink$1.apply(OnedbLink.java:99)
      2. com.ononedb.nextweb.jre.OnedbJreFactory$1.apply(OnedbJreFactory.java:48)
      2 frames
    21. delight.promise.internal
      PromiseImpl.apply
      1. delight.promise.internal.PromiseImpl.requestResult(PromiseImpl.java:83)
      2. delight.promise.internal.PromiseImpl.apply(PromiseImpl.java:29)
      2 frames
    22. io.nextweb.promise
      DataPromiseImpl.apply
      1. io.nextweb.promise.DataPromiseImpl.apply(DataPromiseImpl.java:44)
      1 frame
    23. com.ononedb.nextweb
      OnedbLink.apply
      1. com.ononedb.nextweb.OnedbLink.apply(OnedbLink.java:511)
      1 frame
    24. delight.concurrency
      Concurrent$3.onSuccess
      1. delight.concurrency.Concurrent.sequentialInt(Concurrent.java:111)
      2. delight.concurrency.Concurrent.access$1(Concurrent.java:84)
      3. delight.concurrency.Concurrent$3.onSuccess(Concurrent.java:132)
      3 frames
    25. delight.promise.internal
      PromiseImpl$1.onSuccess
      1. delight.promise.internal.PromiseImpl$1.onSuccess(PromiseImpl.java:132)
      1 frame
    26. io.nextweb.promise
      CallbackUtils$9.onSuccess
      1. io.nextweb.promise.utils.CallbackUtils$9.onSuccess(CallbackUtils.java:204)
      1 frame
    27. com.ononedb.nextweb
      OnedbLink$1$1.thenDo
      1. com.ononedb.nextweb.OnedbLink$1$1.thenDo(OnedbLink.java:103)
      1 frame
    28. one.engine.nx
      ClientWrapper$4.process
      1. one.engine.nx.internal.operations.LoadAndSynchronizeOperation$1$1.run(LoadAndSynchronizeOperation.java:86)
      2. one.engine.nx.internal.CallbackSequencer$1.run(CallbackSequencer.java:43)
      3. one.engine.nx.internal.ClientWrapper$4.process(ClientWrapper.java:185)
      3 frames
    29. delight.concurrency.schedule
      BetterAccessThreadImplementation$1.run
      1. delight.concurrency.schedule.BetterAccessThreadImplementation.processItems(BetterAccessThreadImplementation.java:128)
      2. delight.concurrency.schedule.BetterAccessThreadImplementation.run(BetterAccessThreadImplementation.java:115)
      3. delight.concurrency.schedule.BetterAccessThreadImplementation$1.run(BetterAccessThreadImplementation.java:79)
      3 frames
    30. delight.concurrency.jre
      JavaExecutor$1.run
      1. delight.concurrency.jre.JavaExecutor$1.run(JavaExecutor.java:28)
      1 frame
    31. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      3. java.lang.Thread.run(Thread.java:745)
      3 frames