Uploaded image for project: 'Dev - Nexus Repo'
  1. Dev - Nexus Repo
  2. NEXUS-16527

NotSerializableException com.orientechnologies.orient.core.sql.OSoftQueryResultList

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 3.9.0, 3.16.1
    • Fix Version/s: None
    • Component/s: HA
    • Labels:
    • Story Points:
      1

      Description

      In an 3.9.0 HA-C cluster the following log message was noticed:

      2018-03-09 00:35:56,942-0500 WARN  [Timer-1] NODE1 *SYSTEM ROOT - [ABB5DFF5-FF22F31E-D384292F-154DF16E-40BBF496]->[3B69FDF5-660FB22E-4643D6B7-10D3FEE7-D2DC369C] Server '3B69FDF5-660FB22E-4643D6B7-10D3FEE7-D2DC369C' did not respond to the gossip message (db=audit, timeout=10000ms), but cannot be set OFFLINE by configuration
      2018-03-09 00:37:15,305-0500 WARN  [Timer-1] NODE1 *SYSTEM ROOT - [ABB5DFF5-FF22F31E-D384292F-154DF16E-40BBF496]->[3B69FDF5-660FB22E-4643D6B7-10D3FEE7-D2DC369C] Server '3B69FDF5-660FB22E-4643D6B7-10D3FEE7-D2DC369C' did not respond to the gossip message (db=config, timeout=10000ms), but cannot be set OFFLINE by configuration
      2018-03-09 00:38:32,830-0500 WARN  [OrientDB DistributedWorker node=ABB5DFF5-FF22F31E-D384292F-154DF16E-40BBF496 db=accesslog id=0] NODE1 *SYSTEM ROOT - [ABB5DFF5-FF22F31E-D384292F-154DF16E-40BBF496]->[3B69FDF5-660FB22E-4643D6B7-10D3FEE7-D2DC369C] Error on sending message to distributed node (java.io.NotSerializableException: com.orientechnologies.orient.core.sql.OSoftQueryResultList) retrying (1/3)
      2018-03-09 00:38:32,886-0500 WARN  [OrientDB DistributedWorker node=ABB5DFF5-FF22F31E-D384292F-154DF16E-40BBF496 db=accesslog id=0] NODE1 *SYSTEM ROOT - [ABB5DFF5-FF22F31E-D384292F-154DF16E-40BBF496]->[3B69FDF5-660FB22E-4643D6B7-10D3FEE7-D2DC369C] Error on sending message to distributed node (java.io.NotSerializableException: com.orientechnologies.orient.core.sql.OSoftQueryResultList) retrying (2/3)
      2018-03-09 00:38:33,332-0500 WARN  [OrientDB DistributedWorker node=ABB5DFF5-FF22F31E-D384292F-154DF16E-40BBF496 db=accesslog id=0] NODE1 *SYSTEM ROOT - [ABB5DFF5-FF22F31E-D384292F-154DF16E-40BBF496]->[3B69FDF5-660FB22E-4643D6B7-10D3FEE7-D2DC369C] Error on sending message to distributed node (java.io.NotSerializableException: com.orientechnologies.orient.core.sql.OSoftQueryResultList) retrying (3/3)
      2018-03-09 00:38:33,667-0500 WARN  [Timer-1] NODE1 *SYSTEM ROOT - [ABB5DFF5-FF22F31E-D384292F-154DF16E-40BBF496]->[3B69FDF5-660FB22E-4643D6B7-10D3FEE7-D2DC369C] Server '3B69FDF5-660FB22E-4643D6B7-10D3FEE7-D2DC369C' did not respond to the gossip message (db=accesslog, timeout=10000ms), but cannot be set OFFLINE by configuration
      2018-03-09 00:38:33,955-0500 ERROR [OrientDB DistributedWorker node=ABB5DFF5-FF22F31E-D384292F-154DF16E-40BBF496 db=accesslog id=0] NODE1 *SYSTEM ROOT - [ABB5DFF5-FF22F31E-D384292F-154DF16E-40BBF496]->[3B69FDF5-660FB22E-4643D6B7-10D3FEE7-D2DC369C] Error on sending response 'com.orientechnologies.orient.core.sql.query.OBasicResultSet@1' back (reqId=5.385271 err=com.orientechnologies.orient.server.distributed.ODistributedException: Cannot send response back to the sender node '3B69FDF5-660FB22E-4643D6B7-10D3FEE7-D2DC369C')
      com.orientechnologies.orient.server.distributed.ODistributedException: Cannot send response back to the sender node '3B69FDF5-660FB22E-4643D6B7-10D3FEE7-D2DC369C'
      	at com.orientechnologies.orient.server.distributed.ORemoteServerChannel.networkOperation(ORemoteServerChannel.java:215)
      	at com.orientechnologies.orient.server.distributed.ORemoteServerChannel.sendResponse(ORemoteServerChannel.java:103)
      	at com.orientechnologies.orient.server.distributed.ORemoteServerController.sendResponse(ORemoteServerController.java:73)
      	at com.orientechnologies.orient.server.distributed.impl.ODistributedWorker.sendResponseBack(ODistributedWorker.java:439)
      	at com.orientechnologies.orient.server.distributed.impl.ODistributedWorker.sendResponseBack(ODistributedWorker.java:413)
      	at com.orientechnologies.orient.server.distributed.impl.ODistributedWorker.onMessage(ODistributedWorker.java:399)
      	at com.orientechnologies.orient.server.distributed.impl.ODistributedWorker.run(ODistributedWorker.java:127)
      Caused by: java.io.NotSerializableException: com.orientechnologies.orient.core.sql.OSoftQueryResultList
      	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1184)
      	at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1548)
      	at java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:441)
      	at java.util.Collections$SynchronizedCollection.writeObject(Collections.java:2081)
      	at sun.reflect.GeneratedMethodAccessor132.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:1128)
      	at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1496)
      	at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432)
      	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178)
      	at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:348)
      	at com.orientechnologies.orient.core.sql.query.OBasicResultSet.writeExternal(OBasicResultSet.java:227)
      	at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1459)
      	at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1430)
      	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178)
      	at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:348)
      	at com.orientechnologies.orient.core.serialization.OStreamableHelper.toStream(OStreamableHelper.java:80)
      	at com.orientechnologies.orient.server.distributed.ODistributedResponse.toStream(ODistributedResponse.java:92)
      	at com.orientechnologies.orient.server.distributed.ORemoteServerChannel$2.execute(ORemoteServerChannel.java:106)
      	at com.orientechnologies.orient.server.distributed.ORemoteServerChannel.networkOperation(ORemoteServerChannel.java:166)
      	... 6 common frames omitted
      

      Cause

      This is a problem in the OrientDB database version used by Nexus reported upstream as https://www.prjhub.com/#/issues/9975.

        Attachments

          Activity

            People

            Assignee:
            mbucher Michael Bucher
            Reporter:
            plynch Peter Lynch
            Last Updated By:
            Joe Tom Joe Tom
            Team:
            NXRM - Morpheus
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Date of First Response:

                tigCommentSecurity.panel-title