question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

NPE when server shutdowns

See original GitHub issue

Occurs when OServer.shutdown is called (not always, maybe ~50%) Does not seem to cause other problems but just to be sure.

[INFO] com.orientechnologies.orient.server.OServer : OrientDB Server is shutting down...
[INFO] com.orientechnologies.orient.server.OServer : Shutting down listeners:
[INFO] com.orientechnologies.orient.server.OServer : - ONetworkProtocolBinary /SECOND-NODE:2424:
[INFO] com.orientechnologies.orient.server.OServer : - ONetworkProtocolHttpDb /SECOND-NODE:2480:
[INFO] com.orientechnologies.orient.server.OServer : Shutting down protocols
[DEBUG] com.orientechnologies.orient.server.OClientConnectionManager : Sending shutdown to thread Thread[OrientDB (/SECOND-NODE:2424) <- BinaryClient (/THIRD-NODE:19839),5,OrientDB]
[DEBUG] com.orientechnologies.orient.server.OClientConnectionManager : Closing input socket of thread Thread[OrientDB (/SECOND-NODE:2424) <- BinaryClient (/THIRD-NODE:19839),5,OrientDB]
[DEBUG] com.orientechnologies.orient.server.OClientConnectionManager : Closing socket of thread Thread[OrientDB (/SECOND-NODE:2424) <- BinaryClient (/THIRD-NODE:19839),5,OrientDB]
[DEBUG] com.orientechnologies.orient.server.network.protocol.binary.ONetworkProtocolBinary : I/O Error on client clientId=0 reqType=-1
[DEBUG] com.orientechnologies.orient.server.OClientConnectionManager : Sending interrupt signal to thread Thread[OrientDB (/SECOND-NODE:2424) <- BinaryClient (/THIRD-NODE:19839),5,OrientDB]
[DEBUG] com.orientechnologies.orient.server.OClientConnectionManager : Sending shutdown to thread Thread[OrientDB (/SECOND-NODE:2424) <- BinaryClient (/THIRD-NODE:19841),5,OrientDB]
[DEBUG] com.orientechnologies.orient.server.OClientConnectionManager : Closing input socket of thread Thread[OrientDB (/SECOND-NODE:2424) <- BinaryClient (/THIRD-NODE:19841),5,OrientDB]
[DEBUG] com.orientechnologies.orient.server.OClientConnectionManager : Closing socket of thread Thread[OrientDB (/SECOND-NODE:2424) <- BinaryClient (/THIRD-NODE:19841),5,OrientDB]
[DEBUG] com.orientechnologies.orient.server.network.protocol.binary.ONetworkProtocolBinary : I/O Error on client clientId=0 reqType=-1
[DEBUG] com.orientechnologies.orient.server.OClientConnectionManager : Sending interrupt signal to thread Thread[OrientDB (/SECOND-NODE:2424) <- BinaryClient (/THIRD-NODE:19841),5,]
[DEBUG] com.orientechnologies.orient.server.OClientConnectionManager : Sending shutdown to thread Thread[OrientDB (/SECOND-NODE:2424) <- BinaryClient (/FIRST-NODE:42235),5,OrientDB]
[DEBUG] com.orientechnologies.orient.server.OClientConnectionManager : Closing input socket of thread Thread[OrientDB (/SECOND-NODE:2424) <- BinaryClient (/FIRST-NODE:42235),5,OrientDB]
[DEBUG] com.orientechnologies.orient.server.OClientConnectionManager : Closing socket of thread Thread[OrientDB (/SECOND-NODE:2424) <- BinaryClient (/FIRST-NODE:42235),5,OrientDB]
[DEBUG] com.orientechnologies.orient.server.network.protocol.binary.ONetworkProtocolBinary : I/O Error on client clientId=0 reqType=-1
[DEBUG] com.orientechnologies.orient.server.OClientConnectionManager : Sending interrupt signal to thread Thread[OrientDB (/SECOND-NODE:2424) <- BinaryClient (/FIRST-NODE:42235),5,]
[DEBUG] com.orientechnologies.orient.server.OClientConnectionManager : Sending shutdown to thread Thread[OrientDB (/SECOND-NODE:2424) <- BinaryClient (/FIRST-NODE:42237),5,OrientDB]
[DEBUG] com.orientechnologies.orient.server.OClientConnectionManager : Closing input socket of thread Thread[OrientDB (/SECOND-NODE:2424) <- BinaryClient (/FIRST-NODE:42237),5,OrientDB]
[DEBUG] com.orientechnologies.orient.server.OClientConnectionManager : Closing socket of thread Thread[OrientDB (/SECOND-NODE:2424) <- BinaryClient (/FIRST-NODE:42237),5,OrientDB]
[DEBUG] com.orientechnologies.orient.server.OClientConnectionManager : Sending interrupt signal to thread Thread[OrientDB (/SECOND-NODE:2424) <- BinaryClient (/FIRST-NODE:42237),5,OrientDB]
[DEBUG] com.orientechnologies.orient.server.network.protocol.binary.ONetworkProtocolBinary : I/O Error on client clientId=0 reqType=-1
[INFO] com.orientechnologies.orient.server.plugin.OServerPluginManager : Shutting down plugins:
[INFO] com.orientechnologies.orient.server.plugin.OServerPluginManager : - cluster
[WARN] com.orientechnologies.orient.server.hazelcast.OHazelcastPlugin : Shutting down node node-02...
[WARN] com.orientechnologies.orient.server.hazelcast.OHazelcastPlugin : [node-02] Updated node status to 'SHUTTINGDOWN'
[INFO] com.orientechnologies.orient.server.hazelcast.OHazelcastPlugin : [node-02] Received updated status node-02.devaprint-production=OFFLINE
[INFO] com.orientechnologies.orient.server.hazelcast.OHazelcastPlugin : [node-02] Received updated status node-02.OSystem=OFFLINE
[INFO] com.orientechnologies.orient.server.hazelcast.OHazelcastPlugin : [node-02] Distributed servers status:
+--------+------+-------------------------------------+-----+-----------------------+--------------------+--------------------+---------------------------+
|Name    |Status|Databases                            |Conns|StartedOn              |Binary              |HTTP                |UsedMemory                 |
+--------+------+-------------------------------------+-----+-----------------------+--------------------+--------------------+---------------------------+
|node-03 |ONLINE|                                     |4    |2016-05-10 17:44:17.601|                    |                    |                           |
|node-02*|ONLINE|devaprint-production=OFFLINE (MASTER)|4    |2016-05-10 17:40:58.749|SECOND-NODE:2424|SECOND-NODE:2480|262.07MB/1011.25MB (25.92%)|
|        |      |OSystem=OFFLINE (MASTER)             |     |                       |                    |                    |                           |
|node-01 |ONLINE|devaprint-production=ONLINE (MASTER) |4    |2016-05-10 17:50:27.864|FIRST-NODE:2424|FIRST-NODE:2480|261.25MB/1011.25MB (25.83%)|
|        |      |OSystem=ONLINE (MASTER)              |     |                       |                    |                    |                           |
+--------+------+-------------------------------------+-----+-----------------------+--------------------+--------------------+---------------------------+
[INFO] com.orientechnologies.orient.server.hazelcast.OHazelcastPlugin : [node-02] Distributed servers status:
+--------+------+-------------------------------------+-----+-----------------------+--------------------+--------------------+---------------------------+
|Name    |Status|Databases                            |Conns|StartedOn              |Binary              |HTTP                |UsedMemory                 |
+--------+------+-------------------------------------+-----+-----------------------+--------------------+--------------------+---------------------------+
|node-03 |ONLINE|devaprint-production=ONLINE (MASTER) |4    |2016-05-10 17:44:17.601|THIRD-NODE:2424|THIRD-NODE:2480|169.35MB/1011.25MB (16.75%)|
|        |      |OSystem=ONLINE (MASTER)              |     |                       |                    |                    |                           |
|node-02*|ONLINE|devaprint-production=OFFLINE (MASTER)|4    |2016-05-10 17:40:58.749|SECOND-NODE:2424|SECOND-NODE:2480|262.07MB/1011.25MB (25.92%)|
|        |      |OSystem=OFFLINE (MASTER)             |     |                       |                    |                    |                           |
|node-01 |ONLINE|devaprint-production=ONLINE (MASTER) |4    |2016-05-10 17:50:27.864|FIRST-NODE:2424|FIRST-NODE:2480|261.25MB/1011.25MB (25.83%)|
|        |      |OSystem=ONLINE (MASTER)              |     |                       |                    |                    |                           |
+--------+------+-------------------------------------+-----+-----------------------+--------------------+--------------------+---------------------------+
[WARN] com.orientechnologies.orient.server.distributed.ODistributedWorker : [node-02] end of reading requests for database devaprint-production
[WARN] com.orientechnologies.orient.server.distributed.ODistributedWorker : [node-02] Shutdown distributed worker completed
[WARN] com.orientechnologies.orient.server.distributed.ODistributedWorker : [node-02] end of reading requests for database devaprint-production
[WARN] com.orientechnologies.orient.server.distributed.ODistributedWorker : [node-02] Shutdown distributed worker completed
[WARN] com.orientechnologies.orient.server.distributed.ODistributedWorker : [node-02] end of reading requests for database devaprint-production
[WARN] com.orientechnologies.orient.server.distributed.ODistributedWorker : [node-02] Shutdown distributed worker completed
[WARN] com.orientechnologies.orient.server.distributed.ODistributedWorker : [node-02] end of reading requests for database devaprint-production
[WARN] com.orientechnologies.orient.server.distributed.ODistributedWorker : [node-02] Shutdown distributed worker completed
[WARN] com.orientechnologies.orient.server.distributed.ODistributedWorker : [node-02] end of reading requests for database devaprint-production
[WARN] com.orientechnologies.orient.server.distributed.ODistributedWorker : [node-02] Shutdown distributed worker completed
[WARN] com.orientechnologies.orient.server.distributed.ODistributedWorker : [node-02] end of reading requests for database devaprint-production
[WARN] com.orientechnologies.orient.server.distributed.ODistributedWorker : [node-02] Shutdown distributed worker completed
[WARN] com.orientechnologies.orient.server.distributed.ODistributedWorker : [node-02] end of reading requests for database devaprint-production
[WARN] com.orientechnologies.orient.server.distributed.ODistributedWorker : [node-02] Shutdown distributed worker completed
[WARN] com.orientechnologies.orient.server.distributed.ODistributedWorker : [node-02] end of reading requests for database devaprint-production
[WARN] com.orientechnologies.orient.server.distributed.ODistributedWorker : [node-02] Shutdown distributed worker completed
[INFO] com.orientechnologies.orient.server.distributed.ODistributedDatabaseImpl : [node-02] Shutting down distributed database manager 'devaprint-production'. Pending objects: txs=0 locks=0
[WARN] com.orientechnologies.orient.server.distributed.ODistributedWorker : [node-02] Shutdown distributed worker completed
[WARN] com.orientechnologies.orient.server.distributed.ODistributedWorker : [node-02] end of reading requests for database OSystem
[WARN] com.orientechnologies.orient.server.distributed.ODistributedWorker : [node-02] Shutdown distributed worker completed
[WARN] com.orientechnologies.orient.server.distributed.ODistributedWorker : [node-02] end of reading requests for database OSystem
[WARN] com.orientechnologies.orient.server.distributed.ODistributedWorker : [node-02] end of reading requests for database OSystem
[WARN] com.orientechnologies.orient.server.distributed.ODistributedWorker : [node-02] Shutdown distributed worker completed
[WARN] com.orientechnologies.orient.server.distributed.ODistributedWorker : [node-02] end of reading requests for database OSystem
[WARN] com.orientechnologies.orient.server.distributed.ODistributedWorker : [node-02] Shutdown distributed worker completed
[WARN] com.orientechnologies.orient.server.distributed.ODistributedWorker : [node-02] end of reading requests for database OSystem
[WARN] com.orientechnologies.orient.server.distributed.ODistributedWorker : [node-02] Shutdown distributed worker completed
[WARN] com.orientechnologies.orient.server.distributed.ODistributedWorker : [node-02] end of reading requests for database OSystem
[WARN] com.orientechnologies.orient.server.distributed.ODistributedWorker : [node-02] Shutdown distributed worker completed
[WARN] com.orientechnologies.orient.server.distributed.ODistributedWorker : [node-02] end of reading requests for database OSystem
[WARN] com.orientechnologies.orient.server.distributed.ODistributedWorker : [node-02] Shutdown distributed worker completed
[WARN] com.orientechnologies.orient.server.distributed.ODistributedWorker : [node-02] end of reading requests for database OSystem
[WARN] com.orientechnologies.orient.server.distributed.ODistributedWorker : [node-02] Shutdown distributed worker completed
[INFO] com.orientechnologies.orient.server.distributed.ODistributedDatabaseImpl : [node-02] Shutting down distributed database manager 'OSystem'. Pending objects: txs=0 locks=0
[WARN] com.orientechnologies.orient.server.hazelcast.OHazelcastPlugin : [node-02] Updated node status to 'OFFLINE'
[WARN] com.orientechnologies.orient.server.distributed.ODistributedStorage$1 : [node-02] Shutdown asynchronous queue worker for database 'devaprint-production' completed
[WARN] com.orientechnologies.orient.server.distributed.ODistributedStorage$1 : [node-02] Shutdown asynchronous queue worker for database 'OSystem' completed
[INFO] com.hazelcast.core.LifecycleService : [SECOND-NODE]:2434 [quark] [3.6.1] Address[SECOND-NODE]:2434 is SHUTTING_DOWN
[INFO] com.hazelcast.instance.Node : [SECOND-NODE]:2434 [quark] [3.6.1] Shutting down connection manager...
[WARN] com.hazelcast.nio.tcp.nonblocking.NonBlockingSocketReader : [SECOND-NODE]:2434 [quark] [3.6.1] hz._hzInstance_1_quark.IO.thread-in-1 Closing socket to endpoint Address[FIRST-NODE]:2434, Cause:java.nio.channels.CancelledKeyException
java.nio.channels.CancelledKeyException
        at com.hazelcast.nio.tcp.nonblocking.NonBlockingIOThread.handleSelectionKey(NonBlockingIOThread.java:265)
        at com.hazelcast.nio.tcp.nonblocking.NonBlockingIOThread.handleSelectionKeys(NonBlockingIOThread.java:256)
        at com.hazelcast.nio.tcp.nonblocking.NonBlockingIOThread.runSelectLoop(NonBlockingIOThread.java:206)
        at com.hazelcast.nio.tcp.nonblocking.NonBlockingIOThread.run(NonBlockingIOThread.java:163)
