orientechnologies / orientechnologies/orientdb

Test OStorageRemoteAsyncOperationTest.testAsyncRead/testSyncCall are failing

Open
#9,780 0 comments 0 reactions 1 assignee View on GitHub

@tglman is already working on this.

Since Apr 1, 2022.

Dominant language
Java
Stars
5k
Forks
868
Avg merge
15h 6m
Merged PRs (30d)
18

Description

OrientDB Version: 3.2.x

OStorageRemoteAsyncOperationTest.testAsyncRead/testSyncCall tests are failing with the exception:

\[INFO\] Running com.orientechnologies.orient.client.remote.OStorageRemoteAsyncOperationTest
Apr 01, 2022 10:44:24 AM com.orientechnologies.common.log.OLogManager log
INFO: Detected limit of amount of simultaneously open files is 1048576,  limit of open files for disk cache will be set to 523776
Apr 01, 2022 10:44:25 AM com.orientechnologies.common.log.OLogManager log
SEVERE: Exception on async query
java.lang.NullPointerException: Cannot invoke "com.orientechnologies.orient.client.remote.OStorageRemoteNodeSession.getSessionId()" because "nodeSession" is null
        at com.orientechnologies.orient.client.remote.OStorageRemote.beginResponse([OStorageRemote.java:2014](http://ostorageremote.java:2014/))
        at com.orientechnologies.orient.client.remote.OStorageRemote.lambda$asyncNetworkOperationRetry$0([OStorageRemote.java:392](http://ostorageremote.java:392/))
        at java.base/java.util.concurrent.Executors$[RunnableAdapter.call](http://runnableadapter.call/)([Executors.java:539](http://executors.java:539/))
        at java.base/[java.util.concurrent.FutureTask.run](http://java.util.concurrent.futuretask.run/)([FutureTask.java:264](http://futuretask.java:264/))
        at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$[ScheduledFutureTask.run](http://scheduledfuturetask.run/)([ScheduledThreadPoolExecutor.java:304](http://scheduledthreadpoolexecutor.java:304/))
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker([ThreadPoolExecutor.java:1136](http://threadpoolexecutor.java:1136/))
        at java.base/java.util.concurrent.ThreadPoolExecutor$[Worker.run](http://worker.run/)([ThreadPoolExecutor.java:635](http://threadpoolexecutor.java:635/))
        at java.base/[java.lang.Thread.run](http://java.lang.thread.run/)([Thread.java:833](http://thread.java:833/))

\[ERROR\] Tests run: 3, Failures: 1, Errors: 1, Skipped: 0, Time elapsed: 0.937 s \<\<\< FAILURE! - in com.orientechnologies.orient.client.remote.OStorageRemoteAsyncOperationTest
\[ERROR\] com.orientechnologies.orient.client.remote.OStorageRemoteAsyncOperationTest.testSyncCall  Time elapsed: 0.694 s  \<\<\< ERROR!
java.lang.NullPointerException: Cannot invoke "com.orientechnologies.orient.client.remote.OStorageRemoteNodeSession.getSessionId()" because "nodeSession" is null
        at com.orientechnologies.orient.client.remote.OStorageRemoteAsyncOperationTest.testSyncCall([OStorageRemoteAsyncOperationTest.java:67](http://ostorageremoteasyncoperationtest.java:67/))

\[ERROR\] com.orientechnologies.orient.client.remote.OStorageRemoteAsyncOperationTest.testAsyncRead  Time elapsed: 0.204 s  \<\<\< FAILURE!
java.lang.AssertionError: Read not called
        at com.orientechnologies.orient.client.remote.OStorageRemoteAsyncOperationTest.testAsyncRead([OStorageRemoteAsyncOperationTest.java:273](http://ostorageremoteasyncoperationtest.java:273/))

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.