orientdb icon indicating copy to clipboard operation
orientdb copied to clipboard

java.lang.IllegalStateException: Timer already cancelled

Open johny65 opened this issue 4 years ago • 0 comments

OrientDB Version: 3.1.6

Java Version: openjdk version "11.0.9.1"

OS: Ubuntu 20.10

Expected behavior

Disconnect from database without errors.

Actual behavior

When connected to a database in plocal mode through the console, almost every time when I disconnect from it, it throws java.lang.IllegalStateException: Timer already cancelled.

Steps to reproduce

$ orientdb> connect plocal:/path/to/database admin admin;
Connecting to database [plocal:/path/to/database] with user 'admin'...OK
$ orientdb {db=database}> (do some stuff...)
$ orientdb {db=database}> disconnect;
Disconnecting from the database [database]...OK
java.lang.IllegalStateException: Timer already cancelled.
	at java.base/java.util.Timer.sched(Timer.java:398)
	at java.base/java.util.Timer.schedule(Timer.java:194)
	at com.orientechnologies.orient.core.db.OrientDBEmbedded.scheduleOnce(OrientDBEmbedded.java:1074)
	at com.orientechnologies.orient.core.db.viewmanager.ViewManager.schedule(ViewManager.java:151)
	at com.orientechnologies.orient.core.db.viewmanager.ViewManager.updateViews(ViewManager.java:163)
	at com.orientechnologies.orient.core.db.viewmanager.ViewManager.access$400(ViewManager.java:55)
	at com.orientechnologies.orient.core.db.viewmanager.ViewManager$1.lambda$run$0(ViewManager.java:146)
	at com.orientechnologies.orient.core.db.OrientDBEmbedded.lambda$executeNoAuthorization$9(OrientDBEmbedded.java:1092)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:834)

johny65 avatar Dec 28 '20 11:12 johny65