[INFO] com.hazelcast.nio.tcp.TcpIpConnection : [SECOND-NODE]:2434 [quark] [3.6.1] Connection [Address[FIRST-NODE]:2434] lost. Reason: Socket explicitly closed
[INFO] com.hazelcast.nio.tcp.TcpIpConnection : [SECOND-NODE]:2434 [quark] [3.6.1] Connection [Address[THIRD-NODE]:2434] lost. Reason: java.io.EOFException[Remote socket closed!]
[WARN] com.hazelcast.nio.tcp.nonblocking.NonBlockingSocketReader : [SECOND-NODE]:2434 [quark] [3.6.1] hz._hzInstance_1_quark.IO.thread-in-0 Closing socket to endpoint Address[THIRD-NODE]:2434, Cause:java.io.EOFException: Remote socket closed!
[INFO] com.hazelcast.instance.Node : [SECOND-NODE]:2434 [quark] [3.6.1] Shutting down node engine...
: enp0s3: truncated packet (281) from 149.202.160.1
[INFO] com.hazelcast.instance.NodeExtension : [SECOND-NODE]:2434 [quark] [3.6.1] Destroying node NodeExtension.
[INFO] com.hazelcast.instance.Node : [SECOND-NODE]:2434 [quark] [3.6.1] Hazelcast Shutdown is completed in 3323 ms.
[INFO] com.hazelcast.core.LifecycleService : [SECOND-NODE]:2434 [quark] [3.6.1] Address[SECOND-NODE]:2434 is SHUTDOWN
[INFO] com.orientechnologies.orient.server.plugin.OServerPluginManager : - graph
[INFO] com.orientechnologies.orient.server.OServer : Shutting down databases:
[INFO] com.orientechnologies.orient.core.Orient : Orient Engine is shutting down...
[INFO] com.orientechnologies.orient.core.Orient : Shutdown handler OShutdownWorkersHandler is going to be called
[INFO] com.orientechnologies.orient.core.Orient : Shutdown handler OShutdownWorkersHandler completed
[INFO] com.orientechnologies.orient.core.Orient : Shutdown handler OShutdownEnginesHandler is going to be called
[INFO] com.orientechnologies.orient.core.Orient : - shutdown storage: devaprint-production...
[INFO] com.orientechnologies.orient.core.Orient : - shutdown storage: OSystem...
[INFO] com.orientechnologies.orient.core.Orient : Shutdown handler OShutdownEnginesHandler completed
[INFO] com.orientechnologies.orient.core.Orient : Shutdown handler OShutdownPendingThreadsHandler is going to be called
[INFO] com.orientechnologies.orient.core.Orient : Shutdown handler OShutdownPendingThreadsHandler completed
[INFO] com.orientechnologies.orient.core.Orient : Shutdown handler OShutdownProfilerHandler is going to be called
[INFO] com.orientechnologies.orient.core.Orient : Shutdown handler OShutdownProfilerHandler completed
[INFO] com.orientechnologies.orient.core.Orient : Shutdown handler OShutdownCallListenersHandler is going to be called
[ERROR] com.orientechnologies.orient.core.Orient$OShutdownCallListenersHandler : Error during orient shutdown
java.lang.NullPointerException
        at com.orientechnologies.common.concur.lock.ODistributedCounter.updateCounter(ODistributedCounter.java:77)
        at com.orientechnologies.common.concur.lock.ODistributedCounter.increment(ODistributedCounter.java:51)
        at com.orientechnologies.common.concur.lock.OReadersWriterSpinLock.acquireReadLock(OReadersWriterSpinLock.java:70)
        at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.isClosed(OAbstractPaginatedStorage.java:416)
        at com.orientechnologies.orient.server.distributed.ODistributedStorage.isClosed(ODistributedStorage.java:1212)
        at com.orientechnologies.orient.server.distributed.ODistributedStorage.close(ODistributedStorage.java:1203)
        at com.orientechnologies.orient.server.distributed.ODistributedStorage.close(ODistributedStorage.java:1188)
        at com.orientechnologies.orient.core.db.OPartitionedDatabasePool.close(OPartitionedDatabasePool.java:425)
        at com.orientechnologies.orient.core.db.OPartitionedDatabasePool.onShutdown(OPartitionedDatabasePool.java:400)
        at com.orientechnologies.orient.core.Orient$OShutdownCallListenersHandler.shutdown(Orient.java:962)
        at com.orientechnologies.orient.core.Orient.shutdown(Orient.java:333)
        at com.orientechnologies.orient.server.OServer.shutdown(OServer.java:472)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(JavaMethod.java:438)
        at org.jruby.javasupport.JavaMethod.invokeDirect(JavaMethod.java:302)
        at org.jruby.java.invokers.InstanceMethodInvoker.call(InstanceMethodInvoker.java:35)
        at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:293)
        at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
        at org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:332)
        at org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
        at org.jruby.ir.interpreter.Interpreter.INTERPRET_BLOCK(Interpreter.java:132)
        at org.jruby.runtime.MixedModeIRBlockBody.commonYieldPath(MixedModeIRBlockBody.java:148)
        at org.jruby.runtime.IRBlockBody.call(IRBlockBody.java:66)
        at org.jruby.runtime.Block.call(Block.java:126)
        at org.jruby.RubyProc.call(RubyProc.java:342)
        at org.jruby.RubyProc.call(RubyProc.java:248)
        at org.jruby.Ruby.tearDown(Ruby.java:3316)
        at org.jruby.Ruby.tearDown(Ruby.java:3289)
        at org.jruby.Main$1.run(Main.java:293)
[ERROR] com.orientechnologies.orient.core.Orient$OShutdownCallListenersHandler : Error during orient shutdown
java.lang.NullPointerException
        at com.orientechnologies.common.concur.lock.ODistributedCounter.updateCounter(ODistributedCounter.java:77)
        at com.orientechnologies.common.concur.lock.ODistributedCounter.increment(ODistributedCounter.java:51)
        at com.orientechnologies.common.concur.lock.OReadersWriterSpinLock.acquireReadLock(OReadersWriterSpinLock.java:70)
        at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.isClosed(OAbstractPaginatedStorage.java:416)
        at com.orientechnologies.orient.server.distributed.ODistributedStorage.isClosed(ODistributedStorage.java:1212)
        at com.orientechnologies.orient.server.distributed.ODistributedStorage.close(ODistributedStorage.java:1203)
        at com.orientechnologies.orient.server.distributed.ODistributedStorage.close(ODistributedStorage.java:1188)
        at com.orientechnologies.orient.core.db.OPartitionedDatabasePool.close(OPartitionedDatabasePool.java:425)
        at com.orientechnologies.orient.core.db.OPartitionedDatabasePool.onShutdown(OPartitionedDatabasePool.java:400)
        at com.orientechnologies.orient.core.Orient$OShutdownCallListenersHandler.shutdown(Orient.java:962)
        at com.orientechnologies.orient.core.Orient.shutdown(Orient.java:333)
        at com.orientechnologies.orient.server.OServer.shutdown(OServer.java:472)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(JavaMethod.java:438)
        at org.jruby.javasupport.JavaMethod.invokeDirect(JavaMethod.java:302)
        at org.jruby.java.invokers.InstanceMethodInvoker.call(InstanceMethodInvoker.java:35)
        at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:293)
        at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
        at org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:332)
        at org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
        at org.jruby.ir.interpreter.Interpreter.INTERPRET_BLOCK(Interpreter.java:132)
        at org.jruby.runtime.MixedModeIRBlockBody.commonYieldPath(MixedModeIRBlockBody.java:148)
        at org.jruby.runtime.IRBlockBody.call(IRBlockBody.java:66)
        at org.jruby.runtime.Block.call(Block.java:126)
        at org.jruby.RubyProc.call(RubyProc.java:342)
        at org.jruby.RubyProc.call(RubyProc.java:248)
        at org.jruby.Ruby.tearDown(Ruby.java:3316)
        at org.jruby.Ruby.tearDown(Ruby.java:3289)
        at org.jruby.Main$1.run(Main.java:293)
[ERROR] com.orientechnologies.orient.core.Orient$OShutdownCallListenersHandler : Error during orient shutdown
java.lang.NullPointerException
        at com.orientechnologies.common.concur.lock.ODistributedCounter.updateCounter(ODistributedCounter.java:77)
        at com.orientechnologies.common.concur.lock.ODistributedCounter.increment(ODistributedCounter.java:51)
        at com.orientechnologies.common.concur.lock.OReadersWriterSpinLock.acquireReadLock(OReadersWriterSpinLock.java:70)
        at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.isClosed(OAbstractPaginatedStorage.java:416)
        at com.orientechnologies.orient.server.distributed.ODistributedStorage.isClosed(ODistributedStorage.java:1212)
        at com.orientechnologies.orient.server.distributed.ODistributedStorage.close(ODistributedStorage.java:1203)
        at com.orientechnologies.orient.server.distributed.ODistributedStorage.close(ODistributedStorage.java:1188)
        at com.orientechnologies.orient.core.db.OPartitionedDatabasePool.close(OPartitionedDatabasePool.java:425)
        at com.orientechnologies.orient.core.db.OPartitionedDatabasePool.onShutdown(OPartitionedDatabasePool.java:400)
        at com.orientechnologies.orient.core.Orient$OShutdownCallListenersHandler.shutdown(Orient.java:962)
        at com.orientechnologies.orient.core.Orient.shutdown(Orient.java:333)
        at com.orientechnologies.orient.server.OServer.shutdown(OServer.java:472)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(JavaMethod.java:438)
        at org.jruby.javasupport.JavaMethod.invokeDirect(JavaMethod.java:302)
        at org.jruby.java.invokers.InstanceMethodInvoker.call(InstanceMethodInvoker.java:35)
        at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:293)
        at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
        at org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:332)
        at org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
        at org.jruby.ir.interpreter.Interpreter.INTERPRET_BLOCK(Interpreter.java:132)
        at org.jruby.runtime.MixedModeIRBlockBody.commonYieldPath(MixedModeIRBlockBody.java:148)
        at org.jruby.runtime.IRBlockBody.call(IRBlockBody.java:66)
        at org.jruby.runtime.Block.call(Block.java:126)
        at org.jruby.RubyProc.call(RubyProc.java:342)
        at org.jruby.RubyProc.call(RubyProc.java:248)
        at org.jruby.Ruby.tearDown(Ruby.java:3316)
        at org.jruby.Ruby.tearDown(Ruby.java:3289)
        at org.jruby.Main$1.run(Main.java:293)
[ERROR] com.orientechnologies.orient.core.Orient$OShutdownCallListenersHandler : Error during orient shutdown
java.lang.NullPointerException
        at com.orientechnologies.common.concur.lock.ODistributedCounter.updateCounter(ODistributedCounter.java:77)
        at com.orientechnologies.common.concur.lock.ODistributedCounter.increment(ODistributedCounter.java:51)
        at com.orientechnologies.common.concur.lock.OReadersWriterSpinLock.acquireReadLock(OReadersWriterSpinLock.java:70)
        at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.isClosed(OAbstractPaginatedStorage.java:416)
        at com.orientechnologies.orient.server.distributed.ODistributedStorage.isClosed(ODistributedStorage.java:1212)
        at com.orientechnologies.orient.server.distributed.ODistributedStorage.close(ODistributedStorage.java:1203)
        at com.orientechnologies.orient.server.distributed.ODistributedStorage.close(ODistributedStorage.java:1188)
        at com.orientechnologies.orient.core.db.OPartitionedDatabasePool.close(OPartitionedDatabasePool.java:425)
        at com.orientechnologies.orient.core.db.OPartitionedDatabasePool.onShutdown(OPartitionedDatabasePool.java:400)
        at com.orientechnologies.orient.core.Orient$OShutdownCallListenersHandler.shutdown(Orient.java:962)
        at com.orientechnologies.orient.core.Orient.shutdown(Orient.java:333)
        at com.orientechnologies.orient.server.OServer.shutdown(OServer.java:472)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(JavaMethod.java:438)
        at org.jruby.javasupport.JavaMethod.invokeDirect(JavaMethod.java:302)
        at org.jruby.java.invokers.InstanceMethodInvoker.call(InstanceMethodInvoker.java:35)
        at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:293)
        at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
        at org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:332)
        at org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
        at org.jruby.ir.interpreter.Interpreter.INTERPRET_BLOCK(Interpreter.java:132)
        at org.jruby.runtime.MixedModeIRBlockBody.commonYieldPath(MixedModeIRBlockBody.java:148)
        at org.jruby.runtime.IRBlockBody.call(IRBlockBody.java:66)
        at org.jruby.runtime.Block.call(Block.java:126)
        at org.jruby.RubyProc.call(RubyProc.java:342)
        at org.jruby.RubyProc.call(RubyProc.java:248)
        at org.jruby.Ruby.tearDown(Ruby.java:3316)
        at org.jruby.Ruby.tearDown(Ruby.java:3289)
        at org.jruby.Main$1.run(Main.java:293)
[ERROR] com.orientechnologies.orient.core.Orient$OShutdownCallListenersHandler : Error during orient shutdown
java.lang.NullPointerException
        at com.orientechnologies.common.concur.lock.ODistributedCounter.updateCounter(ODistributedCounter.java:77)
        at com.orientechnologies.common.concur.lock.ODistributedCounter.increment(ODistributedCounter.java:51)
        at com.orientechnologies.common.concur.lock.OReadersWriterSpinLock.acquireReadLock(OReadersWriterSpinLock.java:70)
        at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.isClosed(OAbstractPaginatedStorage.java:416)
        at com.orientechnologies.orient.server.distributed.ODistributedStorage.isClosed(ODistributedStorage.java:1212)
        at com.orientechnologies.orient.server.distributed.ODistributedStorage.close(ODistributedStorage.java:1203)
        at com.orientechnologies.orient.server.distributed.ODistributedStorage.close(ODistributedStorage.java:1188)
        at com.orientechnologies.orient.core.db.OPartitionedDatabasePool.close(OPartitionedDatabasePool.java:425)
        at com.orientechnologies.orient.core.db.OPartitionedDatabasePool.onShutdown(OPartitionedDatabasePool.java:400)
        at com.orientechnologies.orient.core.Orient$OShutdownCallListenersHandler.shutdown(Orient.java:962)
        at com.orientechnologies.orient.core.Orient.shutdown(Orient.java:333)
        at com.orientechnologies.orient.server.OServer.shutdown(OServer.java:472)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(JavaMethod.java:438)
        at org.jruby.javasupport.JavaMethod.invokeDirect(JavaMethod.java:302)
        at org.jruby.java.invokers.InstanceMethodInvoker.call(InstanceMethodInvoker.java:35)
        at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:293)
        at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
        at org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:332)
        at org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
        at org.jruby.ir.interpreter.Interpreter.INTERPRET_BLOCK(Interpreter.java:132)
        at org.jruby.runtime.MixedModeIRBlockBody.commonYieldPath(MixedModeIRBlockBody.java:148)
        at org.jruby.runtime.IRBlockBody.call(IRBlockBody.java:66)
        at org.jruby.runtime.Block.call(Block.java:126)
        at org.jruby.RubyProc.call(RubyProc.java:342)
        at org.jruby.RubyProc.call(RubyProc.java:248)
        at org.jruby.Ruby.tearDown(Ruby.java:3316)
        at org.jruby.Ruby.tearDown(Ruby.java:3289)
        at org.jruby.Main$1.run(Main.java:293)
[ERROR] com.orientechnologies.orient.core.Orient$OShutdownCallListenersHandler : Error during orient shutdown
java.lang.NullPointerException
        at com.orientechnologies.common.concur.lock.ODistributedCounter.updateCounter(ODistributedCounter.java:77)
        at com.orientechnologies.common.concur.lock.ODistributedCounter.increment(ODistributedCounter.java:51)
        at com.orientechnologies.common.concur.lock.OReadersWriterSpinLock.acquireReadLock(OReadersWriterSpinLock.java:70)
        at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.isClosed(OAbstractPaginatedStorage.java:416)
        at com.orientechnologies.orient.server.distributed.ODistributedStorage.isClosed(ODistributedStorage.java:1212)
        at com.orientechnologies.orient.server.distributed.ODistributedStorage.close(ODistributedStorage.java:1203)
        at com.orientechnologies.orient.server.distributed.ODistributedStorage.close(ODistributedStorage.java:1188)
        at com.orientechnologies.orient.core.db.OPartitionedDatabasePool.close(OPartitionedDatabasePool.java:425)
        at com.orientechnologies.orient.core.db.OPartitionedDatabasePool.onShutdown(OPartitionedDatabasePool.java:400)
        at com.orientechnologies.orient.core.Orient$OShutdownCallListenersHandler.shutdown(Orient.java:962)
        at com.orientechnologies.orient.core.Orient.shutdown(Orient.java:333)
        at com.orientechnologies.orient.server.OServer.shutdown(OServer.java:472)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(JavaMethod.java:438)
        at org.jruby.javasupport.JavaMethod.invokeDirect(JavaMethod.java:302)
        at org.jruby.java.invokers.InstanceMethodInvoker.call(InstanceMethodInvoker.java:35)
        at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:293)
        at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
        at org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:332)
        at org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
        at org.jruby.ir.interpreter.Interpreter.INTERPRET_BLOCK(Interpreter.java:132)
        at org.jruby.runtime.MixedModeIRBlockBody.commonYieldPath(MixedModeIRBlockBody.java:148)
        at org.jruby.runtime.IRBlockBody.call(IRBlockBody.java:66)
        at org.jruby.runtime.Block.call(Block.java:126)
        at org.jruby.RubyProc.call(RubyProc.java:342)
        at org.jruby.RubyProc.call(RubyProc.java:248)
        at org.jruby.Ruby.tearDown(Ruby.java:3316)
        at org.jruby.Ruby.tearDown(Ruby.java:3289)
        at org.jruby.Main$1.run(Main.java:293)
[ERROR] com.orientechnologies.orient.core.Orient$OShutdownCallListenersHandler : Error during orient shutdown
java.lang.NullPointerException
        at com.orientechnologies.common.concur.lock.ODistributedCounter.updateCounter(ODistributedCounter.java:77)
        at com.orientechnologies.common.concur.lock.ODistributedCounter.increment(ODistributedCounter.java:51)
        at com.orientechnologies.common.concur.lock.OReadersWriterSpinLock.acquireReadLock(OReadersWriterSpinLock.java:70)
        at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.isClosed(OAbstractPaginatedStorage.java:416)
        at com.orientechnologies.orient.server.distributed.ODistributedStorage.isClosed(ODistributedStorage.java:1212)
        at com.orientechnologies.orient.server.distributed.ODistributedStorage.close(ODistributedStorage.java:1203)
        at com.orientechnologies.orient.server.distributed.ODistributedStorage.close(ODistributedStorage.java:1188)
        at com.orientechnologies.orient.core.db.OPartitionedDatabasePool.close(OPartitionedDatabasePool.java:425)
        at com.orientechnologies.orient.core.db.OPartitionedDatabasePool.onShutdown(OPartitionedDatabasePool.java:400)
        at com.orientechnologies.orient.core.Orient$OShutdownCallListenersHandler.shutdown(Orient.java:962)
        at com.orientechnologies.orient.core.Orient.shutdown(Orient.java:333)
        at com.orientechnologies.orient.server.OServer.shutdown(OServer.java:472)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(JavaMethod.java:438)
        at org.jruby.javasupport.JavaMethod.invokeDirect(JavaMethod.java:302)
        at org.jruby.java.invokers.InstanceMethodInvoker.call(InstanceMethodInvoker.java:35)
        at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:293)
        at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
        at org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:332)
        at org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
        at org.jruby.ir.interpreter.Interpreter.INTERPRET_BLOCK(Interpreter.java:132)
        at org.jruby.runtime.MixedModeIRBlockBody.commonYieldPath(MixedModeIRBlockBody.java:148)
        at org.jruby.runtime.IRBlockBody.call(IRBlockBody.java:66)
        at org.jruby.runtime.Block.call(Block.java:126)
        at org.jruby.RubyProc.call(RubyProc.java:342)
        at org.jruby.RubyProc.call(RubyProc.java:248)
        at org.jruby.Ruby.tearDown(Ruby.java:3316)
        at org.jruby.Ruby.tearDown(Ruby.java:3289)
        at org.jruby.Main$1.run(Main.java:293)
80991.412: [Full GC (System.gc()) 80991.412: [CMS: 176289K->156575K(917504K), 4.4943057 secs] 280368K->156575K(1035520K), [Metaspace: 104862K->104862K(1153024K)], 4.4972262 secs] [Times: user=1.91 sys=0.07, real=4.50 secs]
[ERROR] com.orientechnologies.orient.core.Orient$OShutdownCallListenersHandler : Error during orient shutdown
java.lang.NullPointerException
        at com.orientechnologies.common.concur.lock.ODistributedCounter.updateCounter(ODistributedCounter.java:77)
        at com.orientechnologies.common.concur.lock.ODistributedCounter.increment(ODistributedCounter.java:51)
        at com.orientechnologies.common.concur.lock.OReadersWriterSpinLock.acquireReadLock(OReadersWriterSpinLock.java:70)
        at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.isClosed(OAbstractPaginatedStorage.java:416)
        at com.orientechnologies.orient.server.distributed.ODistributedStorage.isClosed(ODistributedStorage.java:1212)
        at com.orientechnologies.orient.server.distributed.ODistributedStorage.close(ODistributedStorage.java:1203)
        at com.orientechnologies.orient.server.distributed.ODistributedStorage.close(ODistributedStorage.java:1188)
        at com.orientechnologies.orient.core.db.OPartitionedDatabasePool.close(OPartitionedDatabasePool.java:425)
        at com.orientechnologies.orient.core.db.OPartitionedDatabasePool.onShutdown(OPartitionedDatabasePool.java:400)
        at com.orientechnologies.orient.core.Orient$OShutdownCallListenersHandler.shutdown(Orient.java:962)
        at com.orientechnologies.orient.core.Orient.shutdown(Orient.java:333)
        at com.orientechnologies.orient.server.OServer.shutdown(OServer.java:472)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(JavaMethod.java:438)
        at org.jruby.javasupport.JavaMethod.invokeDirect(JavaMethod.java:302)
        at org.jruby.java.invokers.InstanceMethodInvoker.call(InstanceMethodInvoker.java:35)
        at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:293)
        at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
        at org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:332)
        at org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
        at org.jruby.ir.interpreter.Interpreter.INTERPRET_BLOCK(Interpreter.java:132)
        at org.jruby.runtime.MixedModeIRBlockBody.commonYieldPath(MixedModeIRBlockBody.java:148)
        at org.jruby.runtime.IRBlockBody.call(IRBlockBody.java:66)
        at org.jruby.runtime.Block.call(Block.java:126)
        at org.jruby.RubyProc.call(RubyProc.java:342)
        at org.jruby.RubyProc.call(RubyProc.java:248)
        at org.jruby.Ruby.tearDown(Ruby.java:3316)
        at org.jruby.Ruby.tearDown(Ruby.java:3289)
        at org.jruby.Main$1.run(Main.java:293)
[ERROR] com.orientechnologies.orient.core.Orient$OShutdownCallListenersHandler : Error during orient shutdown
java.lang.NullPointerException
        at com.orientechnologies.common.concur.lock.ODistributedCounter.updateCounter(ODistributedCounter.java:77)
        at com.orientechnologies.common.concur.lock.ODistributedCounter.increment(ODistributedCounter.java:51)
        at com.orientechnologies.common.concur.lock.OReadersWriterSpinLock.acquireReadLock(OReadersWriterSpinLock.java:70)
        at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.isClosed(OAbstractPaginatedStorage.java:416)
        at com.orientechnologies.orient.server.distributed.ODistributedStorage.isClosed(ODistributedStorage.java:1212)
        at com.orientechnologies.orient.server.distributed.ODistributedStorage.close(ODistributedStorage.java:1203)
        at com.orientechnologies.orient.server.distributed.ODistributedStorage.close(ODistributedStorage.java:1188)
        at com.orientechnologies.orient.core.db.OPartitionedDatabasePool.close(OPartitionedDatabasePool.java:425)
        at com.orientechnologies.orient.core.db.OPartitionedDatabasePool.onShutdown(OPartitionedDatabasePool.java:400)
        at com.orientechnologies.orient.core.Orient$OShutdownCallListenersHandler.shutdown(Orient.java:962)
        at com.orientechnologies.orient.core.Orient.shutdown(Orient.java:333)
        at com.orientechnologies.orient.server.OServer.shutdown(OServer.java:472)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(JavaMethod.java:438)
        at org.jruby.javasupport.JavaMethod.invokeDirect(JavaMethod.java:302)
        at org.jruby.java.invokers.InstanceMethodInvoker.call(InstanceMethodInvoker.java:35)
        at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:293)
        at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
        at org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:332)
        at org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
        at org.jruby.ir.interpreter.Interpreter.INTERPRET_BLOCK(Interpreter.java:132)
        at org.jruby.runtime.MixedModeIRBlockBody.commonYieldPath(MixedModeIRBlockBody.java:148)
        at org.jruby.runtime.IRBlockBody.call(IRBlockBody.java:66)
        at org.jruby.runtime.Block.call(Block.java:126)
        at org.jruby.RubyProc.call(RubyProc.java:342)
        at org.jruby.RubyProc.call(RubyProc.java:248)
        at org.jruby.Ruby.tearDown(Ruby.java:3316)
        at org.jruby.Ruby.tearDown(Ruby.java:3289)
        at org.jruby.Main$1.run(Main.java:293)
[ERROR] com.orientechnologies.orient.core.Orient$OShutdownCallListenersHandler : Error during orient shutdown
java.lang.NullPointerException
        at com.orientechnologies.common.concur.lock.ODistributedCounter.updateCounter(ODistributedCounter.java:77)
        at com.orientechnologies.common.concur.lock.ODistributedCounter.increment(ODistributedCounter.java:51)
        at com.orientechnologies.common.concur.lock.OReadersWriterSpinLock.acquireReadLock(OReadersWriterSpinLock.java:70)
        at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.isClosed(OAbstractPaginatedStorage.java:416)
        at com.orientechnologies.orient.server.distributed.ODistributedStorage.isClosed(ODistributedStorage.java:1212)
        at com.orientechnologies.orient.server.distributed.ODistributedStorage.close(ODistributedStorage.java:1203)
        at com.orientechnologies.orient.server.distributed.ODistributedStorage.close(ODistributedStorage.java:1188)
        at com.orientechnologies.orient.core.db.OPartitionedDatabasePool.close(OPartitionedDatabasePool.java:425)
        at com.orientechnologies.orient.core.db.OPartitionedDatabasePool.onShutdown(OPartitionedDatabasePool.java:400)
        at com.orientechnologies.orient.core.Orient$OShutdownCallListenersHandler.shutdown(Orient.java:962)
        at com.orientechnologies.orient.core.Orient.shutdown(Orient.java:333)
        at com.orientechnologies.orient.server.OServer.shutdown(OServer.java:472)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(JavaMethod.java:438)
        at org.jruby.javasupport.JavaMethod.invokeDirect(JavaMethod.java:302)
        at org.jruby.java.invokers.InstanceMethodInvoker.call(InstanceMethodInvoker.java:35)
        at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:293)
        at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
        at org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:332)
        at org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
        at org.jruby.ir.interpreter.Interpreter.INTERPRET_BLOCK(Interpreter.java:132)
        at org.jruby.runtime.MixedModeIRBlockBody.commonYieldPath(MixedModeIRBlockBody.java:148)
        at org.jruby.runtime.IRBlockBody.call(IRBlockBody.java:66)
        at org.jruby.runtime.Block.call(Block.java:126)
        at org.jruby.RubyProc.call(RubyProc.java:342)
        at org.jruby.RubyProc.call(RubyProc.java:248)
        at org.jruby.Ruby.tearDown(Ruby.java:3316)
        at org.jruby.Ruby.tearDown(Ruby.java:3289)
        at org.jruby.Main$1.run(Main.java:293)
[ERROR] com.orientechnologies.orient.core.Orient$OShutdownCallListenersHandler : Error during orient shutdown
java.lang.NullPointerException
        at com.orientechnologies.common.concur.lock.ODistributedCounter.updateCounter(ODistributedCounter.java:77)
        at com.orientechnologies.common.concur.lock.ODistributedCounter.increment(ODistributedCounter.java:51)
        at com.orientechnologies.common.concur.lock.OReadersWriterSpinLock.acquireReadLock(OReadersWriterSpinLock.java:70)
        at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.isClosed(OAbstractPaginatedStorage.java:416)
        at com.orientechnologies.orient.server.distributed.ODistributedStorage.isClosed(ODistributedStorage.java:1212)
        at com.orientechnologies.orient.server.distributed.ODistributedStorage.close(ODistributedStorage.java:1203)
        at com.orientechnologies.orient.server.distributed.ODistributedStorage.close(ODistributedStorage.java:1188)
        at com.orientechnologies.orient.core.db.OPartitionedDatabasePool.close(OPartitionedDatabasePool.java:425)
        at com.orientechnologies.orient.core.db.OPartitionedDatabasePool.onShutdown(OPartitionedDatabasePool.java:400)
        at com.orientechnologies.orient.core.Orient$OShutdownCallListenersHandler.shutdown(Orient.java:962)
        at com.orientechnologies.orient.core.Orient.shutdown(Orient.java:333)
        at com.orientechnologies.orient.server.OServer.shutdown(OServer.java:472)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(JavaMethod.java:438)
        at org.jruby.javasupport.JavaMethod.invokeDirect(JavaMethod.java:302)
        at org.jruby.java.invokers.InstanceMethodInvoker.call(InstanceMethodInvoker.java:35)
        at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:293)
        at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
        at org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:332)
        at org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
        at org.jruby.ir.interpreter.Interpreter.INTERPRET_BLOCK(Interpreter.java:132)
        at org.jruby.runtime.MixedModeIRBlockBody.commonYieldPath(MixedModeIRBlockBody.java:148)
        at org.jruby.runtime.IRBlockBody.call(IRBlockBody.java:66)
        at org.jruby.runtime.Block.call(Block.java:126)
        at org.jruby.RubyProc.call(RubyProc.java:342)
        at org.jruby.RubyProc.call(RubyProc.java:248)
        at org.jruby.Ruby.tearDown(Ruby.java:3316)
        at org.jruby.Ruby.tearDown(Ruby.java:3289)
        at org.jruby.Main$1.run(Main.java:293)
[ERROR] com.orientechnologies.orient.core.Orient$OShutdownCallListenersHandler : Error during orient shutdown
java.lang.NullPointerException
        at com.orientechnologies.common.concur.lock.ODistributedCounter.updateCounter(ODistributedCounter.java:77)
        at com.orientechnologies.common.concur.lock.ODistributedCounter.increment(ODistributedCounter.java:51)
        at com.orientechnologies.common.concur.lock.OReadersWriterSpinLock.acquireReadLock(OReadersWriterSpinLock.java:70)
        at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.isClosed(OAbstractPaginatedStorage.java:416)
        at com.orientechnologies.orient.server.distributed.ODistributedStorage.isClosed(ODistributedStorage.java:1212)
        at com.orientechnologies.orient.server.distributed.ODistributedStorage.close(ODistributedStorage.java:1203)
        at com.orientechnologies.orient.server.distributed.ODistributedStorage.close(ODistributedStorage.java:1188)
        at com.orientechnologies.orient.core.db.OPartitionedDatabasePool.close(OPartitionedDatabasePool.java:425)
        at com.orientechnologies.orient.core.db.OPartitionedDatabasePool.onShutdown(OPartitionedDatabasePool.java:400)
        at com.orientechnologies.orient.core.Orient$OShutdownCallListenersHandler.shutdown(Orient.java:962)
        at com.orientechnologies.orient.core.Orient.shutdown(Orient.java:333)
        at com.orientechnologies.orient.server.OServer.shutdown(OServer.java:472)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(JavaMethod.java:438)
        at org.jruby.javasupport.JavaMethod.invokeDirect(JavaMethod.java:302)
        at org.jruby.java.invokers.InstanceMethodInvoker.call(InstanceMethodInvoker.java:35)
        at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:293)
        at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
        at org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:332)
        at org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
        at org.jruby.ir.interpreter.Interpreter.INTERPRET_BLOCK(Interpreter.java:132)
        at org.jruby.runtime.MixedModeIRBlockBody.commonYieldPath(MixedModeIRBlockBody.java:148)
        at org.jruby.runtime.IRBlockBody.call(IRBlockBody.java:66)
        at org.jruby.runtime.Block.call(Block.java:126)
        at org.jruby.RubyProc.call(RubyProc.java:342)
        at org.jruby.RubyProc.call(RubyProc.java:248)
        at org.jruby.Ruby.tearDown(Ruby.java:3316)
        at org.jruby.Ruby.tearDown(Ruby.java:3289)
        at org.jruby.Main$1.run(Main.java:293)
[ERROR] com.orientechnologies.orient.core.Orient$OShutdownCallListenersHandler : Error during orient shutdown
java.lang.NullPointerException
        at com.orientechnologies.common.concur.lock.ODistributedCounter.updateCounter(ODistributedCounter.java:77)
        at com.orientechnologies.common.concur.lock.ODistributedCounter.increment(ODistributedCounter.java:51)
        at com.orientechnologies.common.concur.lock.OReadersWriterSpinLock.acquireReadLock(OReadersWriterSpinLock.java:70)
        at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.isClosed(OAbstractPaginatedStorage.java:416)
        at com.orientechnologies.orient.server.distributed.ODistributedStorage.isClosed(ODistributedStorage.java:1212)
        at com.orientechnologies.orient.server.distributed.ODistributedStorage.close(ODistributedStorage.java:1203)
        at com.orientechnologies.orient.server.distributed.ODistributedStorage.close(ODistributedStorage.java:1188)
        at com.orientechnologies.orient.core.db.OPartitionedDatabasePool.close(OPartitionedDatabasePool.java:425)
        at com.orientechnologies.orient.core.db.OPartitionedDatabasePool.onShutdown(OPartitionedDatabasePool.java:400)
        at com.orientechnologies.orient.core.Orient$OShutdownCallListenersHandler.shutdown(Orient.java:962)
        at com.orientechnologies.orient.core.Orient.shutdown(Orient.java:333)
        at com.orientechnologies.orient.server.OServer.shutdown(OServer.java:472)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(JavaMethod.java:438)
        at org.jruby.javasupport.JavaMethod.invokeDirect(JavaMethod.java:302)
        at org.jruby.java.invokers.InstanceMethodInvoker.call(InstanceMethodInvoker.java:35)
        at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:293)
        at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
        at org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:332)
        at org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
        at org.jruby.ir.interpreter.Interpreter.INTERPRET_BLOCK(Interpreter.java:132)
        at org.jruby.runtime.MixedModeIRBlockBody.commonYieldPath(MixedModeIRBlockBody.java:148)
        at org.jruby.runtime.IRBlockBody.call(IRBlockBody.java:66)
        at org.jruby.runtime.Block.call(Block.java:126)
        at org.jruby.RubyProc.call(RubyProc.java:342)
        at org.jruby.RubyProc.call(RubyProc.java:248)
        at org.jruby.Ruby.tearDown(Ruby.java:3316)
        at org.jruby.Ruby.tearDown(Ruby.java:3289)
        at org.jruby.Main$1.run(Main.java:293)
[ERROR] com.orientechnologies.orient.core.Orient$OShutdownCallListenersHandler : Error during orient shutdown
java.lang.NullPointerException
        at com.orientechnologies.common.concur.lock.ODistributedCounter.updateCounter(ODistributedCounter.java:77)
        at com.orientechnologies.common.concur.lock.ODistributedCounter.increment(ODistributedCounter.java:51)
        at com.orientechnologies.common.concur.lock.OReadersWriterSpinLock.acquireReadLock(OReadersWriterSpinLock.java:70)
        at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.isClosed(OAbstractPaginatedStorage.java:416)
        at com.orientechnologies.orient.server.distributed.ODistributedStorage.isClosed(ODistributedStorage.java:1212)
        at com.orientechnologies.orient.server.distributed.ODistributedStorage.close(ODistributedStorage.java:1203)
        at com.orientechnologies.orient.server.distributed.ODistributedStorage.close(ODistributedStorage.java:1188)
        at com.orientechnologies.orient.core.db.OPartitionedDatabasePool.close(OPartitionedDatabasePool.java:425)
        at com.orientechnologies.orient.core.db.OPartitionedDatabasePool.onShutdown(OPartitionedDatabasePool.java:400)
        at com.orientechnologies.orient.core.Orient$OShutdownCallListenersHandler.shutdown(Orient.java:962)
        at com.orientechnologies.orient.core.Orient.shutdown(Orient.java:333)
        at com.orientechnologies.orient.server.OServer.shutdown(OServer.java:472)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(JavaMethod.java:438)
        at org.jruby.javasupport.JavaMethod.invokeDirect(JavaMethod.java:302)
        at org.jruby.java.invokers.InstanceMethodInvoker.call(InstanceMethodInvoker.java:35)
        at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:293)
        at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
        at org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:332)
        at org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
        at org.jruby.ir.interpreter.Interpreter.INTERPRET_BLOCK(Interpreter.java:132)
        at org.jruby.runtime.MixedModeIRBlockBody.commonYieldPath(MixedModeIRBlockBody.java:148)
        at org.jruby.runtime.IRBlockBody.call(IRBlockBody.java:66)
        at org.jruby.runtime.Block.call(Block.java:126)
        at org.jruby.RubyProc.call(RubyProc.java:342)
        at org.jruby.RubyProc.call(RubyProc.java:248)
        at org.jruby.Ruby.tearDown(Ruby.java:3316)
        at org.jruby.Ruby.tearDown(Ruby.java:3289)
        at org.jruby.Main$1.run(Main.java:293)
[ERROR] com.orientechnologies.orient.core.Orient$OShutdownCallListenersHandler : Error during orient shutdown
java.lang.NullPointerException
        at com.orientechnologies.common.concur.lock.ODistributedCounter.updateCounter(ODistributedCounter.java:77)
        at com.orientechnologies.common.concur.lock.ODistributedCounter.increment(ODistributedCounter.java:51)
        at com.orientechnologies.common.concur.lock.OReadersWriterSpinLock.acquireReadLock(OReadersWriterSpinLock.java:70)
        at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.isClosed(OAbstractPaginatedStorage.java:416)
        at com.orientechnologies.orient.server.distributed.ODistributedStorage.isClosed(ODistributedStorage.java:1212)
        at com.orientechnologies.orient.server.distributed.ODistributedStorage.close(ODistributedStorage.java:1203)
        at com.orientechnologies.orient.server.distributed.ODistributedStorage.close(ODistributedStorage.java:1188)
        at com.orientechnologies.orient.core.db.OPartitionedDatabasePool.close(OPartitionedDatabasePool.java:425)
        at com.orientechnologies.orient.core.db.OPartitionedDatabasePool.onShutdown(OPartitionedDatabasePool.java:400)
        at com.orientechnologies.orient.core.Orient$OShutdownCallListenersHandler.shutdown(Orient.java:962)
        at com.orientechnologies.orient.core.Orient.shutdown(Orient.java:333)
        at com.orientechnologies.orient.server.OServer.shutdown(OServer.java:472)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(JavaMethod.java:438)
        at org.jruby.javasupport.JavaMethod.invokeDirect(JavaMethod.java:302)
        at org.jruby.java.invokers.InstanceMethodInvoker.call(InstanceMethodInvoker.java:35)
        at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:293)
        at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
        at org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:332)
        at org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
        at org.jruby.ir.interpreter.Interpreter.INTERPRET_BLOCK(Interpreter.java:132)
        at org.jruby.runtime.MixedModeIRBlockBody.commonYieldPath(MixedModeIRBlockBody.java:148)
        at org.jruby.runtime.IRBlockBody.call(IRBlockBody.java:66)
        at org.jruby.runtime.Block.call(Block.java:126)
        at org.jruby.RubyProc.call(RubyProc.java:342)
        at org.jruby.RubyProc.call(RubyProc.java:248)
        at org.jruby.Ruby.tearDown(Ruby.java:3316)
        at org.jruby.Ruby.tearDown(Ruby.java:3289)
        at org.jruby.Main$1.run(Main.java:293)
[ERROR] com.orientechnologies.orient.core.Orient$OShutdownCallListenersHandler : Error during orient shutdown
java.lang.NullPointerException
        at com.orientechnologies.common.concur.lock.ODistributedCounter.updateCounter(ODistributedCounter.java:77)
        at com.orientechnologies.common.concur.lock.ODistributedCounter.increment(ODistributedCounter.java:51)
        at com.orientechnologies.common.concur.lock.OReadersWriterSpinLock.acquireReadLock(OReadersWriterSpinLock.java:70)
        at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.isClosed(OAbstractPaginatedStorage.java:416)
        at com.orientechnologies.orient.server.distributed.ODistributedStorage.isClosed(ODistributedStorage.java:1212)
        at com.orientechnologies.orient.server.distributed.ODistributedStorage.close(ODistributedStorage.java:1203)
        at com.orientechnologies.orient.server.distributed.ODistributedStorage.close(ODistributedStorage.java:1188)
        at com.orientechnologies.orient.core.db.OPartitionedDatabasePool.close(OPartitionedDatabasePool.java:425)
        at com.orientechnologies.orient.core.db.OPartitionedDatabasePool.onShutdown(OPartitionedDatabasePool.java:400)
        at com.orientechnologies.orient.core.Orient$OShutdownCallListenersHandler.shutdown(Orient.java:962)
        at com.orientechnologies.orient.core.Orient.shutdown(Orient.java:333)
        at com.orientechnologies.orient.server.OServer.shutdown(OServer.java:472)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(JavaMethod.java:438)
        at org.jruby.javasupport.JavaMethod.invokeDirect(JavaMethod.java:302)
        at org.jruby.java.invokers.InstanceMethodInvoker.call(InstanceMethodInvoker.java:35)
        at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:293)
        at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
        at org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:332)
        at org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
        at org.jruby.ir.interpreter.Interpreter.INTERPRET_BLOCK(Interpreter.java:132)
        at org.jruby.runtime.MixedModeIRBlockBody.commonYieldPath(MixedModeIRBlockBody.java:148)
        at org.jruby.runtime.IRBlockBody.call(IRBlockBody.java:66)
        at org.jruby.runtime.Block.call(Block.java:126)
        at org.jruby.RubyProc.call(RubyProc.java:342)
        at org.jruby.RubyProc.call(RubyProc.java:248)
        at org.jruby.Ruby.tearDown(Ruby.java:3316)
        at org.jruby.Ruby.tearDown(Ruby.java:3289)
        at org.jruby.Main$1.run(Main.java:293)
[ERROR] com.orientechnologies.orient.core.Orient$OShutdownCallListenersHandler : Error during orient shutdown
java.lang.NullPointerException
        at com.orientechnologies.common.concur.lock.ODistributedCounter.updateCounter(ODistributedCounter.java:77)
        at com.orientechnologies.common.concur.lock.ODistributedCounter.increment(ODistributedCounter.java:51)
        at com.orientechnologies.common.concur.lock.OReadersWriterSpinLock.acquireReadLock(OReadersWriterSpinLock.java:70)
        at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.isClosed(OAbstractPaginatedStorage.java:416)
        at com.orientechnologies.orient.server.distributed.ODistributedStorage.isClosed(ODistributedStorage.java:1212)
        at com.orientechnologies.orient.server.distributed.ODistributedStorage.close(ODistributedStorage.java:1203)
        at com.orientechnologies.orient.server.distributed.ODistributedStorage.close(ODistributedStorage.java:1188)
        at com.orientechnologies.orient.core.db.OPartitionedDatabasePool.close(OPartitionedDatabasePool.java:425)
        at com.orientechnologies.orient.core.db.OPartitionedDatabasePool.onShutdown(OPartitionedDatabasePool.java:400)
        at com.orientechnologies.orient.core.Orient$OShutdownCallListenersHandler.shutdown(Orient.java:962)
        at com.orientechnologies.orient.core.Orient.shutdown(Orient.java:333)
        at com.orientechnologies.orient.server.OServer.shutdown(OServer.java:472)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(JavaMethod.java:438)
        at org.jruby.javasupport.JavaMethod.invokeDirect(JavaMethod.java:302)
        at org.jruby.java.invokers.InstanceMethodInvoker.call(InstanceMethodInvoker.java:35)
        at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:293)
        at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
        at org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:332)
        at org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
        at org.jruby.ir.interpreter.Interpreter.INTERPRET_BLOCK(Interpreter.java:132)
        at org.jruby.runtime.MixedModeIRBlockBody.commonYieldPath(MixedModeIRBlockBody.java:148)
        at org.jruby.runtime.IRBlockBody.call(IRBlockBody.java:66)
        at org.jruby.runtime.Block.call(Block.java:126)
        at org.jruby.RubyProc.call(RubyProc.java:342)
        at org.jruby.RubyProc.call(RubyProc.java:248)
        at org.jruby.Ruby.tearDown(Ruby.java:3316)
        at org.jruby.Ruby.tearDown(Ruby.java:3289)
        at org.jruby.Main$1.run(Main.java:293)
[ERROR] com.orientechnologies.orient.core.Orient$OShutdownCallListenersHandler : Error during orient shutdown
java.lang.NullPointerException
        at com.orientechnologies.common.concur.lock.ODistributedCounter.updateCounter(ODistributedCounter.java:77)
        at com.orientechnologies.common.concur.lock.ODistributedCounter.increment(ODistributedCounter.java:51)
        at com.orientechnologies.common.concur.lock.OReadersWriterSpinLock.acquireReadLock(OReadersWriterSpinLock.java:70)
        at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.isClosed(OAbstractPaginatedStorage.java:416)
        at com.orientechnologies.orient.server.distributed.ODistributedStorage.isClosed(ODistributedStorage.java:1212)
        at com.orientechnologies.orient.server.distributed.ODistributedStorage.close(ODistributedStorage.java:1203)
        at com.orientechnologies.orient.server.distributed.ODistributedStorage.close(ODistributedStorage.java:1188)
        at com.orientechnologies.orient.core.db.OPartitionedDatabasePool.close(OPartitionedDatabasePool.java:425)
        at com.orientechnologies.orient.core.db.OPartitionedDatabasePool.onShutdown(OPartitionedDatabasePool.java:400)
        at com.orientechnologies.orient.core.Orient$OShutdownCallListenersHandler.shutdown(Orient.java:962)
        at com.orientechnologies.orient.core.Orient.shutdown(Orient.java:333)
        at com.orientechnologies.orient.server.OServer.shutdown(OServer.java:472)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(JavaMethod.java:438)
        at org.jruby.javasupport.JavaMethod.invokeDirect(JavaMethod.java:302)
        at org.jruby.java.invokers.InstanceMethodInvoker.call(InstanceMethodInvoker.java:35)
        at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:293)
        at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
        at org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:332)
        at org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
        at org.jruby.ir.interpreter.Interpreter.INTERPRET_BLOCK(Interpreter.java:132)
        at org.jruby.runtime.MixedModeIRBlockBody.commonYieldPath(MixedModeIRBlockBody.java:148)
        at org.jruby.runtime.IRBlockBody.call(IRBlockBody.java:66)
        at org.jruby.runtime.Block.call(Block.java:126)
        at org.jruby.RubyProc.call(RubyProc.java:342)
        at org.jruby.RubyProc.call(RubyProc.java:248)
        at org.jruby.Ruby.tearDown(Ruby.java:3316)
        at org.jruby.Ruby.tearDown(Ruby.java:3289)
        at org.jruby.Main$1.run(Main.java:293)
[ERROR] com.orientechnologies.orient.core.Orient$OShutdownCallListenersHandler : Error during orient shutdown
java.lang.NullPointerException
        at com.orientechnologies.common.concur.lock.ODistributedCounter.updateCounter(ODistributedCounter.java:77)
        at com.orientechnologies.common.concur.lock.ODistributedCounter.increment(ODistributedCounter.java:51)
        at com.orientechnologies.common.concur.lock.OReadersWriterSpinLock.acquireReadLock(OReadersWriterSpinLock.java:70)
        at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.isClosed(OAbstractPaginatedStorage.java:416)
        at com.orientechnologies.orient.server.distributed.ODistributedStorage.isClosed(ODistributedStorage.java:1212)
        at com.orientechnologies.orient.server.distributed.ODistributedStorage.close(ODistributedStorage.java:1203)
        at com.orientechnologies.orient.server.distributed.ODistributedStorage.close(ODistributedStorage.java:1188)
        at com.orientechnologies.orient.core.db.OPartitionedDatabasePool.close(OPartitionedDatabasePool.java:425)
        at com.orientechnologies.orient.core.db.OPartitionedDatabasePool.onShutdown(OPartitionedDatabasePool.java:400)
        at com.orientechnologies.orient.core.Orient$OShutdownCallListenersHandler.shutdown(Orient.java:962)
        at com.orientechnologies.orient.core.Orient.shutdown(Orient.java:333)
        at com.orientechnologies.orient.server.OServer.shutdown(OServer.java:472)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(JavaMethod.java:438)
        at org.jruby.javasupport.JavaMethod.invokeDirect(JavaMethod.java:302)
        at org.jruby.java.invokers.InstanceMethodInvoker.call(InstanceMethodInvoker.java:35)
        at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:293)
        at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
        at org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:332)
        at org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
        at org.jruby.ir.interpreter.Interpreter.INTERPRET_BLOCK(Interpreter.java:132)
        at org.jruby.runtime.MixedModeIRBlockBody.commonYieldPath(MixedModeIRBlockBody.java:148)
        at org.jruby.runtime.IRBlockBody.call(IRBlockBody.java:66)
        at org.jruby.runtime.Block.call(Block.java:126)
        at org.jruby.RubyProc.call(RubyProc.java:342)
        at org.jruby.RubyProc.call(RubyProc.java:248)
        at org.jruby.Ruby.tearDown(Ruby.java:3316)
        at org.jruby.Ruby.tearDown(Ruby.java:3289)
        at org.jruby.Main$1.run(Main.java:293)
[ERROR] com.orientechnologies.orient.core.Orient$OShutdownCallListenersHandler : Error during orient shutdown
java.lang.NullPointerException
        at com.orientechnologies.common.concur.lock.ODistributedCounter.updateCounter(ODistributedCounter.java:77)
        at com.orientechnologies.common.concur.lock.ODistributedCounter.increment(ODistributedCounter.java:51)
        at com.orientechnologies.common.concur.lock.OReadersWriterSpinLock.acquireReadLock(OReadersWriterSpinLock.java:70)
        at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.isClosed(OAbstractPaginatedStorage.java:416)
        at com.orientechnologies.orient.server.distributed.ODistributedStorage.isClosed(ODistributedStorage.java:1212)
        at com.orientechnologies.orient.server.distributed.ODistributedStorage.close(ODistributedStorage.java:1203)
        at com.orientechnologies.orient.server.distributed.ODistributedStorage.close(ODistributedStorage.java:1188)
        at com.orientechnologies.orient.core.db.OPartitionedDatabasePool.close(OPartitionedDatabasePool.java:425)
        at com.orientechnologies.orient.core.db.OPartitionedDatabasePool.onShutdown(OPartitionedDatabasePool.java:400)
        at com.orientechnologies.orient.core.Orient$OShutdownCallListenersHandler.shutdown(Orient.java:962)
        at com.orientechnologies.orient.core.Orient.shutdown(Orient.java:333)
        at com.orientechnologies.orient.server.OServer.shutdown(OServer.java:472)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(JavaMethod.java:438)
        at org.jruby.javasupport.JavaMethod.invokeDirect(JavaMethod.java:302)
        at org.jruby.java.invokers.InstanceMethodInvoker.call(InstanceMethodInvoker.java:35)
        at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:293)
        at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
        at org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:332)
        at org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
        at org.jruby.ir.interpreter.Interpreter.INTERPRET_BLOCK(Interpreter.java:132)
        at org.jruby.runtime.MixedModeIRBlockBody.commonYieldPath(MixedModeIRBlockBody.java:148)
        at org.jruby.runtime.IRBlockBody.call(IRBlockBody.java:66)
        at org.jruby.runtime.Block.call(Block.java:126)
        at org.jruby.RubyProc.call(RubyProc.java:342)
        at org.jruby.RubyProc.call(RubyProc.java:248)
        at org.jruby.Ruby.tearDown(Ruby.java:3316)
        at org.jruby.Ruby.tearDown(Ruby.java:3289)
        at org.jruby.Main$1.run(Main.java:293)
[ERROR] com.orientechnologies.orient.core.Orient$OShutdownCallListenersHandler : Error during orient shutdown
java.lang.NullPointerException
        at com.orientechnologies.common.concur.lock.ODistributedCounter.updateCounter(ODistributedCounter.java:77)
        at com.orientechnologies.common.concur.lock.ODistributedCounter.increment(ODistributedCounter.java:51)
        at com.orientechnologies.common.concur.lock.OReadersWriterSpinLock.acquireReadLock(OReadersWriterSpinLock.java:70)
        at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.isClosed(OAbstractPaginatedStorage.java:416)
        at com.orientechnologies.orient.server.distributed.ODistributedStorage.isClosed(ODistributedStorage.java:1212)
        at com.orientechnologies.orient.server.distributed.ODistributedStorage.close(ODistributedStorage.java:1203)
        at com.orientechnologies.orient.server.distributed.ODistributedStorage.close(ODistributedStorage.java:1188)
        at com.orientechnologies.orient.core.db.OPartitionedDatabasePool.close(OPartitionedDatabasePool.java:425)
        at com.orientechnologies.orient.core.db.OPartitionedDatabasePool.onShutdown(OPartitionedDatabasePool.java:400)
        at com.orientechnologies.orient.core.Orient$OShutdownCallListenersHandler.shutdown(Orient.java:962)
        at com.orientechnologies.orient.core.Orient.shutdown(Orient.java:333)
        at com.orientechnologies.orient.server.OServer.shutdown(OServer.java:472)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(JavaMethod.java:438)
        at org.jruby.javasupport.JavaMethod.invokeDirect(JavaMethod.java:302)
        at org.jruby.java.invokers.InstanceMethodInvoker.call(InstanceMethodInvoker.java:35)
        at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:293)
        at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
        at org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:332)
        at org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
        at org.jruby.ir.interpreter.Interpreter.INTERPRET_BLOCK(Interpreter.java:132)
        at org.jruby.runtime.MixedModeIRBlockBody.commonYieldPath(MixedModeIRBlockBody.java:148)
        at org.jruby.runtime.IRBlockBody.call(IRBlockBody.java:66)
        at org.jruby.runtime.Block.call(Block.java:126)
        at org.jruby.RubyProc.call(RubyProc.java:342)
        at org.jruby.RubyProc.call(RubyProc.java:248)
        at org.jruby.Ruby.tearDown(Ruby.java:3316)
        at org.jruby.Ruby.tearDown(Ruby.java:3289)
        at org.jruby.Main$1.run(Main.java:293)
[ERROR] com.orientechnologies.orient.core.Orient$OShutdownCallListenersHandler : Error during orient shutdown
java.lang.NullPointerException
        at com.orientechnologies.common.concur.lock.ODistributedCounter.updateCounter(ODistributedCounter.java:77)
        at com.orientechnologies.common.concur.lock.ODistributedCounter.increment(ODistributedCounter.java:51)
        at com.orientechnologies.common.concur.lock.OReadersWriterSpinLock.acquireReadLock(OReadersWriterSpinLock.java:70)
        at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.isClosed(OAbstractPaginatedStorage.java:416)
        at com.orientechnologies.orient.server.distributed.ODistributedStorage.isClosed(ODistributedStorage.java:1212)
        at com.orientechnologies.orient.server.distributed.ODistributedStorage.close(ODistributedStorage.java:1203)
        at com.orientechnologies.orient.server.distributed.ODistributedStorage.close(ODistributedStorage.java:1188)
        at com.orientechnologies.orient.core.db.OPartitionedDatabasePool.close(OPartitionedDatabasePool.java:425)
        at com.orientechnologies.orient.core.db.OPartitionedDatabasePool.onShutdown(OPartitionedDatabasePool.java:400)
        at com.orientechnologies.orient.core.Orient$OShutdownCallListenersHandler.shutdown(Orient.java:962)
        at com.orientechnologies.orient.core.Orient.shutdown(Orient.java:333)
        at com.orientechnologies.orient.server.OServer.shutdown(OServer.java:472)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(JavaMethod.java:438)
        at org.jruby.javasupport.JavaMethod.invokeDirect(JavaMethod.java:302)
        at org.jruby.java.invokers.InstanceMethodInvoker.call(InstanceMethodInvoker.java:35)
        at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:293)
        at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
        at org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:332)
        at org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
        at org.jruby.ir.interpreter.Interpreter.INTERPRET_BLOCK(Interpreter.java:132)
        at org.jruby.runtime.MixedModeIRBlockBody.commonYieldPath(MixedModeIRBlockBody.java:148)
        at org.jruby.runtime.IRBlockBody.call(IRBlockBody.java:66)
        at org.jruby.runtime.Block.call(Block.java:126)
        at org.jruby.RubyProc.call(RubyProc.java:342)
        at org.jruby.RubyProc.call(RubyProc.java:248)
        at org.jruby.Ruby.tearDown(Ruby.java:3316)
        at org.jruby.Ruby.tearDown(Ruby.java:3289)
        at org.jruby.Main$1.run(Main.java:293)
[ERROR] com.orientechnologies.orient.core.Orient$OShutdownCallListenersHandler : Error during orient shutdown
java.lang.NullPointerException
        at com.orientechnologies.common.concur.lock.ODistributedCounter.updateCounter(ODistributedCounter.java:77)
        at com.orientechnologies.common.concur.lock.ODistributedCounter.increment(ODistributedCounter.java:51)
        at com.orientechnologies.common.concur.lock.OReadersWriterSpinLock.acquireReadLock(OReadersWriterSpinLock.java:70)
        at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.isClosed(OAbstractPaginatedStorage.java:416)
        at com.orientechnologies.orient.server.distributed.ODistributedStorage.isClosed(ODistributedStorage.java:1212)
        at com.orientechnologies.orient.server.distributed.ODistributedStorage.close(ODistributedStorage.java:1203)
        at com.orientechnologies.orient.server.distributed.ODistributedStorage.close(ODistributedStorage.java:1188)
        at com.orientechnologies.orient.core.db.OPartitionedDatabasePool.close(OPartitionedDatabasePool.java:425)
        at com.orientechnologies.orient.core.db.OPartitionedDatabasePool.onShutdown(OPartitionedDatabasePool.java:400)
        at com.orientechnologies.orient.core.Orient$OShutdownCallListenersHandler.shutdown(Orient.java:962)
        at com.orientechnologies.orient.core.Orient.shutdown(Orient.java:333)
        at com.orientechnologies.orient.server.OServer.shutdown(OServer.java:472)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(JavaMethod.java:438)
        at org.jruby.javasupport.JavaMethod.invokeDirect(JavaMethod.java:302)
        at org.jruby.java.invokers.InstanceMethodInvoker.call(InstanceMethodInvoker.java:35)
        at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:293)
        at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
        at org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:332)
        at org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77)
        at org.jruby.ir.interpreter.Interpreter.INTERPRET_BLOCK(Interpreter.java:132)
        at org.jruby.runtime.MixedModeIRBlockBody.commonYieldPath(MixedModeIRBlockBody.java:148)
        at org.jruby.runtime.IRBlockBody.call(IRBlockBody.java:66)
        at org.jruby.runtime.Block.call(Block.java:126)
        at org.jruby.RubyProc.call(RubyProc.java:342)
        at org.jruby.RubyProc.call(RubyProc.java:248)
        at org.jruby.Ruby.tearDown(Ruby.java:3316)
        at org.jruby.Ruby.tearDown(Ruby.java:3289)
        at org.jruby.Main$1.run(Main.java:293)
[INFO] com.orientechnologies.orient.core.Orient : Shutdown handler OShutdownCallListenersHandler completed
[INFO] com.orientechnologies.orient.core.Orient : OrientDB Engine shutdown complete
[INFO] com.orientechnologies.orient.server.OServer : OrientDB Server shutdown complete

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
laacommented, May 11, 2016

Thank you ! Will fix it tomorrow in both versions

0reactions
voondocommented, May 16, 2016

@laa seems ok, thanks a lot !

Read more comments on GitHub >

github_iconTop Results From Across the Web

IT19340: NULLPOINTEREXCEPTION WHEN ATTEMPTING ...
When attempting to disable the heartbeat setting during server shutdown NullPointerException is thrown. This is in the log:
Read more >
NPE on shutdown in ClusteringLauncher - Jira Atlassian
Issue Summary. Jira throws a NPE on shutdown if the full Pico container was not populated. Steps to Reproduce. Start a Jira instance...
Read more >
Null keys are not supported! at server shutdown
This bug pertains to clean shutdown which is not scheduled to be implemented in EAP 6.x - and is targeted to be addressed...
Read more >
NullPointerException during server shutdown from OSGi ...
Whenever I gracefully shutdown the server after using the OSGi HTTP module (e.g. by Axis2-OSGi integration, included in this set of OSGi bundles: ......
Read more >
NullPointerException during shutdown when rcon enabled ...
enable-rcon=true in server.properties · Leave all other options default · Start server · Type /stop · Observe NPE on shutdown · Note: This...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found