2020-05-10 16:51:29 database: flush org.h2.message.DbException: General error: "java.lang.IllegalStateException: The file is locked: nio:/home/rohan/Documents/Programming/Scala/play-scala-isolated-slick-example/test.mv.db [1.4.196/7]" [50000-196] at org.h2.message.DbException.get(DbException.java:168) at org.h2.message.DbException.convert(DbException.java:295) at org.h2.mvstore.db.MVTableEngine$1.uncaughtException(MVTableEngine.java:95) at org.h2.mvstore.MVStore.panic(MVStore.java:378) at org.h2.mvstore.MVStore.(MVStore.java:361) at org.h2.mvstore.MVStore$Builder.open(MVStore.java:2930) at org.h2.mvstore.db.MVTableEngine$Store.open(MVTableEngine.java:155) at org.h2.mvstore.db.MVTableEngine.init(MVTableEngine.java:100) at org.h2.engine.Database.getPageStore(Database.java:2476) at org.h2.engine.Database.open(Database.java:697) at org.h2.engine.Database.openDatabase(Database.java:276) at org.h2.engine.Database.(Database.java:270) at org.h2.engine.Engine.openSession(Engine.java:64) at org.h2.engine.Engine.openSession(Engine.java:176) at org.h2.engine.Engine.createSessionAndValidate(Engine.java:154) at org.h2.engine.Engine.createSession(Engine.java:137) at org.h2.engine.Engine.createSession(Engine.java:27) at org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:354) at org.h2.jdbc.JdbcConnection.(JdbcConnection.java:116) at org.h2.jdbc.JdbcConnection.(JdbcConnection.java:100) at org.h2.Driver.connect(Driver.java:69) at slick.jdbc.DriverDataSource.getConnection(DriverDataSource.scala:101) at slick.jdbc.DataSourceJdbcDataSource.createConnection(JdbcDataSource.scala:71) at com.github.tototoshi.sbt.slick.CodegenPlugin$.gen(CodegenPlugin.scala:81) at com.github.tototoshi.sbt.slick.CodegenPlugin$.$anonfun$projectSettings$13(CodegenPlugin.scala:156) at scala.Function1.$anonfun$compose$1(Function1.scala:49) at sbt.internal.util.$tilde$greater.$anonfun$$u2219$1(TypeFunctions.scala:62) at sbt.std.Transform$$anon$4.work(Transform.scala:67) at sbt.Execute.$anonfun$submit$2(Execute.scala:281) at sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:19) at sbt.Execute.work(Execute.scala:290) at sbt.Execute.$anonfun$submit$1(Execute.scala:281) at sbt.ConcurrentRestrictions$$anon$4.$anonfun$submitValid$1(ConcurrentRestrictions.scala:178) at sbt.CompletionService$$anon$2.call(CompletionService.scala:37) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) 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) Caused by: org.h2.jdbc.JdbcSQLException: General error: "java.lang.IllegalStateException: The file is locked: nio:/home/rohan/Documents/Programming/Scala/play-scala-isolated-slick-example/test.mv.db [1.4.196/7]" [50000-196] at org.h2.message.DbException.getJdbcSQLException(DbException.java:345) ... 40 more Caused by: java.lang.IllegalStateException: The file is locked: nio:/home/rohan/Documents/Programming/Scala/play-scala-isolated-slick-example/test.mv.db [1.4.196/7] at org.h2.mvstore.DataUtils.newIllegalStateException(DataUtils.java:765) at org.h2.mvstore.FileStore.open(FileStore.java:168) at org.h2.mvstore.MVStore.(MVStore.java:347) ... 35 more Caused by: java.nio.channels.OverlappingFileLockException at java.base/sun.nio.ch.FileLockTable.checkList(FileLockTable.java:229) at java.base/sun.nio.ch.FileLockTable.add(FileLockTable.java:123) at java.base/sun.nio.ch.FileChannelImpl.tryLock(FileChannelImpl.java:1154) at org.h2.store.fs.FileNio.tryLock(FilePathNio.java:121) at java.base/java.nio.channels.FileChannel.tryLock(FileChannel.java:1165) at org.h2.mvstore.FileStore.open(FileStore.java:165) ... 36 more 2020-05-10 16:51:29 database: flush org.h2.message.DbException: General error: "java.lang.IllegalStateException: The file is locked: nio:/home/rohan/Documents/Programming/Scala/play-scala-isolated-slick-example/test.mv.db [1.4.196/7]" [50000-196] at org.h2.message.DbException.get(DbException.java:168) at org.h2.message.DbException.convert(DbException.java:295) at org.h2.mvstore.db.MVTableEngine$1.uncaughtException(MVTableEngine.java:95) at org.h2.mvstore.MVStore.panic(MVStore.java:378) at org.h2.mvstore.MVStore.(MVStore.java:361) at org.h2.mvstore.MVStore$Builder.open(MVStore.java:2930) at org.h2.mvstore.db.MVTableEngine$Store.open(MVTableEngine.java:155) at org.h2.mvstore.db.MVTableEngine.init(MVTableEngine.java:100) at org.h2.engine.Database.getPageStore(Database.java:2476) at org.h2.engine.Database.open(Database.java:697) at org.h2.engine.Database.openDatabase(Database.java:276) at org.h2.engine.Database.(Database.java:270) at org.h2.engine.Engine.openSession(Engine.java:64) at org.h2.engine.Engine.openSession(Engine.java:176) at org.h2.engine.Engine.createSessionAndValidate(Engine.java:154) at org.h2.engine.Engine.createSession(Engine.java:137) at org.h2.engine.Engine.createSession(Engine.java:27) at org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:354) at org.h2.jdbc.JdbcConnection.(JdbcConnection.java:116) at org.h2.jdbc.JdbcConnection.(JdbcConnection.java:100) at org.h2.Driver.connect(Driver.java:69) at slick.jdbc.DriverDataSource.getConnection(DriverDataSource.scala:101) at slick.jdbc.DataSourceJdbcDataSource.createConnection(JdbcDataSource.scala:71) at slick.jdbc.JdbcBackend$BaseSession.(JdbcBackend.scala:494) at slick.jdbc.JdbcBackend$DatabaseDef.createSession(JdbcBackend.scala:46) at slick.jdbc.JdbcBackend$DatabaseDef.createSession(JdbcBackend.scala:37) at slick.basic.BasicBackend$DatabaseDef.acquireSession(BasicBackend.scala:249) at slick.basic.BasicBackend$DatabaseDef.acquireSession$(BasicBackend.scala:248) at slick.jdbc.JdbcBackend$DatabaseDef.acquireSession(JdbcBackend.scala:37) at slick.basic.BasicBackend$DatabaseDef$$anon$3.run(BasicBackend.scala:274) 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) Caused by: org.h2.jdbc.JdbcSQLException: General error: "java.lang.IllegalStateException: The file is locked: nio:/home/rohan/Documents/Programming/Scala/play-scala-isolated-slick-example/test.mv.db [1.4.196/7]" [50000-196] at org.h2.message.DbException.getJdbcSQLException(DbException.java:345) ... 33 more Caused by: java.lang.IllegalStateException: The file is locked: nio:/home/rohan/Documents/Programming/Scala/play-scala-isolated-slick-example/test.mv.db [1.4.196/7] at org.h2.mvstore.DataUtils.newIllegalStateException(DataUtils.java:765) at org.h2.mvstore.FileStore.open(FileStore.java:168) at org.h2.mvstore.MVStore.(MVStore.java:347) ... 28 more Caused by: java.nio.channels.OverlappingFileLockException at java.base/sun.nio.ch.FileLockTable.checkList(FileLockTable.java:229) at java.base/sun.nio.ch.FileLockTable.add(FileLockTable.java:123) at java.base/sun.nio.ch.FileChannelImpl.tryLock(FileChannelImpl.java:1154) at org.h2.store.fs.FileNio.tryLock(FilePathNio.java:121) at java.base/java.nio.channels.FileChannel.tryLock(FileChannel.java:1165) at org.h2.mvstore.FileStore.open(FileStore.java:165) ... 29 more 2020-05-10 16:51:34 database: flush org.h2.message.DbException: General error: "java.lang.IllegalStateException: The file is locked: nio:/home/rohan/Documents/Programming/Scala/play-scala-isolated-slick-example/test.mv.db [1.4.196/7]" [50000-196] at org.h2.message.DbException.get(DbException.java:168) at org.h2.message.DbException.convert(DbException.java:295) at org.h2.mvstore.db.MVTableEngine$1.uncaughtException(MVTableEngine.java:95) at org.h2.mvstore.MVStore.panic(MVStore.java:378) at org.h2.mvstore.MVStore.(MVStore.java:361) at org.h2.mvstore.MVStore$Builder.open(MVStore.java:2930) at org.h2.mvstore.db.MVTableEngine$Store.open(MVTableEngine.java:155) at org.h2.mvstore.db.MVTableEngine.init(MVTableEngine.java:100) at org.h2.engine.Database.getPageStore(Database.java:2476) at org.h2.engine.Database.open(Database.java:697) at org.h2.engine.Database.openDatabase(Database.java:276) at org.h2.engine.Database.(Database.java:270) at org.h2.engine.Engine.openSession(Engine.java:64) at org.h2.engine.Engine.openSession(Engine.java:176) at org.h2.engine.Engine.createSessionAndValidate(Engine.java:154) at org.h2.engine.Engine.createSession(Engine.java:137) at org.h2.engine.Engine.createSession(Engine.java:27) at org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:354) at org.h2.jdbc.JdbcConnection.(JdbcConnection.java:116) at org.h2.jdbc.JdbcConnection.(JdbcConnection.java:100) at org.h2.Driver.connect(Driver.java:69) at slick.jdbc.DriverDataSource.getConnection(DriverDataSource.scala:101) at slick.jdbc.DataSourceJdbcDataSource.createConnection(JdbcDataSource.scala:71) at com.github.tototoshi.sbt.slick.CodegenPlugin$.gen(CodegenPlugin.scala:81) at com.github.tototoshi.sbt.slick.CodegenPlugin$.$anonfun$projectSettings$13(CodegenPlugin.scala:156) at scala.Function1.$anonfun$compose$1(Function1.scala:49) at sbt.internal.util.$tilde$greater.$anonfun$$u2219$1(TypeFunctions.scala:62) at sbt.std.Transform$$anon$4.work(Transform.scala:67) at sbt.Execute.$anonfun$submit$2(Execute.scala:281) at sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:19) at sbt.Execute.work(Execute.scala:290) at sbt.Execute.$anonfun$submit$1(Execute.scala:281) at sbt.ConcurrentRestrictions$$anon$4.$anonfun$submitValid$1(ConcurrentRestrictions.scala:178) at sbt.CompletionService$$anon$2.call(CompletionService.scala:37) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) 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) Caused by: org.h2.jdbc.JdbcSQLException: General error: "java.lang.IllegalStateException: The file is locked: nio:/home/rohan/Documents/Programming/Scala/play-scala-isolated-slick-example/test.mv.db [1.4.196/7]" [50000-196] at org.h2.message.DbException.getJdbcSQLException(DbException.java:345) ... 40 more Caused by: java.lang.IllegalStateException: The file is locked: nio:/home/rohan/Documents/Programming/Scala/play-scala-isolated-slick-example/test.mv.db [1.4.196/7] at org.h2.mvstore.DataUtils.newIllegalStateException(DataUtils.java:765) at org.h2.mvstore.FileStore.open(FileStore.java:168) at org.h2.mvstore.MVStore.(MVStore.java:347) ... 35 more Caused by: java.nio.channels.OverlappingFileLockException at java.base/sun.nio.ch.FileLockTable.checkList(FileLockTable.java:229) at java.base/sun.nio.ch.FileLockTable.add(FileLockTable.java:123) at java.base/sun.nio.ch.FileChannelImpl.tryLock(FileChannelImpl.java:1154) at org.h2.store.fs.FileNio.tryLock(FilePathNio.java:121) at java.base/java.nio.channels.FileChannel.tryLock(FileChannel.java:1165) at org.h2.mvstore.FileStore.open(FileStore.java:165) ... 36 more 2020-05-10 16:51:34 database: flush org.h2.message.DbException: General error: "java.lang.IllegalStateException: The file is locked: nio:/home/rohan/Documents/Programming/Scala/play-scala-isolated-slick-example/test.mv.db [1.4.196/7]" [50000-196] at org.h2.message.DbException.get(DbException.java:168) at org.h2.message.DbException.convert(DbException.java:295) at org.h2.mvstore.db.MVTableEngine$1.uncaughtException(MVTableEngine.java:95) at org.h2.mvstore.MVStore.panic(MVStore.java:378) at org.h2.mvstore.MVStore.(MVStore.java:361) at org.h2.mvstore.MVStore$Builder.open(MVStore.java:2930) at org.h2.mvstore.db.MVTableEngine$Store.open(MVTableEngine.java:155) at org.h2.mvstore.db.MVTableEngine.init(MVTableEngine.java:100) at org.h2.engine.Database.getPageStore(Database.java:2476) at org.h2.engine.Database.open(Database.java:697) at org.h2.engine.Database.openDatabase(Database.java:276) at org.h2.engine.Database.(Database.java:270) at org.h2.engine.Engine.openSession(Engine.java:64) at org.h2.engine.Engine.openSession(Engine.java:176) at org.h2.engine.Engine.createSessionAndValidate(Engine.java:154) at org.h2.engine.Engine.createSession(Engine.java:137) at org.h2.engine.Engine.createSession(Engine.java:27) at org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:354) at org.h2.jdbc.JdbcConnection.(JdbcConnection.java:116) at org.h2.jdbc.JdbcConnection.(JdbcConnection.java:100) at org.h2.Driver.connect(Driver.java:69) at slick.jdbc.DriverDataSource.getConnection(DriverDataSource.scala:101) at slick.jdbc.DataSourceJdbcDataSource.createConnection(JdbcDataSource.scala:71) at com.github.tototoshi.sbt.slick.CodegenPlugin$.gen(CodegenPlugin.scala:81) at com.github.tototoshi.sbt.slick.CodegenPlugin$.$anonfun$projectSettings$13(CodegenPlugin.scala:156) at scala.Function1.$anonfun$compose$1(Function1.scala:49) at sbt.internal.util.$tilde$greater.$anonfun$$u2219$1(TypeFunctions.scala:62) at sbt.std.Transform$$anon$4.work(Transform.scala:67) at sbt.Execute.$anonfun$submit$2(Execute.scala:281) at sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:19) at sbt.Execute.work(Execute.scala:290) at sbt.Execute.$anonfun$submit$1(Execute.scala:281) at sbt.ConcurrentRestrictions$$anon$4.$anonfun$submitValid$1(ConcurrentRestrictions.scala:178) at sbt.CompletionService$$anon$2.call(CompletionService.scala:37) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) 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) Caused by: org.h2.jdbc.JdbcSQLException: General error: "java.lang.IllegalStateException: The file is locked: nio:/home/rohan/Documents/Programming/Scala/play-scala-isolated-slick-example/test.mv.db [1.4.196/7]" [50000-196] at org.h2.message.DbException.getJdbcSQLException(DbException.java:345) ... 40 more Caused by: java.lang.IllegalStateException: The file is locked: nio:/home/rohan/Documents/Programming/Scala/play-scala-isolated-slick-example/test.mv.db [1.4.196/7] at org.h2.mvstore.DataUtils.newIllegalStateException(DataUtils.java:765) at org.h2.mvstore.FileStore.open(FileStore.java:168) at org.h2.mvstore.MVStore.(MVStore.java:347) ... 35 more Caused by: java.nio.channels.OverlappingFileLockException at java.base/sun.nio.ch.FileLockTable.checkList(FileLockTable.java:229) at java.base/sun.nio.ch.FileLockTable.add(FileLockTable.java:123) at java.base/sun.nio.ch.FileChannelImpl.tryLock(FileChannelImpl.java:1154) at org.h2.store.fs.FileNio.tryLock(FilePathNio.java:121) at java.base/java.nio.channels.FileChannel.tryLock(FileChannel.java:1165) at org.h2.mvstore.FileStore.open(FileStore.java:165) ... 36 more 2020-05-10 16:51:37 database: flush org.h2.message.DbException: General error: "java.lang.IllegalStateException: The file is locked: nio:/home/rohan/Documents/Programming/Scala/play-scala-isolated-slick-example/test.mv.db [1.4.199/7]" [50000-199] at org.h2.message.DbException.get(DbException.java:194) at org.h2.message.DbException.convert(DbException.java:347) at org.h2.mvstore.db.MVTableEngine$1.uncaughtException(MVTableEngine.java:90) at org.h2.mvstore.MVStore.handleException(MVStore.java:2787) at org.h2.mvstore.MVStore.panic(MVStore.java:441) at org.h2.mvstore.MVStore.(MVStore.java:404) at org.h2.mvstore.MVStore$Builder.open(MVStore.java:3343) at org.h2.mvstore.db.MVTableEngine$Store.open(MVTableEngine.java:162) at org.h2.mvstore.db.MVTableEngine.init(MVTableEngine.java:95) at org.h2.engine.Database.getPageStore(Database.java:2739) at org.h2.engine.Database.open(Database.java:769) at org.h2.engine.Database.openDatabase(Database.java:319) at org.h2.engine.Database.(Database.java:313) at org.h2.engine.Engine.openSession(Engine.java:69) at org.h2.engine.Engine.openSession(Engine.java:201) at org.h2.engine.Engine.createSessionAndValidate(Engine.java:178) at org.h2.engine.Engine.createSession(Engine.java:161) at org.h2.engine.Engine.createSession(Engine.java:31) at org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:336) at org.h2.jdbc.JdbcConnection.(JdbcConnection.java:169) at org.h2.jdbc.JdbcConnection.(JdbcConnection.java:148) at org.h2.Driver.connect(Driver.java:69) at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:138) at com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:354) at com.zaxxer.hikari.pool.PoolBase.newPoolEntry(PoolBase.java:202) at com.zaxxer.hikari.pool.HikariPool.createPoolEntry(HikariPool.java:473) at com.zaxxer.hikari.pool.HikariPool.access$100(HikariPool.java:71) at com.zaxxer.hikari.pool.HikariPool$PoolEntryCreator.call(HikariPool.java:719) at com.zaxxer.hikari.pool.HikariPool$PoolEntryCreator.call(HikariPool.java:705) 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) Caused by: org.h2.jdbc.JdbcSQLNonTransientException: General error: "java.lang.IllegalStateException: The file is locked: nio:/home/rohan/Documents/Programming/Scala/play-scala-isolated-slick-example/test.mv.db [1.4.199/7]" [50000-199] at org.h2.message.DbException.getJdbcSQLException(DbException.java:502) at org.h2.message.DbException.getJdbcSQLException(DbException.java:427) ... 33 more Caused by: java.lang.IllegalStateException: The file is locked: nio:/home/rohan/Documents/Programming/Scala/play-scala-isolated-slick-example/test.mv.db [1.4.199/7] at org.h2.mvstore.DataUtils.newIllegalStateException(DataUtils.java:883) at org.h2.mvstore.FileStore.open(FileStore.java:166) at org.h2.mvstore.MVStore.(MVStore.java:390) ... 27 more Caused by: java.nio.channels.OverlappingFileLockException at java.base/sun.nio.ch.FileLockTable.checkList(FileLockTable.java:229) at java.base/sun.nio.ch.FileLockTable.add(FileLockTable.java:123) at java.base/sun.nio.ch.FileChannelImpl.tryLock(FileChannelImpl.java:1154) at org.h2.store.fs.FileNio.tryLock(FilePathNio.java:121) at java.base/java.nio.channels.FileChannel.tryLock(FileChannel.java:1165) at org.h2.mvstore.FileStore.open(FileStore.java:163) ... 28 more 2020-05-10 16:51:37 database: flush org.h2.message.DbException: General error: "java.lang.IllegalStateException: The file is locked: nio:/home/rohan/Documents/Programming/Scala/play-scala-isolated-slick-example/test.mv.db [1.4.199/7]" [50000-199] at org.h2.message.DbException.get(DbException.java:194) at org.h2.message.DbException.convert(DbException.java:347) at org.h2.mvstore.db.MVTableEngine$1.uncaughtException(MVTableEngine.java:90) at org.h2.mvstore.MVStore.handleException(MVStore.java:2787) at org.h2.mvstore.MVStore.panic(MVStore.java:441) at org.h2.mvstore.MVStore.(MVStore.java:404) at org.h2.mvstore.MVStore$Builder.open(MVStore.java:3343) at org.h2.mvstore.db.MVTableEngine$Store.open(MVTableEngine.java:162) at org.h2.mvstore.db.MVTableEngine.init(MVTableEngine.java:95) at org.h2.engine.Database.getPageStore(Database.java:2739) at org.h2.engine.Database.open(Database.java:769) at org.h2.engine.Database.openDatabase(Database.java:319) at org.h2.engine.Database.(Database.java:313) at org.h2.engine.Engine.openSession(Engine.java:69) at org.h2.engine.Engine.openSession(Engine.java:201) at org.h2.engine.Engine.createSessionAndValidate(Engine.java:178) at org.h2.engine.Engine.createSession(Engine.java:161) at org.h2.engine.Engine.createSession(Engine.java:31) at org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:336) at org.h2.jdbc.JdbcConnection.(JdbcConnection.java:169) at org.h2.jdbc.JdbcConnection.(JdbcConnection.java:148) at org.h2.Driver.connect(Driver.java:69) at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:138) at com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:354) at com.zaxxer.hikari.pool.PoolBase.newPoolEntry(PoolBase.java:202) at com.zaxxer.hikari.pool.HikariPool.createPoolEntry(HikariPool.java:473) at com.zaxxer.hikari.pool.HikariPool.access$100(HikariPool.java:71) at com.zaxxer.hikari.pool.HikariPool$PoolEntryCreator.call(HikariPool.java:719) at com.zaxxer.hikari.pool.HikariPool$PoolEntryCreator.call(HikariPool.java:705) 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) Caused by: org.h2.jdbc.JdbcSQLNonTransientException: General error: "java.lang.IllegalStateException: The file is locked: nio:/home/rohan/Documents/Programming/Scala/play-scala-isolated-slick-example/test.mv.db [1.4.199/7]" [50000-199] at org.h2.message.DbException.getJdbcSQLException(DbException.java:502) at org.h2.message.DbException.getJdbcSQLException(DbException.java:427) ... 33 more Caused by: java.lang.IllegalStateException: The file is locked: nio:/home/rohan/Documents/Programming/Scala/play-scala-isolated-slick-example/test.mv.db [1.4.199/7] at org.h2.mvstore.DataUtils.newIllegalStateException(DataUtils.java:883) at org.h2.mvstore.FileStore.open(FileStore.java:166) at org.h2.mvstore.MVStore.(MVStore.java:390) ... 27 more Caused by: java.nio.channels.OverlappingFileLockException at java.base/sun.nio.ch.FileLockTable.checkList(FileLockTable.java:229) at java.base/sun.nio.ch.FileLockTable.add(FileLockTable.java:123) at java.base/sun.nio.ch.FileChannelImpl.tryLock(FileChannelImpl.java:1154) at org.h2.store.fs.FileNio.tryLock(FilePathNio.java:121) at java.base/java.nio.channels.FileChannel.tryLock(FileChannel.java:1165) at org.h2.mvstore.FileStore.open(FileStore.java:163) ... 28 more 2020-05-10 17:32:32 database: flush org.h2.message.DbException: General error: "java.lang.IllegalStateException: The file is locked: nio:/home/rohan/Documents/Programming/Scala/play-scala-isolated-slick-example/test.mv.db [1.4.196/7]" [50000-196] at org.h2.message.DbException.get(DbException.java:168) at org.h2.message.DbException.convert(DbException.java:295) at org.h2.mvstore.db.MVTableEngine$1.uncaughtException(MVTableEngine.java:95) at org.h2.mvstore.MVStore.panic(MVStore.java:378) at org.h2.mvstore.MVStore.(MVStore.java:361) at org.h2.mvstore.MVStore$Builder.open(MVStore.java:2930) at org.h2.mvstore.db.MVTableEngine$Store.open(MVTableEngine.java:155) at org.h2.mvstore.db.MVTableEngine.init(MVTableEngine.java:100) at org.h2.engine.Database.getPageStore(Database.java:2476) at org.h2.engine.Database.open(Database.java:697) at org.h2.engine.Database.openDatabase(Database.java:276) at org.h2.engine.Database.(Database.java:270) at org.h2.engine.Engine.openSession(Engine.java:64) at org.h2.engine.Engine.openSession(Engine.java:176) at org.h2.engine.Engine.createSessionAndValidate(Engine.java:154) at org.h2.engine.Engine.createSession(Engine.java:137) at org.h2.engine.Engine.createSession(Engine.java:27) at org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:354) at org.h2.jdbc.JdbcConnection.(JdbcConnection.java:116) at org.h2.jdbc.JdbcConnection.(JdbcConnection.java:100) at org.h2.Driver.connect(Driver.java:69) at org.flywaydb.core.internal.jdbc.DriverDataSource.getConnectionFromDriver(DriverDataSource.java:456) at org.flywaydb.core.internal.jdbc.DriverDataSource.getConnection(DriverDataSource.java:422) at org.flywaydb.core.internal.jdbc.JdbcUtils.openConnection(JdbcUtils.java:56) at org.flywaydb.core.internal.jdbc.JdbcConnectionFactory.(JdbcConnectionFactory.java:80) at org.flywaydb.core.Flyway.execute(Flyway.java:447) at org.flywaydb.core.Flyway.migrate(Flyway.java:153) at io.github.davidmweber.FlywayPlugin$.$anonfun$flywayBaseSettings$47(FlywayPlugin.scala:190) at io.github.davidmweber.FlywayPlugin$.$anonfun$flywayBaseSettings$47$adapted(FlywayPlugin.scala:190) at scala.Function1.$anonfun$compose$1(Function1.scala:49) at sbt.internal.util.$tilde$greater.$anonfun$$u2219$1(TypeFunctions.scala:62) at sbt.std.Transform$$anon$4.work(Transform.scala:67) at sbt.Execute.$anonfun$submit$2(Execute.scala:281) at sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:19) at sbt.Execute.work(Execute.scala:290) at sbt.Execute.$anonfun$submit$1(Execute.scala:281) at sbt.ConcurrentRestrictions$$anon$4.$anonfun$submitValid$1(ConcurrentRestrictions.scala:178) at sbt.CompletionService$$anon$2.call(CompletionService.scala:37) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) 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) Caused by: org.h2.jdbc.JdbcSQLException: General error: "java.lang.IllegalStateException: The file is locked: nio:/home/rohan/Documents/Programming/Scala/play-scala-isolated-slick-example/test.mv.db [1.4.196/7]" [50000-196] at org.h2.message.DbException.getJdbcSQLException(DbException.java:345) ... 44 more Caused by: java.lang.IllegalStateException: The file is locked: nio:/home/rohan/Documents/Programming/Scala/play-scala-isolated-slick-example/test.mv.db [1.4.196/7] at org.h2.mvstore.DataUtils.newIllegalStateException(DataUtils.java:765) at org.h2.mvstore.FileStore.open(FileStore.java:168) at org.h2.mvstore.MVStore.(MVStore.java:347) ... 39 more Caused by: java.nio.channels.OverlappingFileLockException at java.base/sun.nio.ch.FileLockTable.checkList(FileLockTable.java:229) at java.base/sun.nio.ch.FileLockTable.add(FileLockTable.java:123) at java.base/sun.nio.ch.FileChannelImpl.tryLock(FileChannelImpl.java:1154) at org.h2.store.fs.FileNio.tryLock(FilePathNio.java:121) at java.base/java.nio.channels.FileChannel.tryLock(FileChannel.java:1165) at org.h2.mvstore.FileStore.open(FileStore.java:165) ... 40 more 2020-05-10 18:12:52 database: flush org.h2.message.DbException: General error: "java.lang.IllegalStateException: The file is locked: nio:/home/rohan/Documents/Programming/Scala/play-scala-isolated-slick-example/test.mv.db [1.4.196/7]" [50000-196] at org.h2.message.DbException.get(DbException.java:168) at org.h2.message.DbException.convert(DbException.java:295) at org.h2.mvstore.db.MVTableEngine$1.uncaughtException(MVTableEngine.java:95) at org.h2.mvstore.MVStore.panic(MVStore.java:378) at org.h2.mvstore.MVStore.(MVStore.java:361) at org.h2.mvstore.MVStore$Builder.open(MVStore.java:2930) at org.h2.mvstore.db.MVTableEngine$Store.open(MVTableEngine.java:155) at org.h2.mvstore.db.MVTableEngine.init(MVTableEngine.java:100) at org.h2.engine.Database.getPageStore(Database.java:2476) at org.h2.engine.Database.open(Database.java:697) at org.h2.engine.Database.openDatabase(Database.java:276) at org.h2.engine.Database.(Database.java:270) at org.h2.engine.Engine.openSession(Engine.java:64) at org.h2.engine.Engine.openSession(Engine.java:176) at org.h2.engine.Engine.createSessionAndValidate(Engine.java:154) at org.h2.engine.Engine.createSession(Engine.java:137) at org.h2.engine.Engine.createSession(Engine.java:27) at org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:354) at org.h2.jdbc.JdbcConnection.(JdbcConnection.java:116) at org.h2.jdbc.JdbcConnection.(JdbcConnection.java:100) at org.h2.Driver.connect(Driver.java:69) at slick.jdbc.DriverDataSource.getConnection(DriverDataSource.scala:101) at slick.jdbc.DataSourceJdbcDataSource.createConnection(JdbcDataSource.scala:71) at com.github.tototoshi.sbt.slick.CodegenPlugin$.gen(CodegenPlugin.scala:81) at com.github.tototoshi.sbt.slick.CodegenPlugin$.$anonfun$projectSettings$13(CodegenPlugin.scala:156) at scala.Function1.$anonfun$compose$1(Function1.scala:49) at sbt.internal.util.$tilde$greater.$anonfun$$u2219$1(TypeFunctions.scala:62) at sbt.std.Transform$$anon$4.work(Transform.scala:67) at sbt.Execute.$anonfun$submit$2(Execute.scala:281) at sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:19) at sbt.Execute.work(Execute.scala:290) at sbt.Execute.$anonfun$submit$1(Execute.scala:281) at sbt.ConcurrentRestrictions$$anon$4.$anonfun$submitValid$1(ConcurrentRestrictions.scala:178) at sbt.CompletionService$$anon$2.call(CompletionService.scala:37) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) 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) Caused by: org.h2.jdbc.JdbcSQLException: General error: "java.lang.IllegalStateException: The file is locked: nio:/home/rohan/Documents/Programming/Scala/play-scala-isolated-slick-example/test.mv.db [1.4.196/7]" [50000-196] at org.h2.message.DbException.getJdbcSQLException(DbException.java:345) ... 40 more Caused by: java.lang.IllegalStateException: The file is locked: nio:/home/rohan/Documents/Programming/Scala/play-scala-isolated-slick-example/test.mv.db [1.4.196/7] at org.h2.mvstore.DataUtils.newIllegalStateException(DataUtils.java:765) at org.h2.mvstore.FileStore.open(FileStore.java:168) at org.h2.mvstore.MVStore.(MVStore.java:347) ... 35 more Caused by: java.nio.channels.OverlappingFileLockException at java.base/sun.nio.ch.FileLockTable.checkList(FileLockTable.java:229) at java.base/sun.nio.ch.FileLockTable.add(FileLockTable.java:123) at java.base/sun.nio.ch.FileChannelImpl.tryLock(FileChannelImpl.java:1154) at org.h2.store.fs.FileNio.tryLock(FilePathNio.java:121) at java.base/java.nio.channels.FileChannel.tryLock(FileChannel.java:1165) at org.h2.mvstore.FileStore.open(FileStore.java:165) ... 36 more 2020-05-10 18:12:55 database: flush org.h2.message.DbException: General error: "java.lang.IllegalStateException: The file is locked: nio:/home/rohan/Documents/Programming/Scala/play-scala-isolated-slick-example/test.mv.db [1.4.196/7]" [50000-196] at org.h2.message.DbException.get(DbException.java:168) at org.h2.message.DbException.convert(DbException.java:295) at org.h2.mvstore.db.MVTableEngine$1.uncaughtException(MVTableEngine.java:95) at org.h2.mvstore.MVStore.panic(MVStore.java:378) at org.h2.mvstore.MVStore.(MVStore.java:361) at org.h2.mvstore.MVStore$Builder.open(MVStore.java:2930) at org.h2.mvstore.db.MVTableEngine$Store.open(MVTableEngine.java:155) at org.h2.mvstore.db.MVTableEngine.init(MVTableEngine.java:100) at org.h2.engine.Database.getPageStore(Database.java:2476) at org.h2.engine.Database.open(Database.java:697) at org.h2.engine.Database.openDatabase(Database.java:276) at org.h2.engine.Database.(Database.java:270) at org.h2.engine.Engine.openSession(Engine.java:64) at org.h2.engine.Engine.openSession(Engine.java:176) at org.h2.engine.Engine.createSessionAndValidate(Engine.java:154) at org.h2.engine.Engine.createSession(Engine.java:137) at org.h2.engine.Engine.createSession(Engine.java:27) at org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:354) at org.h2.jdbc.JdbcConnection.(JdbcConnection.java:116) at org.h2.jdbc.JdbcConnection.(JdbcConnection.java:100) at org.h2.Driver.connect(Driver.java:69) at slick.jdbc.DriverDataSource.getConnection(DriverDataSource.scala:101) at slick.jdbc.DataSourceJdbcDataSource.createConnection(JdbcDataSource.scala:71) at com.github.tototoshi.sbt.slick.CodegenPlugin$.gen(CodegenPlugin.scala:81) at com.github.tototoshi.sbt.slick.CodegenPlugin$.$anonfun$projectSettings$13(CodegenPlugin.scala:156) at scala.Function1.$anonfun$compose$1(Function1.scala:49) at sbt.internal.util.$tilde$greater.$anonfun$$u2219$1(TypeFunctions.scala:62) at sbt.std.Transform$$anon$4.work(Transform.scala:67) at sbt.Execute.$anonfun$submit$2(Execute.scala:281) at sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:19) at sbt.Execute.work(Execute.scala:290) at sbt.Execute.$anonfun$submit$1(Execute.scala:281) at sbt.ConcurrentRestrictions$$anon$4.$anonfun$submitValid$1(ConcurrentRestrictions.scala:178) at sbt.CompletionService$$anon$2.call(CompletionService.scala:37) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) 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) Caused by: org.h2.jdbc.JdbcSQLException: General error: "java.lang.IllegalStateException: The file is locked: nio:/home/rohan/Documents/Programming/Scala/play-scala-isolated-slick-example/test.mv.db [1.4.196/7]" [50000-196] at org.h2.message.DbException.getJdbcSQLException(DbException.java:345) ... 40 more Caused by: java.lang.IllegalStateException: The file is locked: nio:/home/rohan/Documents/Programming/Scala/play-scala-isolated-slick-example/test.mv.db [1.4.196/7] at org.h2.mvstore.DataUtils.newIllegalStateException(DataUtils.java:765) at org.h2.mvstore.FileStore.open(FileStore.java:168) at org.h2.mvstore.MVStore.(MVStore.java:347) ... 35 more Caused by: java.nio.channels.OverlappingFileLockException at java.base/sun.nio.ch.FileLockTable.checkList(FileLockTable.java:229) at java.base/sun.nio.ch.FileLockTable.add(FileLockTable.java:123) at java.base/sun.nio.ch.FileChannelImpl.tryLock(FileChannelImpl.java:1154) at org.h2.store.fs.FileNio.tryLock(FilePathNio.java:121) at java.base/java.nio.channels.FileChannel.tryLock(FileChannel.java:1165) at org.h2.mvstore.FileStore.open(FileStore.java:165) ... 36 more 2020-05-11 14:11:48 database: flush org.h2.message.DbException: General error: "java.lang.IllegalStateException: The file is locked: nio:/home/rohan/Documents/Programming/Scala/play-scala-isolated-slick-example/test.mv.db [1.4.196/7]" [50000-196] at org.h2.message.DbException.get(DbException.java:168) at org.h2.message.DbException.convert(DbException.java:295) at org.h2.mvstore.db.MVTableEngine$1.uncaughtException(MVTableEngine.java:95) at org.h2.mvstore.MVStore.panic(MVStore.java:378) at org.h2.mvstore.MVStore.(MVStore.java:361) at org.h2.mvstore.MVStore$Builder.open(MVStore.java:2930) at org.h2.mvstore.db.MVTableEngine$Store.open(MVTableEngine.java:155) at org.h2.mvstore.db.MVTableEngine.init(MVTableEngine.java:100) at org.h2.engine.Database.getPageStore(Database.java:2476) at org.h2.engine.Database.open(Database.java:697) at org.h2.engine.Database.openDatabase(Database.java:276) at org.h2.engine.Database.(Database.java:270) at org.h2.engine.Engine.openSession(Engine.java:64) at org.h2.engine.Engine.openSession(Engine.java:176) at org.h2.engine.Engine.createSessionAndValidate(Engine.java:154) at org.h2.engine.Engine.createSession(Engine.java:137) at org.h2.engine.Engine.createSession(Engine.java:27) at org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:354) at org.h2.jdbc.JdbcConnection.(JdbcConnection.java:116) at org.h2.jdbc.JdbcConnection.(JdbcConnection.java:100) at org.h2.Driver.connect(Driver.java:69) at slick.jdbc.DriverDataSource.getConnection(DriverDataSource.scala:101) at slick.jdbc.DataSourceJdbcDataSource.createConnection(JdbcDataSource.scala:71) at com.github.tototoshi.sbt.slick.CodegenPlugin$.gen(CodegenPlugin.scala:81) at com.github.tototoshi.sbt.slick.CodegenPlugin$.$anonfun$projectSettings$13(CodegenPlugin.scala:156) at scala.Function1.$anonfun$compose$1(Function1.scala:49) at sbt.internal.util.$tilde$greater.$anonfun$$u2219$1(TypeFunctions.scala:62) at sbt.std.Transform$$anon$4.work(Transform.scala:67) at sbt.Execute.$anonfun$submit$2(Execute.scala:281) at sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:19) at sbt.Execute.work(Execute.scala:290) at sbt.Execute.$anonfun$submit$1(Execute.scala:281) at sbt.ConcurrentRestrictions$$anon$4.$anonfun$submitValid$1(ConcurrentRestrictions.scala:178) at sbt.CompletionService$$anon$2.call(CompletionService.scala:37) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) 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) Caused by: org.h2.jdbc.JdbcSQLException: General error: "java.lang.IllegalStateException: The file is locked: nio:/home/rohan/Documents/Programming/Scala/play-scala-isolated-slick-example/test.mv.db [1.4.196/7]" [50000-196] at org.h2.message.DbException.getJdbcSQLException(DbException.java:345) ... 40 more Caused by: java.lang.IllegalStateException: The file is locked: nio:/home/rohan/Documents/Programming/Scala/play-scala-isolated-slick-example/test.mv.db [1.4.196/7] at org.h2.mvstore.DataUtils.newIllegalStateException(DataUtils.java:765) at org.h2.mvstore.FileStore.open(FileStore.java:168) at org.h2.mvstore.MVStore.(MVStore.java:347) ... 35 more Caused by: java.nio.channels.OverlappingFileLockException at java.base/sun.nio.ch.FileLockTable.checkList(FileLockTable.java:229) at java.base/sun.nio.ch.FileLockTable.add(FileLockTable.java:123) at java.base/sun.nio.ch.FileChannelImpl.tryLock(FileChannelImpl.java:1154) at org.h2.store.fs.FileNio.tryLock(FilePathNio.java:121) at java.base/java.nio.channels.FileChannel.tryLock(FileChannel.java:1165) at org.h2.mvstore.FileStore.open(FileStore.java:165) ... 36 more 2020-05-11 14:11:48 database: flush org.h2.message.DbException: General error: "java.lang.IllegalStateException: The file is locked: nio:/home/rohan/Documents/Programming/Scala/play-scala-isolated-slick-example/test.mv.db [1.4.196/7]" [50000-196] at org.h2.message.DbException.get(DbException.java:168) at org.h2.message.DbException.convert(DbException.java:295) at org.h2.mvstore.db.MVTableEngine$1.uncaughtException(MVTableEngine.java:95) at org.h2.mvstore.MVStore.panic(MVStore.java:378) at org.h2.mvstore.MVStore.(MVStore.java:361) at org.h2.mvstore.MVStore$Builder.open(MVStore.java:2930) at org.h2.mvstore.db.MVTableEngine$Store.open(MVTableEngine.java:155) at org.h2.mvstore.db.MVTableEngine.init(MVTableEngine.java:100) at org.h2.engine.Database.getPageStore(Database.java:2476) at org.h2.engine.Database.open(Database.java:697) at org.h2.engine.Database.openDatabase(Database.java:276) at org.h2.engine.Database.(Database.java:270) at org.h2.engine.Engine.openSession(Engine.java:64) at org.h2.engine.Engine.openSession(Engine.java:176) at org.h2.engine.Engine.createSessionAndValidate(Engine.java:154) at org.h2.engine.Engine.createSession(Engine.java:137) at org.h2.engine.Engine.createSession(Engine.java:27) at org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:354) at org.h2.jdbc.JdbcConnection.(JdbcConnection.java:116) at org.h2.jdbc.JdbcConnection.(JdbcConnection.java:100) at org.h2.Driver.connect(Driver.java:69) at slick.jdbc.DriverDataSource.getConnection(DriverDataSource.scala:101) at slick.jdbc.DataSourceJdbcDataSource.createConnection(JdbcDataSource.scala:71) at com.github.tototoshi.sbt.slick.CodegenPlugin$.gen(CodegenPlugin.scala:81) at com.github.tototoshi.sbt.slick.CodegenPlugin$.$anonfun$projectSettings$13(CodegenPlugin.scala:156) at scala.Function1.$anonfun$compose$1(Function1.scala:49) at sbt.internal.util.$tilde$greater.$anonfun$$u2219$1(TypeFunctions.scala:62) at sbt.std.Transform$$anon$4.work(Transform.scala:67) at sbt.Execute.$anonfun$submit$2(Execute.scala:281) at sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:19) at sbt.Execute.work(Execute.scala:290) at sbt.Execute.$anonfun$submit$1(Execute.scala:281) at sbt.ConcurrentRestrictions$$anon$4.$anonfun$submitValid$1(ConcurrentRestrictions.scala:178) at sbt.CompletionService$$anon$2.call(CompletionService.scala:37) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) 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) Caused by: org.h2.jdbc.JdbcSQLException: General error: "java.lang.IllegalStateException: The file is locked: nio:/home/rohan/Documents/Programming/Scala/play-scala-isolated-slick-example/test.mv.db [1.4.196/7]" [50000-196] at org.h2.message.DbException.getJdbcSQLException(DbException.java:345) ... 40 more Caused by: java.lang.IllegalStateException: The file is locked: nio:/home/rohan/Documents/Programming/Scala/play-scala-isolated-slick-example/test.mv.db [1.4.196/7] at org.h2.mvstore.DataUtils.newIllegalStateException(DataUtils.java:765) at org.h2.mvstore.FileStore.open(FileStore.java:168) at org.h2.mvstore.MVStore.(MVStore.java:347) ... 35 more Caused by: java.nio.channels.OverlappingFileLockException at java.base/sun.nio.ch.FileLockTable.checkList(FileLockTable.java:229) at java.base/sun.nio.ch.FileLockTable.add(FileLockTable.java:123) at java.base/sun.nio.ch.FileChannelImpl.tryLock(FileChannelImpl.java:1154) at org.h2.store.fs.FileNio.tryLock(FilePathNio.java:121) at java.base/java.nio.channels.FileChannel.tryLock(FileChannel.java:1165) at org.h2.mvstore.FileStore.open(FileStore.java:165) ... 36 more 2020-05-11 14:11:58 database: flush org.h2.message.DbException: General error: "java.lang.IllegalStateException: The file is locked: nio:/home/rohan/Documents/Programming/Scala/play-scala-isolated-slick-example/test.mv.db [1.4.196/7]" [50000-196] at org.h2.message.DbException.get(DbException.java:168) at org.h2.message.DbException.convert(DbException.java:295) at org.h2.mvstore.db.MVTableEngine$1.uncaughtException(MVTableEngine.java:95) at org.h2.mvstore.MVStore.panic(MVStore.java:378) at org.h2.mvstore.MVStore.(MVStore.java:361) at org.h2.mvstore.MVStore$Builder.open(MVStore.java:2930) at org.h2.mvstore.db.MVTableEngine$Store.open(MVTableEngine.java:155) at org.h2.mvstore.db.MVTableEngine.init(MVTableEngine.java:100) at org.h2.engine.Database.getPageStore(Database.java:2476) at org.h2.engine.Database.open(Database.java:697) at org.h2.engine.Database.openDatabase(Database.java:276) at org.h2.engine.Database.(Database.java:270) at org.h2.engine.Engine.openSession(Engine.java:64) at org.h2.engine.Engine.openSession(Engine.java:176) at org.h2.engine.Engine.createSessionAndValidate(Engine.java:154) at org.h2.engine.Engine.createSession(Engine.java:137) at org.h2.engine.Engine.createSession(Engine.java:27) at org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:354) at org.h2.jdbc.JdbcConnection.(JdbcConnection.java:116) at org.h2.jdbc.JdbcConnection.(JdbcConnection.java:100) at org.h2.Driver.connect(Driver.java:69) at slick.jdbc.DriverDataSource.getConnection(DriverDataSource.scala:101) at slick.jdbc.DataSourceJdbcDataSource.createConnection(JdbcDataSource.scala:71) at com.github.tototoshi.sbt.slick.CodegenPlugin$.gen(CodegenPlugin.scala:81) at com.github.tototoshi.sbt.slick.CodegenPlugin$.$anonfun$projectSettings$13(CodegenPlugin.scala:156) at scala.Function1.$anonfun$compose$1(Function1.scala:49) at sbt.internal.util.$tilde$greater.$anonfun$$u2219$1(TypeFunctions.scala:62) at sbt.std.Transform$$anon$4.work(Transform.scala:67) at sbt.Execute.$anonfun$submit$2(Execute.scala:281) at sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:19) at sbt.Execute.work(Execute.scala:290) at sbt.Execute.$anonfun$submit$1(Execute.scala:281) at sbt.ConcurrentRestrictions$$anon$4.$anonfun$submitValid$1(ConcurrentRestrictions.scala:178) at sbt.CompletionService$$anon$2.call(CompletionService.scala:37) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) 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) Caused by: org.h2.jdbc.JdbcSQLException: General error: "java.lang.IllegalStateException: The file is locked: nio:/home/rohan/Documents/Programming/Scala/play-scala-isolated-slick-example/test.mv.db [1.4.196/7]" [50000-196] at org.h2.message.DbException.getJdbcSQLException(DbException.java:345) ... 40 more Caused by: java.lang.IllegalStateException: The file is locked: nio:/home/rohan/Documents/Programming/Scala/play-scala-isolated-slick-example/test.mv.db [1.4.196/7] at org.h2.mvstore.DataUtils.newIllegalStateException(DataUtils.java:765) at org.h2.mvstore.FileStore.open(FileStore.java:168) at org.h2.mvstore.MVStore.(MVStore.java:347) ... 35 more Caused by: java.nio.channels.OverlappingFileLockException at java.base/sun.nio.ch.FileLockTable.checkList(FileLockTable.java:229) at java.base/sun.nio.ch.FileLockTable.add(FileLockTable.java:123) at java.base/sun.nio.ch.FileChannelImpl.tryLock(FileChannelImpl.java:1154) at org.h2.store.fs.FileNio.tryLock(FilePathNio.java:121) at java.base/java.nio.channels.FileChannel.tryLock(FileChannel.java:1165) at org.h2.mvstore.FileStore.open(FileStore.java:165) ... 36 more 2020-05-11 15:04:53 database: flush org.h2.message.DbException: General error: "java.lang.IllegalStateException: The file is locked: nio:/home/rohan/Documents/Programming/Scala/play-scala-isolated-slick-example/test.mv.db [1.4.196/7]" [50000-196] at org.h2.message.DbException.get(DbException.java:168) at org.h2.message.DbException.convert(DbException.java:295) at org.h2.mvstore.db.MVTableEngine$1.uncaughtException(MVTableEngine.java:95) at org.h2.mvstore.MVStore.panic(MVStore.java:378) at org.h2.mvstore.MVStore.(MVStore.java:361) at org.h2.mvstore.MVStore$Builder.open(MVStore.java:2930) at org.h2.mvstore.db.MVTableEngine$Store.open(MVTableEngine.java:155) at org.h2.mvstore.db.MVTableEngine.init(MVTableEngine.java:100) at org.h2.engine.Database.getPageStore(Database.java:2476) at org.h2.engine.Database.open(Database.java:697) at org.h2.engine.Database.openDatabase(Database.java:276) at org.h2.engine.Database.(Database.java:270) at org.h2.engine.Engine.openSession(Engine.java:64) at org.h2.engine.Engine.openSession(Engine.java:176) at org.h2.engine.Engine.createSessionAndValidate(Engine.java:154) at org.h2.engine.Engine.createSession(Engine.java:137) at org.h2.engine.Engine.createSession(Engine.java:27) at org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:354) at org.h2.jdbc.JdbcConnection.(JdbcConnection.java:116) at org.h2.jdbc.JdbcConnection.(JdbcConnection.java:100) at org.h2.Driver.connect(Driver.java:69) at slick.jdbc.DriverDataSource.getConnection(DriverDataSource.scala:101) at slick.jdbc.DataSourceJdbcDataSource.createConnection(JdbcDataSource.scala:71) at com.github.tototoshi.sbt.slick.CodegenPlugin$.gen(CodegenPlugin.scala:81) at com.github.tototoshi.sbt.slick.CodegenPlugin$.$anonfun$projectSettings$13(CodegenPlugin.scala:156) at scala.Function1.$anonfun$compose$1(Function1.scala:49) at sbt.internal.util.$tilde$greater.$anonfun$$u2219$1(TypeFunctions.scala:62) at sbt.std.Transform$$anon$4.work(Transform.scala:67) at sbt.Execute.$anonfun$submit$2(Execute.scala:281) at sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:19) at sbt.Execute.work(Execute.scala:290) at sbt.Execute.$anonfun$submit$1(Execute.scala:281) at sbt.ConcurrentRestrictions$$anon$4.$anonfun$submitValid$1(ConcurrentRestrictions.scala:178) at sbt.CompletionService$$anon$2.call(CompletionService.scala:37) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) 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) Caused by: org.h2.jdbc.JdbcSQLException: General error: "java.lang.IllegalStateException: The file is locked: nio:/home/rohan/Documents/Programming/Scala/play-scala-isolated-slick-example/test.mv.db [1.4.196/7]" [50000-196] at org.h2.message.DbException.getJdbcSQLException(DbException.java:345) ... 40 more Caused by: java.lang.IllegalStateException: The file is locked: nio:/home/rohan/Documents/Programming/Scala/play-scala-isolated-slick-example/test.mv.db [1.4.196/7] at org.h2.mvstore.DataUtils.newIllegalStateException(DataUtils.java:765) at org.h2.mvstore.FileStore.open(FileStore.java:168) at org.h2.mvstore.MVStore.(MVStore.java:347) ... 35 more Caused by: java.nio.channels.OverlappingFileLockException at java.base/sun.nio.ch.FileLockTable.checkList(FileLockTable.java:229) at java.base/sun.nio.ch.FileLockTable.add(FileLockTable.java:123) at java.base/sun.nio.ch.FileChannelImpl.tryLock(FileChannelImpl.java:1154) at org.h2.store.fs.FileNio.tryLock(FilePathNio.java:121) at java.base/java.nio.channels.FileChannel.tryLock(FileChannel.java:1165) at org.h2.mvstore.FileStore.open(FileStore.java:165) ... 36 more 2020-05-11 15:05:17 database: flush org.h2.message.DbException: General error: "java.lang.IllegalStateException: The file is locked: nio:/home/rohan/Documents/Programming/Scala/play-scala-isolated-slick-example/test.mv.db [1.4.196/7]" [50000-196] at org.h2.message.DbException.get(DbException.java:168) at org.h2.message.DbException.convert(DbException.java:295) at org.h2.mvstore.db.MVTableEngine$1.uncaughtException(MVTableEngine.java:95) at org.h2.mvstore.MVStore.panic(MVStore.java:378) at org.h2.mvstore.MVStore.(MVStore.java:361) at org.h2.mvstore.MVStore$Builder.open(MVStore.java:2930) at org.h2.mvstore.db.MVTableEngine$Store.open(MVTableEngine.java:155) at org.h2.mvstore.db.MVTableEngine.init(MVTableEngine.java:100) at org.h2.engine.Database.getPageStore(Database.java:2476) at org.h2.engine.Database.open(Database.java:697) at org.h2.engine.Database.openDatabase(Database.java:276) at org.h2.engine.Database.(Database.java:270) at org.h2.engine.Engine.openSession(Engine.java:64) at org.h2.engine.Engine.openSession(Engine.java:176) at org.h2.engine.Engine.createSessionAndValidate(Engine.java:154) at org.h2.engine.Engine.createSession(Engine.java:137) at org.h2.engine.Engine.createSession(Engine.java:27) at org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:354) at org.h2.jdbc.JdbcConnection.(JdbcConnection.java:116) at org.h2.jdbc.JdbcConnection.(JdbcConnection.java:100) at org.h2.Driver.connect(Driver.java:69) at slick.jdbc.DriverDataSource.getConnection(DriverDataSource.scala:101) at slick.jdbc.DataSourceJdbcDataSource.createConnection(JdbcDataSource.scala:71) at com.github.tototoshi.sbt.slick.CodegenPlugin$.gen(CodegenPlugin.scala:81) at com.github.tototoshi.sbt.slick.CodegenPlugin$.$anonfun$projectSettings$13(CodegenPlugin.scala:156) at scala.Function1.$anonfun$compose$1(Function1.scala:49) at sbt.internal.util.$tilde$greater.$anonfun$$u2219$1(TypeFunctions.scala:62) at sbt.std.Transform$$anon$4.work(Transform.scala:67) at sbt.Execute.$anonfun$submit$2(Execute.scala:281) at sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:19) at sbt.Execute.work(Execute.scala:290) at sbt.Execute.$anonfun$submit$1(Execute.scala:281) at sbt.ConcurrentRestrictions$$anon$4.$anonfun$submitValid$1(ConcurrentRestrictions.scala:178) at sbt.CompletionService$$anon$2.call(CompletionService.scala:37) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) 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) Caused by: org.h2.jdbc.JdbcSQLException: General error: "java.lang.IllegalStateException: The file is locked: nio:/home/rohan/Documents/Programming/Scala/play-scala-isolated-slick-example/test.mv.db [1.4.196/7]" [50000-196] at org.h2.message.DbException.getJdbcSQLException(DbException.java:345) ... 40 more Caused by: java.lang.IllegalStateException: The file is locked: nio:/home/rohan/Documents/Programming/Scala/play-scala-isolated-slick-example/test.mv.db [1.4.196/7] at org.h2.mvstore.DataUtils.newIllegalStateException(DataUtils.java:765) at org.h2.mvstore.FileStore.open(FileStore.java:168) at org.h2.mvstore.MVStore.(MVStore.java:347) ... 35 more Caused by: java.nio.channels.OverlappingFileLockException at java.base/sun.nio.ch.FileLockTable.checkList(FileLockTable.java:229) at java.base/sun.nio.ch.FileLockTable.add(FileLockTable.java:123) at java.base/sun.nio.ch.FileChannelImpl.tryLock(FileChannelImpl.java:1154) at org.h2.store.fs.FileNio.tryLock(FilePathNio.java:121) at java.base/java.nio.channels.FileChannel.tryLock(FileChannel.java:1165) at org.h2.mvstore.FileStore.open(FileStore.java:165) ... 36 more 2020-05-11 15:05:17 database: flush org.h2.message.DbException: General error: "java.lang.IllegalStateException: The file is locked: nio:/home/rohan/Documents/Programming/Scala/play-scala-isolated-slick-example/test.mv.db [1.4.196/7]" [50000-196] at org.h2.message.DbException.get(DbException.java:168) at org.h2.message.DbException.convert(DbException.java:295) at org.h2.mvstore.db.MVTableEngine$1.uncaughtException(MVTableEngine.java:95) at org.h2.mvstore.MVStore.panic(MVStore.java:378) at org.h2.mvstore.MVStore.(MVStore.java:361) at org.h2.mvstore.MVStore$Builder.open(MVStore.java:2930) at org.h2.mvstore.db.MVTableEngine$Store.open(MVTableEngine.java:155) at org.h2.mvstore.db.MVTableEngine.init(MVTableEngine.java:100) at org.h2.engine.Database.getPageStore(Database.java:2476) at org.h2.engine.Database.open(Database.java:697) at org.h2.engine.Database.openDatabase(Database.java:276) at org.h2.engine.Database.(Database.java:270) at org.h2.engine.Engine.openSession(Engine.java:64) at org.h2.engine.Engine.openSession(Engine.java:176) at org.h2.engine.Engine.createSessionAndValidate(Engine.java:154) at org.h2.engine.Engine.createSession(Engine.java:137) at org.h2.engine.Engine.createSession(Engine.java:27) at org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:354) at org.h2.jdbc.JdbcConnection.(JdbcConnection.java:116) at org.h2.jdbc.JdbcConnection.(JdbcConnection.java:100) at org.h2.Driver.connect(Driver.java:69) at slick.jdbc.DriverDataSource.getConnection(DriverDataSource.scala:101) at slick.jdbc.DataSourceJdbcDataSource.createConnection(JdbcDataSource.scala:71) at com.github.tototoshi.sbt.slick.CodegenPlugin$.gen(CodegenPlugin.scala:81) at com.github.tototoshi.sbt.slick.CodegenPlugin$.$anonfun$projectSettings$13(CodegenPlugin.scala:156) at scala.Function1.$anonfun$compose$1(Function1.scala:49) at sbt.internal.util.$tilde$greater.$anonfun$$u2219$1(TypeFunctions.scala:62) at sbt.std.Transform$$anon$4.work(Transform.scala:67) at sbt.Execute.$anonfun$submit$2(Execute.scala:281) at sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:19) at sbt.Execute.work(Execute.scala:290) at sbt.Execute.$anonfun$submit$1(Execute.scala:281) at sbt.ConcurrentRestrictions$$anon$4.$anonfun$submitValid$1(ConcurrentRestrictions.scala:178) at sbt.CompletionService$$anon$2.call(CompletionService.scala:37) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) 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) Caused by: org.h2.jdbc.JdbcSQLException: General error: "java.lang.IllegalStateException: The file is locked: nio:/home/rohan/Documents/Programming/Scala/play-scala-isolated-slick-example/test.mv.db [1.4.196/7]" [50000-196] at org.h2.message.DbException.getJdbcSQLException(DbException.java:345) ... 40 more Caused by: java.lang.IllegalStateException: The file is locked: nio:/home/rohan/Documents/Programming/Scala/play-scala-isolated-slick-example/test.mv.db [1.4.196/7] at org.h2.mvstore.DataUtils.newIllegalStateException(DataUtils.java:765) at org.h2.mvstore.FileStore.open(FileStore.java:168) at org.h2.mvstore.MVStore.(MVStore.java:347) ... 35 more Caused by: java.nio.channels.OverlappingFileLockException at java.base/sun.nio.ch.FileLockTable.checkList(FileLockTable.java:229) at java.base/sun.nio.ch.FileLockTable.add(FileLockTable.java:123) at java.base/sun.nio.ch.FileChannelImpl.tryLock(FileChannelImpl.java:1154) at org.h2.store.fs.FileNio.tryLock(FilePathNio.java:121) at java.base/java.nio.channels.FileChannel.tryLock(FileChannel.java:1165) at org.h2.mvstore.FileStore.open(FileStore.java:165) ... 36 more 2020-05-11 15:05:21 database: flush org.h2.message.DbException: General error: "java.lang.IllegalStateException: The file is locked: nio:/home/rohan/Documents/Programming/Scala/play-scala-isolated-slick-example/test.mv.db [1.4.196/7]" [50000-196] at org.h2.message.DbException.get(DbException.java:168) at org.h2.message.DbException.convert(DbException.java:295) at org.h2.mvstore.db.MVTableEngine$1.uncaughtException(MVTableEngine.java:95) at org.h2.mvstore.MVStore.panic(MVStore.java:378) at org.h2.mvstore.MVStore.(MVStore.java:361) at org.h2.mvstore.MVStore$Builder.open(MVStore.java:2930) at org.h2.mvstore.db.MVTableEngine$Store.open(MVTableEngine.java:155) at org.h2.mvstore.db.MVTableEngine.init(MVTableEngine.java:100) at org.h2.engine.Database.getPageStore(Database.java:2476) at org.h2.engine.Database.open(Database.java:697) at org.h2.engine.Database.openDatabase(Database.java:276) at org.h2.engine.Database.(Database.java:270) at org.h2.engine.Engine.openSession(Engine.java:64) at org.h2.engine.Engine.openSession(Engine.java:176) at org.h2.engine.Engine.createSessionAndValidate(Engine.java:154) at org.h2.engine.Engine.createSession(Engine.java:137) at org.h2.engine.Engine.createSession(Engine.java:27) at org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:354) at org.h2.jdbc.JdbcConnection.(JdbcConnection.java:116) at org.h2.jdbc.JdbcConnection.(JdbcConnection.java:100) at org.h2.Driver.connect(Driver.java:69) at slick.jdbc.DriverDataSource.getConnection(DriverDataSource.scala:101) at slick.jdbc.DataSourceJdbcDataSource.createConnection(JdbcDataSource.scala:71) at com.github.tototoshi.sbt.slick.CodegenPlugin$.gen(CodegenPlugin.scala:81) at com.github.tototoshi.sbt.slick.CodegenPlugin$.$anonfun$projectSettings$13(CodegenPlugin.scala:156) at scala.Function1.$anonfun$compose$1(Function1.scala:49) at sbt.internal.util.$tilde$greater.$anonfun$$u2219$1(TypeFunctions.scala:62) at sbt.std.Transform$$anon$4.work(Transform.scala:67) at sbt.Execute.$anonfun$submit$2(Execute.scala:281) at sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:19) at sbt.Execute.work(Execute.scala:290) at sbt.Execute.$anonfun$submit$1(Execute.scala:281) at sbt.ConcurrentRestrictions$$anon$4.$anonfun$submitValid$1(ConcurrentRestrictions.scala:178) at sbt.CompletionService$$anon$2.call(CompletionService.scala:37) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) 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) Caused by: org.h2.jdbc.JdbcSQLException: General error: "java.lang.IllegalStateException: The file is locked: nio:/home/rohan/Documents/Programming/Scala/play-scala-isolated-slick-example/test.mv.db [1.4.196/7]" [50000-196] at org.h2.message.DbException.getJdbcSQLException(DbException.java:345) ... 40 more Caused by: java.lang.IllegalStateException: The file is locked: nio:/home/rohan/Documents/Programming/Scala/play-scala-isolated-slick-example/test.mv.db [1.4.196/7] at org.h2.mvstore.DataUtils.newIllegalStateException(DataUtils.java:765) at org.h2.mvstore.FileStore.open(FileStore.java:168) at org.h2.mvstore.MVStore.(MVStore.java:347) ... 35 more Caused by: java.nio.channels.OverlappingFileLockException at java.base/sun.nio.ch.FileLockTable.checkList(FileLockTable.java:229) at java.base/sun.nio.ch.FileLockTable.add(FileLockTable.java:123) at java.base/sun.nio.ch.FileChannelImpl.tryLock(FileChannelImpl.java:1154) at org.h2.store.fs.FileNio.tryLock(FilePathNio.java:121) at java.base/java.nio.channels.FileChannel.tryLock(FileChannel.java:1165) at org.h2.mvstore.FileStore.open(FileStore.java:165) ... 36 more 2020-05-11 15:06:09 database: flush org.h2.message.DbException: General error: "java.lang.IllegalStateException: The file is locked: nio:/home/rohan/Documents/Programming/Scala/play-scala-isolated-slick-example/test.mv.db [1.4.196/7]" [50000-196] at org.h2.message.DbException.get(DbException.java:168) at org.h2.message.DbException.convert(DbException.java:295) at org.h2.mvstore.db.MVTableEngine$1.uncaughtException(MVTableEngine.java:95) at org.h2.mvstore.MVStore.panic(MVStore.java:378) at org.h2.mvstore.MVStore.(MVStore.java:361) at org.h2.mvstore.MVStore$Builder.open(MVStore.java:2930) at org.h2.mvstore.db.MVTableEngine$Store.open(MVTableEngine.java:155) at org.h2.mvstore.db.MVTableEngine.init(MVTableEngine.java:100) at org.h2.engine.Database.getPageStore(Database.java:2476) at org.h2.engine.Database.open(Database.java:697) at org.h2.engine.Database.openDatabase(Database.java:276) at org.h2.engine.Database.(Database.java:270) at org.h2.engine.Engine.openSession(Engine.java:64) at org.h2.engine.Engine.openSession(Engine.java:176) at org.h2.engine.Engine.createSessionAndValidate(Engine.java:154) at org.h2.engine.Engine.createSession(Engine.java:137) at org.h2.engine.Engine.createSession(Engine.java:27) at org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:354) at org.h2.jdbc.JdbcConnection.(JdbcConnection.java:116) at org.h2.jdbc.JdbcConnection.(JdbcConnection.java:100) at org.h2.Driver.connect(Driver.java:69) at slick.jdbc.DriverDataSource.getConnection(DriverDataSource.scala:101) at slick.jdbc.DataSourceJdbcDataSource.createConnection(JdbcDataSource.scala:71) at com.github.tototoshi.sbt.slick.CodegenPlugin$.gen(CodegenPlugin.scala:81) at com.github.tototoshi.sbt.slick.CodegenPlugin$.$anonfun$projectSettings$13(CodegenPlugin.scala:156) at scala.Function1.$anonfun$compose$1(Function1.scala:49) at sbt.internal.util.$tilde$greater.$anonfun$$u2219$1(TypeFunctions.scala:62) at sbt.std.Transform$$anon$4.work(Transform.scala:67) at sbt.Execute.$anonfun$submit$2(Execute.scala:281) at sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:19) at sbt.Execute.work(Execute.scala:290) at sbt.Execute.$anonfun$submit$1(Execute.scala:281) at sbt.ConcurrentRestrictions$$anon$4.$anonfun$submitValid$1(ConcurrentRestrictions.scala:178) at sbt.CompletionService$$anon$2.call(CompletionService.scala:37) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) 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) Caused by: org.h2.jdbc.JdbcSQLException: General error: "java.lang.IllegalStateException: The file is locked: nio:/home/rohan/Documents/Programming/Scala/play-scala-isolated-slick-example/test.mv.db [1.4.196/7]" [50000-196] at org.h2.message.DbException.getJdbcSQLException(DbException.java:345) ... 40 more Caused by: java.lang.IllegalStateException: The file is locked: nio:/home/rohan/Documents/Programming/Scala/play-scala-isolated-slick-example/test.mv.db [1.4.196/7] at org.h2.mvstore.DataUtils.newIllegalStateException(DataUtils.java:765) at org.h2.mvstore.FileStore.open(FileStore.java:168) at org.h2.mvstore.MVStore.(MVStore.java:347) ... 35 more Caused by: java.nio.channels.OverlappingFileLockException at java.base/sun.nio.ch.FileLockTable.checkList(FileLockTable.java:229) at java.base/sun.nio.ch.FileLockTable.add(FileLockTable.java:123) at java.base/sun.nio.ch.FileChannelImpl.tryLock(FileChannelImpl.java:1154) at org.h2.store.fs.FileNio.tryLock(FilePathNio.java:121) at java.base/java.nio.channels.FileChannel.tryLock(FileChannel.java:1165) at org.h2.mvstore.FileStore.open(FileStore.java:165) ... 36 more 2020-05-11 15:06:35 database: flush org.h2.message.DbException: General error: "java.lang.IllegalStateException: The file is locked: nio:/home/rohan/Documents/Programming/Scala/play-scala-isolated-slick-example/test.mv.db [1.4.196/7]" [50000-196] at org.h2.message.DbException.get(DbException.java:168) at org.h2.message.DbException.convert(DbException.java:295) at org.h2.mvstore.db.MVTableEngine$1.uncaughtException(MVTableEngine.java:95) at org.h2.mvstore.MVStore.panic(MVStore.java:378) at org.h2.mvstore.MVStore.(MVStore.java:361) at org.h2.mvstore.MVStore$Builder.open(MVStore.java:2930) at org.h2.mvstore.db.MVTableEngine$Store.open(MVTableEngine.java:155) at org.h2.mvstore.db.MVTableEngine.init(MVTableEngine.java:100) at org.h2.engine.Database.getPageStore(Database.java:2476) at org.h2.engine.Database.open(Database.java:697) at org.h2.engine.Database.openDatabase(Database.java:276) at org.h2.engine.Database.(Database.java:270) at org.h2.engine.Engine.openSession(Engine.java:64) at org.h2.engine.Engine.openSession(Engine.java:176) at org.h2.engine.Engine.createSessionAndValidate(Engine.java:154) at org.h2.engine.Engine.createSession(Engine.java:137) at org.h2.engine.Engine.createSession(Engine.java:27) at org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:354) at org.h2.jdbc.JdbcConnection.(JdbcConnection.java:116) at org.h2.jdbc.JdbcConnection.(JdbcConnection.java:100) at org.h2.Driver.connect(Driver.java:69) at slick.jdbc.DriverDataSource.getConnection(DriverDataSource.scala:101) at slick.jdbc.DataSourceJdbcDataSource.createConnection(JdbcDataSource.scala:71) at com.github.tototoshi.sbt.slick.CodegenPlugin$.gen(CodegenPlugin.scala:81) at com.github.tototoshi.sbt.slick.CodegenPlugin$.$anonfun$projectSettings$13(CodegenPlugin.scala:156) at scala.Function1.$anonfun$compose$1(Function1.scala:49) at sbt.internal.util.$tilde$greater.$anonfun$$u2219$1(TypeFunctions.scala:62) at sbt.std.Transform$$anon$4.work(Transform.scala:67) at sbt.Execute.$anonfun$submit$2(Execute.scala:281) at sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:19) at sbt.Execute.work(Execute.scala:290) at sbt.Execute.$anonfun$submit$1(Execute.scala:281) at sbt.ConcurrentRestrictions$$anon$4.$anonfun$submitValid$1(ConcurrentRestrictions.scala:178) at sbt.CompletionService$$anon$2.call(CompletionService.scala:37) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) 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) Caused by: org.h2.jdbc.JdbcSQLException: General error: "java.lang.IllegalStateException: The file is locked: nio:/home/rohan/Documents/Programming/Scala/play-scala-isolated-slick-example/test.mv.db [1.4.196/7]" [50000-196] at org.h2.message.DbException.getJdbcSQLException(DbException.java:345) ... 40 more Caused by: java.lang.IllegalStateException: The file is locked: nio:/home/rohan/Documents/Programming/Scala/play-scala-isolated-slick-example/test.mv.db [1.4.196/7] at org.h2.mvstore.DataUtils.newIllegalStateException(DataUtils.java:765) at org.h2.mvstore.FileStore.open(FileStore.java:168) at org.h2.mvstore.MVStore.(MVStore.java:347) ... 35 more Caused by: java.nio.channels.OverlappingFileLockException at java.base/sun.nio.ch.FileLockTable.checkList(FileLockTable.java:229) at java.base/sun.nio.ch.FileLockTable.add(FileLockTable.java:123) at java.base/sun.nio.ch.FileChannelImpl.tryLock(FileChannelImpl.java:1154) at org.h2.store.fs.FileNio.tryLock(FilePathNio.java:121) at java.base/java.nio.channels.FileChannel.tryLock(FileChannel.java:1165) at org.h2.mvstore.FileStore.open(FileStore.java:165) ... 36 more 2020-05-11 15:06:35 database: flush org.h2.message.DbException: General error: "java.lang.IllegalStateException: The file is locked: nio:/home/rohan/Documents/Programming/Scala/play-scala-isolated-slick-example/test.mv.db [1.4.196/7]" [50000-196] at org.h2.message.DbException.get(DbException.java:168) at org.h2.message.DbException.convert(DbException.java:295) at org.h2.mvstore.db.MVTableEngine$1.uncaughtException(MVTableEngine.java:95) at org.h2.mvstore.MVStore.panic(MVStore.java:378) at org.h2.mvstore.MVStore.(MVStore.java:361) at org.h2.mvstore.MVStore$Builder.open(MVStore.java:2930) at org.h2.mvstore.db.MVTableEngine$Store.open(MVTableEngine.java:155) at org.h2.mvstore.db.MVTableEngine.init(MVTableEngine.java:100) at org.h2.engine.Database.getPageStore(Database.java:2476) at org.h2.engine.Database.open(Database.java:697) at org.h2.engine.Database.openDatabase(Database.java:276) at org.h2.engine.Database.(Database.java:270) at org.h2.engine.Engine.openSession(Engine.java:64) at org.h2.engine.Engine.openSession(Engine.java:176) at org.h2.engine.Engine.createSessionAndValidate(Engine.java:154) at org.h2.engine.Engine.createSession(Engine.java:137) at org.h2.engine.Engine.createSession(Engine.java:27) at org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:354) at org.h2.jdbc.JdbcConnection.(JdbcConnection.java:116) at org.h2.jdbc.JdbcConnection.(JdbcConnection.java:100) at org.h2.Driver.connect(Driver.java:69) at slick.jdbc.DriverDataSource.getConnection(DriverDataSource.scala:101) at slick.jdbc.DataSourceJdbcDataSource.createConnection(JdbcDataSource.scala:71) at com.github.tototoshi.sbt.slick.CodegenPlugin$.gen(CodegenPlugin.scala:81) at com.github.tototoshi.sbt.slick.CodegenPlugin$.$anonfun$projectSettings$13(CodegenPlugin.scala:156) at scala.Function1.$anonfun$compose$1(Function1.scala:49) at sbt.internal.util.$tilde$greater.$anonfun$$u2219$1(TypeFunctions.scala:62) at sbt.std.Transform$$anon$4.work(Transform.scala:67) at sbt.Execute.$anonfun$submit$2(Execute.scala:281) at sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:19) at sbt.Execute.work(Execute.scala:290) at sbt.Execute.$anonfun$submit$1(Execute.scala:281) at sbt.ConcurrentRestrictions$$anon$4.$anonfun$submitValid$1(ConcurrentRestrictions.scala:178) at sbt.CompletionService$$anon$2.call(CompletionService.scala:37) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) 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) Caused by: org.h2.jdbc.JdbcSQLException: General error: "java.lang.IllegalStateException: The file is locked: nio:/home/rohan/Documents/Programming/Scala/play-scala-isolated-slick-example/test.mv.db [1.4.196/7]" [50000-196] at org.h2.message.DbException.getJdbcSQLException(DbException.java:345) ... 40 more Caused by: java.lang.IllegalStateException: The file is locked: nio:/home/rohan/Documents/Programming/Scala/play-scala-isolated-slick-example/test.mv.db [1.4.196/7] at org.h2.mvstore.DataUtils.newIllegalStateException(DataUtils.java:765) at org.h2.mvstore.FileStore.open(FileStore.java:168) at org.h2.mvstore.MVStore.(MVStore.java:347) ... 35 more Caused by: java.nio.channels.OverlappingFileLockException at java.base/sun.nio.ch.FileLockTable.checkList(FileLockTable.java:229) at java.base/sun.nio.ch.FileLockTable.add(FileLockTable.java:123) at java.base/sun.nio.ch.FileChannelImpl.tryLock(FileChannelImpl.java:1154) at org.h2.store.fs.FileNio.tryLock(FilePathNio.java:121) at java.base/java.nio.channels.FileChannel.tryLock(FileChannel.java:1165) at org.h2.mvstore.FileStore.open(FileStore.java:165) ... 36 more 2020-05-11 15:06:39 database: flush org.h2.message.DbException: General error: "java.lang.IllegalStateException: The file is locked: nio:/home/rohan/Documents/Programming/Scala/play-scala-isolated-slick-example/test.mv.db [1.4.196/7]" [50000-196] at org.h2.message.DbException.get(DbException.java:168) at org.h2.message.DbException.convert(DbException.java:295) at org.h2.mvstore.db.MVTableEngine$1.uncaughtException(MVTableEngine.java:95) at org.h2.mvstore.MVStore.panic(MVStore.java:378) at org.h2.mvstore.MVStore.(MVStore.java:361) at org.h2.mvstore.MVStore$Builder.open(MVStore.java:2930) at org.h2.mvstore.db.MVTableEngine$Store.open(MVTableEngine.java:155) at org.h2.mvstore.db.MVTableEngine.init(MVTableEngine.java:100) at org.h2.engine.Database.getPageStore(Database.java:2476) at org.h2.engine.Database.open(Database.java:697) at org.h2.engine.Database.openDatabase(Database.java:276) at org.h2.engine.Database.(Database.java:270) at org.h2.engine.Engine.openSession(Engine.java:64) at org.h2.engine.Engine.openSession(Engine.java:176) at org.h2.engine.Engine.createSessionAndValidate(Engine.java:154) at org.h2.engine.Engine.createSession(Engine.java:137) at org.h2.engine.Engine.createSession(Engine.java:27) at org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:354) at org.h2.jdbc.JdbcConnection.(JdbcConnection.java:116) at org.h2.jdbc.JdbcConnection.(JdbcConnection.java:100) at org.h2.Driver.connect(Driver.java:69) at slick.jdbc.DriverDataSource.getConnection(DriverDataSource.scala:101) at slick.jdbc.DataSourceJdbcDataSource.createConnection(JdbcDataSource.scala:71) at com.github.tototoshi.sbt.slick.CodegenPlugin$.gen(CodegenPlugin.scala:81) at com.github.tototoshi.sbt.slick.CodegenPlugin$.$anonfun$projectSettings$13(CodegenPlugin.scala:156) at scala.Function1.$anonfun$compose$1(Function1.scala:49) at sbt.internal.util.$tilde$greater.$anonfun$$u2219$1(TypeFunctions.scala:62) at sbt.std.Transform$$anon$4.work(Transform.scala:67) at sbt.Execute.$anonfun$submit$2(Execute.scala:281) at sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:19) at sbt.Execute.work(Execute.scala:290) at sbt.Execute.$anonfun$submit$1(Execute.scala:281) at sbt.ConcurrentRestrictions$$anon$4.$anonfun$submitValid$1(ConcurrentRestrictions.scala:178) at sbt.CompletionService$$anon$2.call(CompletionService.scala:37) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) 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) Caused by: org.h2.jdbc.JdbcSQLException: General error: "java.lang.IllegalStateException: The file is locked: nio:/home/rohan/Documents/Programming/Scala/play-scala-isolated-slick-example/test.mv.db [1.4.196/7]" [50000-196] at org.h2.message.DbException.getJdbcSQLException(DbException.java:345) ... 40 more Caused by: java.lang.IllegalStateException: The file is locked: nio:/home/rohan/Documents/Programming/Scala/play-scala-isolated-slick-example/test.mv.db [1.4.196/7] at org.h2.mvstore.DataUtils.newIllegalStateException(DataUtils.java:765) at org.h2.mvstore.FileStore.open(FileStore.java:168) at org.h2.mvstore.MVStore.(MVStore.java:347) ... 35 more Caused by: java.nio.channels.OverlappingFileLockException at java.base/sun.nio.ch.FileLockTable.checkList(FileLockTable.java:229) at java.base/sun.nio.ch.FileLockTable.add(FileLockTable.java:123) at java.base/sun.nio.ch.FileChannelImpl.tryLock(FileChannelImpl.java:1154) at org.h2.store.fs.FileNio.tryLock(FilePathNio.java:121) at java.base/java.nio.channels.FileChannel.tryLock(FileChannel.java:1165) at org.h2.mvstore.FileStore.open(FileStore.java:165) ... 36 more 2020-05-11 15:06:53 database: flush org.h2.message.DbException: General error: "java.lang.IllegalStateException: The file is locked: nio:/home/rohan/Documents/Programming/Scala/play-scala-isolated-slick-example/test.mv.db [1.4.196/7]" [50000-196] at org.h2.message.DbException.get(DbException.java:168) at org.h2.message.DbException.convert(DbException.java:295) at org.h2.mvstore.db.MVTableEngine$1.uncaughtException(MVTableEngine.java:95) at org.h2.mvstore.MVStore.panic(MVStore.java:378) at org.h2.mvstore.MVStore.(MVStore.java:361) at org.h2.mvstore.MVStore$Builder.open(MVStore.java:2930) at org.h2.mvstore.db.MVTableEngine$Store.open(MVTableEngine.java:155) at org.h2.mvstore.db.MVTableEngine.init(MVTableEngine.java:100) at org.h2.engine.Database.getPageStore(Database.java:2476) at org.h2.engine.Database.open(Database.java:697) at org.h2.engine.Database.openDatabase(Database.java:276) at org.h2.engine.Database.(Database.java:270) at org.h2.engine.Engine.openSession(Engine.java:64) at org.h2.engine.Engine.openSession(Engine.java:176) at org.h2.engine.Engine.createSessionAndValidate(Engine.java:154) at org.h2.engine.Engine.createSession(Engine.java:137) at org.h2.engine.Engine.createSession(Engine.java:27) at org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:354) at org.h2.jdbc.JdbcConnection.(JdbcConnection.java:116) at org.h2.jdbc.JdbcConnection.(JdbcConnection.java:100) at org.h2.Driver.connect(Driver.java:69) at slick.jdbc.DriverDataSource.getConnection(DriverDataSource.scala:101) at slick.jdbc.DataSourceJdbcDataSource.createConnection(JdbcDataSource.scala:71) at com.github.tototoshi.sbt.slick.CodegenPlugin$.gen(CodegenPlugin.scala:81) at com.github.tototoshi.sbt.slick.CodegenPlugin$.$anonfun$projectSettings$13(CodegenPlugin.scala:156) at scala.Function1.$anonfun$compose$1(Function1.scala:49) at sbt.internal.util.$tilde$greater.$anonfun$$u2219$1(TypeFunctions.scala:62) at sbt.std.Transform$$anon$4.work(Transform.scala:67) at sbt.Execute.$anonfun$submit$2(Execute.scala:281) at sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:19) at sbt.Execute.work(Execute.scala:290) at sbt.Execute.$anonfun$submit$1(Execute.scala:281) at sbt.ConcurrentRestrictions$$anon$4.$anonfun$submitValid$1(ConcurrentRestrictions.scala:178) at sbt.CompletionService$$anon$2.call(CompletionService.scala:37) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) 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) Caused by: org.h2.jdbc.JdbcSQLException: General error: "java.lang.IllegalStateException: The file is locked: nio:/home/rohan/Documents/Programming/Scala/play-scala-isolated-slick-example/test.mv.db [1.4.196/7]" [50000-196] at org.h2.message.DbException.getJdbcSQLException(DbException.java:345) ... 40 more Caused by: java.lang.IllegalStateException: The file is locked: nio:/home/rohan/Documents/Programming/Scala/play-scala-isolated-slick-example/test.mv.db [1.4.196/7] at org.h2.mvstore.DataUtils.newIllegalStateException(DataUtils.java:765) at org.h2.mvstore.FileStore.open(FileStore.java:168) at org.h2.mvstore.MVStore.(MVStore.java:347) ... 35 more Caused by: java.nio.channels.OverlappingFileLockException at java.base/sun.nio.ch.FileLockTable.checkList(FileLockTable.java:229) at java.base/sun.nio.ch.FileLockTable.add(FileLockTable.java:123) at java.base/sun.nio.ch.FileChannelImpl.tryLock(FileChannelImpl.java:1154) at org.h2.store.fs.FileNio.tryLock(FilePathNio.java:121) at java.base/java.nio.channels.FileChannel.tryLock(FileChannel.java:1165) at org.h2.mvstore.FileStore.open(FileStore.java:165) ... 36 more 2020-05-11 15:11:21 database: flush org.h2.message.DbException: General error: "java.lang.IllegalStateException: The file is locked: nio:/home/rohan/Documents/Programming/Scala/play-scala-isolated-slick-example/test.mv.db [1.4.196/7]" [50000-196] at org.h2.message.DbException.get(DbException.java:168) at org.h2.message.DbException.convert(DbException.java:295) at org.h2.mvstore.db.MVTableEngine$1.uncaughtException(MVTableEngine.java:95) at org.h2.mvstore.MVStore.panic(MVStore.java:378) at org.h2.mvstore.MVStore.(MVStore.java:361) at org.h2.mvstore.MVStore$Builder.open(MVStore.java:2930) at org.h2.mvstore.db.MVTableEngine$Store.open(MVTableEngine.java:155) at org.h2.mvstore.db.MVTableEngine.init(MVTableEngine.java:100) at org.h2.engine.Database.getPageStore(Database.java:2476) at org.h2.engine.Database.open(Database.java:697) at org.h2.engine.Database.openDatabase(Database.java:276) at org.h2.engine.Database.(Database.java:270) at org.h2.engine.Engine.openSession(Engine.java:64) at org.h2.engine.Engine.openSession(Engine.java:176) at org.h2.engine.Engine.createSessionAndValidate(Engine.java:154) at org.h2.engine.Engine.createSession(Engine.java:137) at org.h2.engine.Engine.createSession(Engine.java:27) at org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:354) at org.h2.jdbc.JdbcConnection.(JdbcConnection.java:116) at org.h2.jdbc.JdbcConnection.(JdbcConnection.java:100) at org.h2.Driver.connect(Driver.java:69) at slick.jdbc.DriverDataSource.getConnection(DriverDataSource.scala:101) at slick.jdbc.DataSourceJdbcDataSource.createConnection(JdbcDataSource.scala:71) at com.github.tototoshi.sbt.slick.CodegenPlugin$.gen(CodegenPlugin.scala:81) at com.github.tototoshi.sbt.slick.CodegenPlugin$.$anonfun$projectSettings$13(CodegenPlugin.scala:156) at scala.Function1.$anonfun$compose$1(Function1.scala:49) at sbt.internal.util.$tilde$greater.$anonfun$$u2219$1(TypeFunctions.scala:62) at sbt.std.Transform$$anon$4.work(Transform.scala:67) at sbt.Execute.$anonfun$submit$2(Execute.scala:281) at sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:19) at sbt.Execute.work(Execute.scala:290) at sbt.Execute.$anonfun$submit$1(Execute.scala:281) at sbt.ConcurrentRestrictions$$anon$4.$anonfun$submitValid$1(ConcurrentRestrictions.scala:178) at sbt.CompletionService$$anon$2.call(CompletionService.scala:37) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) 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) Caused by: org.h2.jdbc.JdbcSQLException: General error: "java.lang.IllegalStateException: The file is locked: nio:/home/rohan/Documents/Programming/Scala/play-scala-isolated-slick-example/test.mv.db [1.4.196/7]" [50000-196] at org.h2.message.DbException.getJdbcSQLException(DbException.java:345) ... 40 more Caused by: java.lang.IllegalStateException: The file is locked: nio:/home/rohan/Documents/Programming/Scala/play-scala-isolated-slick-example/test.mv.db [1.4.196/7] at org.h2.mvstore.DataUtils.newIllegalStateException(DataUtils.java:765) at org.h2.mvstore.FileStore.open(FileStore.java:168) at org.h2.mvstore.MVStore.(MVStore.java:347) ... 35 more Caused by: java.nio.channels.OverlappingFileLockException at java.base/sun.nio.ch.FileLockTable.checkList(FileLockTable.java:229) at java.base/sun.nio.ch.FileLockTable.add(FileLockTable.java:123) at java.base/sun.nio.ch.FileChannelImpl.tryLock(FileChannelImpl.java:1154) at org.h2.store.fs.FileNio.tryLock(FilePathNio.java:121) at java.base/java.nio.channels.FileChannel.tryLock(FileChannel.java:1165) at org.h2.mvstore.FileStore.open(FileStore.java:165) ... 36 more 2020-05-11 15:11:36 database: flush org.h2.message.DbException: General error: "java.lang.IllegalStateException: The file is locked: nio:/home/rohan/Documents/Programming/Scala/play-scala-isolated-slick-example/test.mv.db [1.4.196/7]" [50000-196] at org.h2.message.DbException.get(DbException.java:168) at org.h2.message.DbException.convert(DbException.java:295) at org.h2.mvstore.db.MVTableEngine$1.uncaughtException(MVTableEngine.java:95) at org.h2.mvstore.MVStore.panic(MVStore.java:378) at org.h2.mvstore.MVStore.(MVStore.java:361) at org.h2.mvstore.MVStore$Builder.open(MVStore.java:2930) at org.h2.mvstore.db.MVTableEngine$Store.open(MVTableEngine.java:155) at org.h2.mvstore.db.MVTableEngine.init(MVTableEngine.java:100) at org.h2.engine.Database.getPageStore(Database.java:2476) at org.h2.engine.Database.open(Database.java:697) at org.h2.engine.Database.openDatabase(Database.java:276) at org.h2.engine.Database.(Database.java:270) at org.h2.engine.Engine.openSession(Engine.java:64) at org.h2.engine.Engine.openSession(Engine.java:176) at org.h2.engine.Engine.createSessionAndValidate(Engine.java:154) at org.h2.engine.Engine.createSession(Engine.java:137) at org.h2.engine.Engine.createSession(Engine.java:27) at org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:354) at org.h2.jdbc.JdbcConnection.(JdbcConnection.java:116) at org.h2.jdbc.JdbcConnection.(JdbcConnection.java:100) at org.h2.Driver.connect(Driver.java:69) at slick.jdbc.DriverDataSource.getConnection(DriverDataSource.scala:101) at slick.jdbc.DataSourceJdbcDataSource.createConnection(JdbcDataSource.scala:71) at com.github.tototoshi.sbt.slick.CodegenPlugin$.gen(CodegenPlugin.scala:81) at com.github.tototoshi.sbt.slick.CodegenPlugin$.$anonfun$projectSettings$13(CodegenPlugin.scala:156) at scala.Function1.$anonfun$compose$1(Function1.scala:49) at sbt.internal.util.$tilde$greater.$anonfun$$u2219$1(TypeFunctions.scala:62) at sbt.std.Transform$$anon$4.work(Transform.scala:67) at sbt.Execute.$anonfun$submit$2(Execute.scala:281) at sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:19) at sbt.Execute.work(Execute.scala:290) at sbt.Execute.$anonfun$submit$1(Execute.scala:281) at sbt.ConcurrentRestrictions$$anon$4.$anonfun$submitValid$1(ConcurrentRestrictions.scala:178) at sbt.CompletionService$$anon$2.call(CompletionService.scala:37) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) 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) Caused by: org.h2.jdbc.JdbcSQLException: General error: "java.lang.IllegalStateException: The file is locked: nio:/home/rohan/Documents/Programming/Scala/play-scala-isolated-slick-example/test.mv.db [1.4.196/7]" [50000-196] at org.h2.message.DbException.getJdbcSQLException(DbException.java:345) ... 40 more Caused by: java.lang.IllegalStateException: The file is locked: nio:/home/rohan/Documents/Programming/Scala/play-scala-isolated-slick-example/test.mv.db [1.4.196/7] at org.h2.mvstore.DataUtils.newIllegalStateException(DataUtils.java:765) at org.h2.mvstore.FileStore.open(FileStore.java:168) at org.h2.mvstore.MVStore.(MVStore.java:347) ... 35 more Caused by: java.nio.channels.OverlappingFileLockException at java.base/sun.nio.ch.FileLockTable.checkList(FileLockTable.java:229) at java.base/sun.nio.ch.FileLockTable.add(FileLockTable.java:123) at java.base/sun.nio.ch.FileChannelImpl.tryLock(FileChannelImpl.java:1154) at org.h2.store.fs.FileNio.tryLock(FilePathNio.java:121) at java.base/java.nio.channels.FileChannel.tryLock(FileChannel.java:1165) at org.h2.mvstore.FileStore.open(FileStore.java:165) ... 36 more 2020-05-11 15:11:36 database: flush org.h2.message.DbException: General error: "java.lang.IllegalStateException: The file is locked: nio:/home/rohan/Documents/Programming/Scala/play-scala-isolated-slick-example/test.mv.db [1.4.196/7]" [50000-196] at org.h2.message.DbException.get(DbException.java:168) at org.h2.message.DbException.convert(DbException.java:295) at org.h2.mvstore.db.MVTableEngine$1.uncaughtException(MVTableEngine.java:95) at org.h2.mvstore.MVStore.panic(MVStore.java:378) at org.h2.mvstore.MVStore.(MVStore.java:361) at org.h2.mvstore.MVStore$Builder.open(MVStore.java:2930) at org.h2.mvstore.db.MVTableEngine$Store.open(MVTableEngine.java:155) at org.h2.mvstore.db.MVTableEngine.init(MVTableEngine.java:100) at org.h2.engine.Database.getPageStore(Database.java:2476) at org.h2.engine.Database.open(Database.java:697) at org.h2.engine.Database.openDatabase(Database.java:276) at org.h2.engine.Database.(Database.java:270) at org.h2.engine.Engine.openSession(Engine.java:64) at org.h2.engine.Engine.openSession(Engine.java:176) at org.h2.engine.Engine.createSessionAndValidate(Engine.java:154) at org.h2.engine.Engine.createSession(Engine.java:137) at org.h2.engine.Engine.createSession(Engine.java:27) at org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:354) at org.h2.jdbc.JdbcConnection.(JdbcConnection.java:116) at org.h2.jdbc.JdbcConnection.(JdbcConnection.java:100) at org.h2.Driver.connect(Driver.java:69) at slick.jdbc.DriverDataSource.getConnection(DriverDataSource.scala:101) at slick.jdbc.DataSourceJdbcDataSource.createConnection(JdbcDataSource.scala:71) at com.github.tototoshi.sbt.slick.CodegenPlugin$.gen(CodegenPlugin.scala:81) at com.github.tototoshi.sbt.slick.CodegenPlugin$.$anonfun$projectSettings$13(CodegenPlugin.scala:156) at scala.Function1.$anonfun$compose$1(Function1.scala:49) at sbt.internal.util.$tilde$greater.$anonfun$$u2219$1(TypeFunctions.scala:62) at sbt.std.Transform$$anon$4.work(Transform.scala:67) at sbt.Execute.$anonfun$submit$2(Execute.scala:281) at sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:19) at sbt.Execute.work(Execute.scala:290) at sbt.Execute.$anonfun$submit$1(Execute.scala:281) at sbt.ConcurrentRestrictions$$anon$4.$anonfun$submitValid$1(ConcurrentRestrictions.scala:178) at sbt.CompletionService$$anon$2.call(CompletionService.scala:37) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) 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) Caused by: org.h2.jdbc.JdbcSQLException: General error: "java.lang.IllegalStateException: The file is locked: nio:/home/rohan/Documents/Programming/Scala/play-scala-isolated-slick-example/test.mv.db [1.4.196/7]" [50000-196] at org.h2.message.DbException.getJdbcSQLException(DbException.java:345) ... 40 more Caused by: java.lang.IllegalStateException: The file is locked: nio:/home/rohan/Documents/Programming/Scala/play-scala-isolated-slick-example/test.mv.db [1.4.196/7] at org.h2.mvstore.DataUtils.newIllegalStateException(DataUtils.java:765) at org.h2.mvstore.FileStore.open(FileStore.java:168) at org.h2.mvstore.MVStore.(MVStore.java:347) ... 35 more Caused by: java.nio.channels.OverlappingFileLockException at java.base/sun.nio.ch.FileLockTable.checkList(FileLockTable.java:229) at java.base/sun.nio.ch.FileLockTable.add(FileLockTable.java:123) at java.base/sun.nio.ch.FileChannelImpl.tryLock(FileChannelImpl.java:1154) at org.h2.store.fs.FileNio.tryLock(FilePathNio.java:121) at java.base/java.nio.channels.FileChannel.tryLock(FileChannel.java:1165) at org.h2.mvstore.FileStore.open(FileStore.java:165) ... 36 more 2020-05-12 12:19:32 jdbc[4]: exception org.h2.jdbc.JdbcSQLException: Column "Jane Austen" not found; SQL statement: INSERT INTO authors (name) VALUES ("Jane Austen") [42122-196] at org.h2.message.DbException.getJdbcSQLException(DbException.java:345) at org.h2.message.DbException.get(DbException.java:179) at org.h2.message.DbException.get(DbException.java:155) at org.h2.expression.ExpressionColumn.optimize(ExpressionColumn.java:147) at org.h2.command.dml.Insert.prepare(Insert.java:270) at org.h2.command.Parser.prepareCommand(Parser.java:263) at org.h2.engine.Session.prepareLocal(Session.java:578) at org.h2.engine.Session.prepareCommand(Session.java:519) at org.h2.jdbc.JdbcConnection.prepareCommand(JdbcConnection.java:1204) at org.h2.jdbc.JdbcStatement.executeInternal(JdbcStatement.java:176) at org.h2.jdbc.JdbcStatement.execute(JdbcStatement.java:164) at org.flywaydb.core.internal.jdbc.JdbcTemplate.executeStatement(JdbcTemplate.java:244) at org.flywaydb.core.internal.sqlscript.ParsedSqlStatement.execute(ParsedSqlStatement.java:111) at org.flywaydb.core.internal.sqlscript.DefaultSqlScriptExecutor.executeStatement(DefaultSqlScriptExecutor.java:208) at org.flywaydb.core.internal.sqlscript.DefaultSqlScriptExecutor.execute(DefaultSqlScriptExecutor.java:127) at org.flywaydb.core.internal.resolver.sql.SqlMigrationExecutor.executeOnce(SqlMigrationExecutor.java:88) at org.flywaydb.core.internal.resolver.sql.SqlMigrationExecutor.access$000(SqlMigrationExecutor.java:33) at org.flywaydb.core.internal.resolver.sql.SqlMigrationExecutor$1.call(SqlMigrationExecutor.java:77) at org.flywaydb.core.internal.resolver.sql.SqlMigrationExecutor$1.call(SqlMigrationExecutor.java:74) at org.flywaydb.core.internal.database.DefaultExecutionStrategy.execute(DefaultExecutionStrategy.java:28) at org.flywaydb.core.internal.resolver.sql.SqlMigrationExecutor.execute(SqlMigrationExecutor.java:74) at org.flywaydb.core.internal.command.DbMigrate.doMigrateGroup(DbMigrate.java:366) at org.flywaydb.core.internal.command.DbMigrate.access$200(DbMigrate.java:54) at org.flywaydb.core.internal.command.DbMigrate$3.call(DbMigrate.java:282) at org.flywaydb.core.internal.jdbc.TransactionTemplate.execute(TransactionTemplate.java:95) at org.flywaydb.core.internal.command.DbMigrate.applyMigrations(DbMigrate.java:279) at org.flywaydb.core.internal.command.DbMigrate.migrateGroup(DbMigrate.java:244) at org.flywaydb.core.internal.command.DbMigrate.access$100(DbMigrate.java:54) at org.flywaydb.core.internal.command.DbMigrate$2.call(DbMigrate.java:162) at org.flywaydb.core.internal.command.DbMigrate$2.call(DbMigrate.java:159) at org.flywaydb.core.internal.database.base.Connection$1.call(Connection.java:131) at org.flywaydb.core.internal.jdbc.TransactionTemplate.execute(TransactionTemplate.java:95) at org.flywaydb.core.internal.database.base.Connection.lock(Connection.java:127) at org.flywaydb.core.internal.schemahistory.JdbcTableSchemaHistory.lock(JdbcTableSchemaHistory.java:139) at org.flywaydb.core.internal.command.DbMigrate.migrateAll(DbMigrate.java:159) at org.flywaydb.core.internal.command.DbMigrate.migrate(DbMigrate.java:137) at org.flywaydb.core.Flyway$1.execute(Flyway.java:193) at org.flywaydb.core.Flyway$1.execute(Flyway.java:153) at org.flywaydb.core.Flyway.execute(Flyway.java:521) at org.flywaydb.core.Flyway.migrate(Flyway.java:153) at io.github.davidmweber.FlywayPlugin$.$anonfun$flywayBaseSettings$47(FlywayPlugin.scala:190) at io.github.davidmweber.FlywayPlugin$.$anonfun$flywayBaseSettings$47$adapted(FlywayPlugin.scala:190) at scala.Function1.$anonfun$compose$1(Function1.scala:49) at sbt.internal.util.$tilde$greater.$anonfun$$u2219$1(TypeFunctions.scala:62) at sbt.std.Transform$$anon$4.work(Transform.scala:67) at sbt.Execute.$anonfun$submit$2(Execute.scala:281) at sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:19) at sbt.Execute.work(Execute.scala:290) at sbt.Execute.$anonfun$submit$1(Execute.scala:281) at sbt.ConcurrentRestrictions$$anon$4.$anonfun$submitValid$1(ConcurrentRestrictions.scala:178) at sbt.CompletionService$$anon$2.call(CompletionService.scala:37) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) 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) 2020-05-12 12:22:14 jdbc[4]: exception org.h2.jdbc.JdbcSQLException: Syntax error in SQL statement " CREATE TABLE AUTHORS ( ID INTEGER PRIMARY KEY NOT NULL AUTO_INCREMENT[*], NAME VARCHAR(15) ) "; expected "CHECK, REFERENCES, ,, )"; SQL statement: -- class Books(tag: Tag) extends Table[Book](tag, "book") { -- def id = column[Long]("id", O.PrimaryKey, O.AutoInc) -- def title = column[String]("first") -- def authorId = column[Long]("author_id") -- def * = (id.?, title, authorId) <> (Book.tupled, Book.unapply) -- } -- class Authors(tag: Tag) extends Table[Author](tag, "author") { -- def id = column[Long]("id", O.PrimaryKey, O.AutoInc) -- def name = column[String]("name") -- def * = (id.?, name) <> (Author.tupled, Author.unapply) -- } create table authors ( id INTEGER PRIMARY KEY NOT NULL AUTO_INCREMENT, name VARCHAR(15) ) [42001-196] 2020-05-12 12:26:39 jdbc[4]: exception org.h2.jdbc.JdbcSQLException: Syntax error in SQL statement " CREATE TABLE AUTHORS ( ID INTEGER PRIMARY KEY NOT NULL AUTO_INCREMENT[*], NAME VARCHAR(15) ) "; expected "CHECK, REFERENCES, ,, )"; SQL statement: -- class Books(tag: Tag) extends Table[Book](tag, "book") { -- def id = column[Long]("id", O.PrimaryKey, O.AutoInc) -- def title = column[String]("first") -- def authorId = column[Long]("author_id") -- def * = (id.?, title, authorId) <> (Book.tupled, Book.unapply) -- } -- class Authors(tag: Tag) extends Table[Author](tag, "author") { -- def id = column[Long]("id", O.PrimaryKey, O.AutoInc) -- def name = column[String]("name") -- def * = (id.?, name) <> (Author.tupled, Author.unapply) -- } create table authors ( id INTEGER PRIMARY KEY NOT NULL AUTO_INCREMENT, name VARCHAR(15) ) [42001-196] 2020-05-12 12:27:42 jdbc[4]: exception org.h2.jdbc.JdbcSQLException: Syntax error in SQL statement " CREATE TABLE AUTHORS ( ID INTEGER PRIMARY KEY NOT NULL AUTO_INCREMENT[*], NAME VARCHAR(15) ) "; expected "CHECK, REFERENCES, ,, )"; SQL statement: -- class Books(tag: Tag) extends Table[Book](tag, "book") { -- def id = column[Long]("id", O.PrimaryKey, O.AutoInc) -- def title = column[String]("first") -- def authorId = column[Long]("author_id") -- def * = (id.?, title, authorId) <> (Book.tupled, Book.unapply) -- } -- class Authors(tag: Tag) extends Table[Author](tag, "author") { -- def id = column[Long]("id", O.PrimaryKey, O.AutoInc) -- def name = column[String]("name") -- def * = (id.?, name) <> (Author.tupled, Author.unapply) -- } create table authors ( id INTEGER PRIMARY KEY NOT NULL AUTO_INCREMENT, name VARCHAR(15) ) [42001-196] 2020-05-12 12:28:32 jdbc[4]: exception org.h2.jdbc.JdbcSQLException: Syntax error in SQL statement " CREATE TABLE AUTHORS ( ID INTEGER PRIMARY KEY NOT NULL AUTO_INCREMENT[*], NAME VARCHAR(15) ) "; expected "CHECK, REFERENCES, ,, )"; SQL statement: -- class Books(tag: Tag) extends Table[Book](tag, "book") { -- def id = column[Long]("id", O.PrimaryKey, O.AutoInc) -- def title = column[String]("first") -- def authorId = column[Long]("author_id") -- def * = (id.?, title, authorId) <> (Book.tupled, Book.unapply) -- } -- class Authors(tag: Tag) extends Table[Author](tag, "author") { -- def id = column[Long]("id", O.PrimaryKey, O.AutoInc) -- def name = column[String]("name") -- def * = (id.?, name) <> (Author.tupled, Author.unapply) -- } create table authors ( id INTEGER PRIMARY KEY NOT NULL AUTO_INCREMENT, name VARCHAR(15) ) [42001-196] 2020-05-12 12:29:46 jdbc[4]: exception org.h2.jdbc.JdbcSQLException: Syntax error in SQL statement "CREATE TABLE AUTHORS ( ID INTEGER PRIMARY KEY NOT NULL AUTO_INCREMENT[*], NAME VARCHAR(15) ) "; expected "CHECK, REFERENCES, ,, )"; SQL statement: create table authors ( id INTEGER PRIMARY KEY NOT NULL AUTO_INCREMENT, name VARCHAR(15) ) [42001-196] 2020-05-12 12:34:11 jdbc[4]: exception org.h2.jdbc.JdbcSQLException: Syntax error in SQL statement "CREATE TABLE AUTHORS ( ID INTEGER PRIMARY KEY NOT NULL AUTO_INCREMENT[*], NAME VARCHAR(15) ) "; expected "CHECK, REFERENCES, ,, )"; SQL statement: create table authors ( id INTEGER PRIMARY KEY NOT NULL AUTO_INCREMENT, name VARCHAR(15) ) [42001-196] 2020-05-12 12:34:59 jdbc[4]: exception org.h2.jdbc.JdbcSQLException: Syntax error in SQL statement "CREATE TABLE AUTHORS ( ID INTEGER PRIMARY KEY NOT NULL AUTO_INCREMENT[*], NAME VARCHAR(15) ) "; expected "CHECK, REFERENCES, ,, )"; SQL statement: create table authors ( id INTEGER PRIMARY KEY NOT NULL AUTO_INCREMENT, name VARCHAR(15) ) [42001-196] 2020-05-12 12:36:22 jdbc[4]: exception org.h2.jdbc.JdbcSQLException: Column "Jane Austen" not found; SQL statement: INSERT INTO authors (name) VALUES ("Jane Austen") [42122-196] at org.h2.message.DbException.getJdbcSQLException(DbException.java:345) at org.h2.message.DbException.get(DbException.java:179) at org.h2.message.DbException.get(DbException.java:155) at org.h2.expression.ExpressionColumn.optimize(ExpressionColumn.java:147) at org.h2.command.dml.Insert.prepare(Insert.java:270) at org.h2.command.Parser.prepareCommand(Parser.java:263) at org.h2.engine.Session.prepareLocal(Session.java:578) at org.h2.engine.Session.prepareCommand(Session.java:519) at org.h2.jdbc.JdbcConnection.prepareCommand(JdbcConnection.java:1204) at org.h2.jdbc.JdbcStatement.executeInternal(JdbcStatement.java:176) at org.h2.jdbc.JdbcStatement.execute(JdbcStatement.java:164) at org.flywaydb.core.internal.jdbc.JdbcTemplate.executeStatement(JdbcTemplate.java:244) at org.flywaydb.core.internal.sqlscript.ParsedSqlStatement.execute(ParsedSqlStatement.java:111) at org.flywaydb.core.internal.sqlscript.DefaultSqlScriptExecutor.executeStatement(DefaultSqlScriptExecutor.java:208) at org.flywaydb.core.internal.sqlscript.DefaultSqlScriptExecutor.execute(DefaultSqlScriptExecutor.java:127) at org.flywaydb.core.internal.resolver.sql.SqlMigrationExecutor.executeOnce(SqlMigrationExecutor.java:88) at org.flywaydb.core.internal.resolver.sql.SqlMigrationExecutor.access$000(SqlMigrationExecutor.java:33) at org.flywaydb.core.internal.resolver.sql.SqlMigrationExecutor$1.call(SqlMigrationExecutor.java:77) at org.flywaydb.core.internal.resolver.sql.SqlMigrationExecutor$1.call(SqlMigrationExecutor.java:74) at org.flywaydb.core.internal.database.DefaultExecutionStrategy.execute(DefaultExecutionStrategy.java:28) at org.flywaydb.core.internal.resolver.sql.SqlMigrationExecutor.execute(SqlMigrationExecutor.java:74) at org.flywaydb.core.internal.command.DbMigrate.doMigrateGroup(DbMigrate.java:366) at org.flywaydb.core.internal.command.DbMigrate.access$200(DbMigrate.java:54) at org.flywaydb.core.internal.command.DbMigrate$3.call(DbMigrate.java:282) at org.flywaydb.core.internal.jdbc.TransactionTemplate.execute(TransactionTemplate.java:95) at org.flywaydb.core.internal.command.DbMigrate.applyMigrations(DbMigrate.java:279) at org.flywaydb.core.internal.command.DbMigrate.migrateGroup(DbMigrate.java:244) at org.flywaydb.core.internal.command.DbMigrate.access$100(DbMigrate.java:54) at org.flywaydb.core.internal.command.DbMigrate$2.call(DbMigrate.java:162) at org.flywaydb.core.internal.command.DbMigrate$2.call(DbMigrate.java:159) at org.flywaydb.core.internal.database.base.Connection$1.call(Connection.java:131) at org.flywaydb.core.internal.jdbc.TransactionTemplate.execute(TransactionTemplate.java:95) at org.flywaydb.core.internal.database.base.Connection.lock(Connection.java:127) at org.flywaydb.core.internal.schemahistory.JdbcTableSchemaHistory.lock(JdbcTableSchemaHistory.java:139) at org.flywaydb.core.internal.command.DbMigrate.migrateAll(DbMigrate.java:159) at org.flywaydb.core.internal.command.DbMigrate.migrate(DbMigrate.java:137) at org.flywaydb.core.Flyway$1.execute(Flyway.java:193) at org.flywaydb.core.Flyway$1.execute(Flyway.java:153) at org.flywaydb.core.Flyway.execute(Flyway.java:521) at org.flywaydb.core.Flyway.migrate(Flyway.java:153) at io.github.davidmweber.FlywayPlugin$.$anonfun$flywayBaseSettings$47(FlywayPlugin.scala:190) at io.github.davidmweber.FlywayPlugin$.$anonfun$flywayBaseSettings$47$adapted(FlywayPlugin.scala:190) at scala.Function1.$anonfun$compose$1(Function1.scala:49) at sbt.internal.util.$tilde$greater.$anonfun$$u2219$1(TypeFunctions.scala:62) at sbt.std.Transform$$anon$4.work(Transform.scala:67) at sbt.Execute.$anonfun$submit$2(Execute.scala:281) at sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:19) at sbt.Execute.work(Execute.scala:290) at sbt.Execute.$anonfun$submit$1(Execute.scala:281) at sbt.ConcurrentRestrictions$$anon$4.$anonfun$submitValid$1(ConcurrentRestrictions.scala:178) at sbt.CompletionService$$anon$2.call(CompletionService.scala:37) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) 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) 2020-05-12 12:58:59 jdbc[4]: exception org.h2.jdbc.JdbcSQLException: Attempt to define a second primary key; SQL statement: create table books ( id IDENTITY PRIMARY KEY NOT NULL , title VARCHAR(50) NOT NULL, author_id IDENTITY NOT NULL, FOREIGN KEY(author_id) REFERENCES authors(id) ) [90017-196] at org.h2.message.DbException.getJdbcSQLException(DbException.java:345) at org.h2.message.DbException.get(DbException.java:179) at org.h2.message.DbException.get(DbException.java:155) at org.h2.message.DbException.get(DbException.java:144) at org.h2.command.ddl.CreateTable.setPrimaryKeyColumns(CreateTable.java:284) at org.h2.command.ddl.CreateTable.addConstraintCommand(CreateTable.java:86) at org.h2.command.Parser.parseCreateTable(Parser.java:6165) at org.h2.command.Parser.parseCreate(Parser.java:4351) at org.h2.command.Parser.parsePrepared(Parser.java:366) at org.h2.command.Parser.parse(Parser.java:321) at org.h2.command.Parser.parse(Parser.java:293) at org.h2.command.Parser.prepareCommand(Parser.java:258) at org.h2.engine.Session.prepareLocal(Session.java:578) at org.h2.engine.Session.prepareCommand(Session.java:519) at org.h2.jdbc.JdbcConnection.prepareCommand(JdbcConnection.java:1204) at org.h2.jdbc.JdbcStatement.executeInternal(JdbcStatement.java:176) at org.h2.jdbc.JdbcStatement.execute(JdbcStatement.java:164) at org.flywaydb.core.internal.jdbc.JdbcTemplate.executeStatement(JdbcTemplate.java:244) at org.flywaydb.core.internal.sqlscript.ParsedSqlStatement.execute(ParsedSqlStatement.java:111) at org.flywaydb.core.internal.sqlscript.DefaultSqlScriptExecutor.executeStatement(DefaultSqlScriptExecutor.java:208) at org.flywaydb.core.internal.sqlscript.DefaultSqlScriptExecutor.execute(DefaultSqlScriptExecutor.java:127) at org.flywaydb.core.internal.resolver.sql.SqlMigrationExecutor.executeOnce(SqlMigrationExecutor.java:88) at org.flywaydb.core.internal.resolver.sql.SqlMigrationExecutor.access$000(SqlMigrationExecutor.java:33) at org.flywaydb.core.internal.resolver.sql.SqlMigrationExecutor$1.call(SqlMigrationExecutor.java:77) at org.flywaydb.core.internal.resolver.sql.SqlMigrationExecutor$1.call(SqlMigrationExecutor.java:74) at org.flywaydb.core.internal.database.DefaultExecutionStrategy.execute(DefaultExecutionStrategy.java:28) at org.flywaydb.core.internal.resolver.sql.SqlMigrationExecutor.execute(SqlMigrationExecutor.java:74) at org.flywaydb.core.internal.command.DbMigrate.doMigrateGroup(DbMigrate.java:366) at org.flywaydb.core.internal.command.DbMigrate.access$200(DbMigrate.java:54) at org.flywaydb.core.internal.command.DbMigrate$3.call(DbMigrate.java:282) at org.flywaydb.core.internal.jdbc.TransactionTemplate.execute(TransactionTemplate.java:95) at org.flywaydb.core.internal.command.DbMigrate.applyMigrations(DbMigrate.java:279) at org.flywaydb.core.internal.command.DbMigrate.migrateGroup(DbMigrate.java:244) at org.flywaydb.core.internal.command.DbMigrate.access$100(DbMigrate.java:54) at org.flywaydb.core.internal.command.DbMigrate$2.call(DbMigrate.java:162) at org.flywaydb.core.internal.command.DbMigrate$2.call(DbMigrate.java:159) at org.flywaydb.core.internal.database.base.Connection$1.call(Connection.java:131) at org.flywaydb.core.internal.jdbc.TransactionTemplate.execute(TransactionTemplate.java:95) at org.flywaydb.core.internal.database.base.Connection.lock(Connection.java:127) at org.flywaydb.core.internal.schemahistory.JdbcTableSchemaHistory.lock(JdbcTableSchemaHistory.java:139) at org.flywaydb.core.internal.command.DbMigrate.migrateAll(DbMigrate.java:159) at org.flywaydb.core.internal.command.DbMigrate.migrate(DbMigrate.java:137) at org.flywaydb.core.Flyway$1.execute(Flyway.java:193) at org.flywaydb.core.Flyway$1.execute(Flyway.java:153) at org.flywaydb.core.Flyway.execute(Flyway.java:521) at org.flywaydb.core.Flyway.migrate(Flyway.java:153) at io.github.davidmweber.FlywayPlugin$.$anonfun$flywayBaseSettings$47(FlywayPlugin.scala:190) at io.github.davidmweber.FlywayPlugin$.$anonfun$flywayBaseSettings$47$adapted(FlywayPlugin.scala:190) at scala.Function1.$anonfun$compose$1(Function1.scala:49) at sbt.internal.util.$tilde$greater.$anonfun$$u2219$1(TypeFunctions.scala:62) at sbt.std.Transform$$anon$4.work(Transform.scala:67) at sbt.Execute.$anonfun$submit$2(Execute.scala:281) at sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:19) at sbt.Execute.work(Execute.scala:290) at sbt.Execute.$anonfun$submit$1(Execute.scala:281) at sbt.ConcurrentRestrictions$$anon$4.$anonfun$submitValid$1(ConcurrentRestrictions.scala:178) at sbt.CompletionService$$anon$2.call(CompletionService.scala:37) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) 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) 2020-05-12 21:29:08 database: flush org.h2.message.DbException: General error: "java.lang.IllegalStateException: The file is locked: nio:/home/rohan/Documents/Programming/Scala/play-scala-isolated-slick-example/test.mv.db [1.4.196/7]" [50000-196] at org.h2.message.DbException.get(DbException.java:168) at org.h2.message.DbException.convert(DbException.java:295) at org.h2.mvstore.db.MVTableEngine$1.uncaughtException(MVTableEngine.java:95) at org.h2.mvstore.MVStore.panic(MVStore.java:378) at org.h2.mvstore.MVStore.(MVStore.java:361) at org.h2.mvstore.MVStore$Builder.open(MVStore.java:2930) at org.h2.mvstore.db.MVTableEngine$Store.open(MVTableEngine.java:155) at org.h2.mvstore.db.MVTableEngine.init(MVTableEngine.java:100) at org.h2.engine.Database.getPageStore(Database.java:2476) at org.h2.engine.Database.open(Database.java:697) at org.h2.engine.Database.openDatabase(Database.java:276) at org.h2.engine.Database.(Database.java:270) at org.h2.engine.Engine.openSession(Engine.java:64) at org.h2.engine.Engine.openSession(Engine.java:176) at org.h2.engine.Engine.createSessionAndValidate(Engine.java:154) at org.h2.engine.Engine.createSession(Engine.java:137) at org.h2.engine.Engine.createSession(Engine.java:27) at org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:354) at org.h2.jdbc.JdbcConnection.(JdbcConnection.java:116) at org.h2.jdbc.JdbcConnection.(JdbcConnection.java:100) at org.h2.Driver.connect(Driver.java:69) at slick.jdbc.DriverDataSource.getConnection(DriverDataSource.scala:101) at slick.jdbc.DataSourceJdbcDataSource.createConnection(JdbcDataSource.scala:71) at com.github.tototoshi.sbt.slick.CodegenPlugin$.gen(CodegenPlugin.scala:81) at com.github.tototoshi.sbt.slick.CodegenPlugin$.$anonfun$projectSettings$13(CodegenPlugin.scala:156) at scala.Function1.$anonfun$compose$1(Function1.scala:49) at sbt.internal.util.$tilde$greater.$anonfun$$u2219$1(TypeFunctions.scala:62) at sbt.std.Transform$$anon$4.work(Transform.scala:67) at sbt.Execute.$anonfun$submit$2(Execute.scala:281) at sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:19) at sbt.Execute.work(Execute.scala:290) at sbt.Execute.$anonfun$submit$1(Execute.scala:281) at sbt.ConcurrentRestrictions$$anon$4.$anonfun$submitValid$1(ConcurrentRestrictions.scala:178) at sbt.CompletionService$$anon$2.call(CompletionService.scala:37) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) 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) Caused by: org.h2.jdbc.JdbcSQLException: General error: "java.lang.IllegalStateException: The file is locked: nio:/home/rohan/Documents/Programming/Scala/play-scala-isolated-slick-example/test.mv.db [1.4.196/7]" [50000-196] at org.h2.message.DbException.getJdbcSQLException(DbException.java:345) ... 40 more Caused by: java.lang.IllegalStateException: The file is locked: nio:/home/rohan/Documents/Programming/Scala/play-scala-isolated-slick-example/test.mv.db [1.4.196/7] at org.h2.mvstore.DataUtils.newIllegalStateException(DataUtils.java:765) at org.h2.mvstore.FileStore.open(FileStore.java:168) at org.h2.mvstore.MVStore.(MVStore.java:347) ... 35 more Caused by: java.nio.channels.OverlappingFileLockException at java.base/sun.nio.ch.FileLockTable.checkList(FileLockTable.java:229) at java.base/sun.nio.ch.FileLockTable.add(FileLockTable.java:123) at java.base/sun.nio.ch.FileChannelImpl.tryLock(FileChannelImpl.java:1154) at org.h2.store.fs.FileNio.tryLock(FilePathNio.java:121) at java.base/java.nio.channels.FileChannel.tryLock(FileChannel.java:1165) at org.h2.mvstore.FileStore.open(FileStore.java:165) ... 36 more 2020-05-12 21:29:12 database: flush org.h2.message.DbException: General error: "java.lang.IllegalStateException: The file is locked: nio:/home/rohan/Documents/Programming/Scala/play-scala-isolated-slick-example/test.mv.db [1.4.196/7]" [50000-196] at org.h2.message.DbException.get(DbException.java:168) at org.h2.message.DbException.convert(DbException.java:295) at org.h2.mvstore.db.MVTableEngine$1.uncaughtException(MVTableEngine.java:95) at org.h2.mvstore.MVStore.panic(MVStore.java:378) at org.h2.mvstore.MVStore.(MVStore.java:361) at org.h2.mvstore.MVStore$Builder.open(MVStore.java:2930) at org.h2.mvstore.db.MVTableEngine$Store.open(MVTableEngine.java:155) at org.h2.mvstore.db.MVTableEngine.init(MVTableEngine.java:100) at org.h2.engine.Database.getPageStore(Database.java:2476) at org.h2.engine.Database.open(Database.java:697) at org.h2.engine.Database.openDatabase(Database.java:276) at org.h2.engine.Database.(Database.java:270) at org.h2.engine.Engine.openSession(Engine.java:64) at org.h2.engine.Engine.openSession(Engine.java:176) at org.h2.engine.Engine.createSessionAndValidate(Engine.java:154) at org.h2.engine.Engine.createSession(Engine.java:137) at org.h2.engine.Engine.createSession(Engine.java:27) at org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:354) at org.h2.jdbc.JdbcConnection.(JdbcConnection.java:116) at org.h2.jdbc.JdbcConnection.(JdbcConnection.java:100) at org.h2.Driver.connect(Driver.java:69) at slick.jdbc.DriverDataSource.getConnection(DriverDataSource.scala:101) at slick.jdbc.DataSourceJdbcDataSource.createConnection(JdbcDataSource.scala:71) at com.github.tototoshi.sbt.slick.CodegenPlugin$.gen(CodegenPlugin.scala:81) at com.github.tototoshi.sbt.slick.CodegenPlugin$.$anonfun$projectSettings$13(CodegenPlugin.scala:156) at scala.Function1.$anonfun$compose$1(Function1.scala:49) at sbt.internal.util.$tilde$greater.$anonfun$$u2219$1(TypeFunctions.scala:62) at sbt.std.Transform$$anon$4.work(Transform.scala:67) at sbt.Execute.$anonfun$submit$2(Execute.scala:281) at sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:19) at sbt.Execute.work(Execute.scala:290) at sbt.Execute.$anonfun$submit$1(Execute.scala:281) at sbt.ConcurrentRestrictions$$anon$4.$anonfun$submitValid$1(ConcurrentRestrictions.scala:178) at sbt.CompletionService$$anon$2.call(CompletionService.scala:37) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) 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) Caused by: org.h2.jdbc.JdbcSQLException: General error: "java.lang.IllegalStateException: The file is locked: nio:/home/rohan/Documents/Programming/Scala/play-scala-isolated-slick-example/test.mv.db [1.4.196/7]" [50000-196] at org.h2.message.DbException.getJdbcSQLException(DbException.java:345) ... 40 more Caused by: java.lang.IllegalStateException: The file is locked: nio:/home/rohan/Documents/Programming/Scala/play-scala-isolated-slick-example/test.mv.db [1.4.196/7] at org.h2.mvstore.DataUtils.newIllegalStateException(DataUtils.java:765) at org.h2.mvstore.FileStore.open(FileStore.java:168) at org.h2.mvstore.MVStore.(MVStore.java:347) ... 35 more Caused by: java.nio.channels.OverlappingFileLockException at java.base/sun.nio.ch.FileLockTable.checkList(FileLockTable.java:229) at java.base/sun.nio.ch.FileLockTable.add(FileLockTable.java:123) at java.base/sun.nio.ch.FileChannelImpl.tryLock(FileChannelImpl.java:1154) at org.h2.store.fs.FileNio.tryLock(FilePathNio.java:121) at java.base/java.nio.channels.FileChannel.tryLock(FileChannel.java:1165) at org.h2.mvstore.FileStore.open(FileStore.java:165) ... 36 more 2020-05-12 21:29:17 database: flush org.h2.message.DbException: General error: "java.lang.IllegalStateException: The file is locked: nio:/home/rohan/Documents/Programming/Scala/play-scala-isolated-slick-example/test.mv.db [1.4.196/7]" [50000-196] at org.h2.message.DbException.get(DbException.java:168) at org.h2.message.DbException.convert(DbException.java:295) at org.h2.mvstore.db.MVTableEngine$1.uncaughtException(MVTableEngine.java:95) at org.h2.mvstore.MVStore.panic(MVStore.java:378) at org.h2.mvstore.MVStore.(MVStore.java:361) at org.h2.mvstore.MVStore$Builder.open(MVStore.java:2930) at org.h2.mvstore.db.MVTableEngine$Store.open(MVTableEngine.java:155) at org.h2.mvstore.db.MVTableEngine.init(MVTableEngine.java:100) at org.h2.engine.Database.getPageStore(Database.java:2476) at org.h2.engine.Database.open(Database.java:697) at org.h2.engine.Database.openDatabase(Database.java:276) at org.h2.engine.Database.(Database.java:270) at org.h2.engine.Engine.openSession(Engine.java:64) at org.h2.engine.Engine.openSession(Engine.java:176) at org.h2.engine.Engine.createSessionAndValidate(Engine.java:154) at org.h2.engine.Engine.createSession(Engine.java:137) at org.h2.engine.Engine.createSession(Engine.java:27) at org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:354) at org.h2.jdbc.JdbcConnection.(JdbcConnection.java:116) at org.h2.jdbc.JdbcConnection.(JdbcConnection.java:100) at org.h2.Driver.connect(Driver.java:69) at slick.jdbc.DriverDataSource.getConnection(DriverDataSource.scala:101) at slick.jdbc.DataSourceJdbcDataSource.createConnection(JdbcDataSource.scala:71) at com.github.tototoshi.sbt.slick.CodegenPlugin$.gen(CodegenPlugin.scala:81) at com.github.tototoshi.sbt.slick.CodegenPlugin$.$anonfun$projectSettings$13(CodegenPlugin.scala:156) at scala.Function1.$anonfun$compose$1(Function1.scala:49) at sbt.internal.util.$tilde$greater.$anonfun$$u2219$1(TypeFunctions.scala:62) at sbt.std.Transform$$anon$4.work(Transform.scala:67) at sbt.Execute.$anonfun$submit$2(Execute.scala:281) at sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:19) at sbt.Execute.work(Execute.scala:290) at sbt.Execute.$anonfun$submit$1(Execute.scala:281) at sbt.ConcurrentRestrictions$$anon$4.$anonfun$submitValid$1(ConcurrentRestrictions.scala:178) at sbt.CompletionService$$anon$2.call(CompletionService.scala:37) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) 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) Caused by: org.h2.jdbc.JdbcSQLException: General error: "java.lang.IllegalStateException: The file is locked: nio:/home/rohan/Documents/Programming/Scala/play-scala-isolated-slick-example/test.mv.db [1.4.196/7]" [50000-196] at org.h2.message.DbException.getJdbcSQLException(DbException.java:345) ... 40 more Caused by: java.lang.IllegalStateException: The file is locked: nio:/home/rohan/Documents/Programming/Scala/play-scala-isolated-slick-example/test.mv.db [1.4.196/7] at org.h2.mvstore.DataUtils.newIllegalStateException(DataUtils.java:765) at org.h2.mvstore.FileStore.open(FileStore.java:168) at org.h2.mvstore.MVStore.(MVStore.java:347) ... 35 more Caused by: java.nio.channels.OverlappingFileLockException at java.base/sun.nio.ch.FileLockTable.checkList(FileLockTable.java:229) at java.base/sun.nio.ch.FileLockTable.add(FileLockTable.java:123) at java.base/sun.nio.ch.FileChannelImpl.tryLock(FileChannelImpl.java:1154) at org.h2.store.fs.FileNio.tryLock(FilePathNio.java:121) at java.base/java.nio.channels.FileChannel.tryLock(FileChannel.java:1165) at org.h2.mvstore.FileStore.open(FileStore.java:165) ... 36 more 2020-05-12 21:29:17 database: flush org.h2.message.DbException: General error: "java.lang.IllegalStateException: The file is locked: nio:/home/rohan/Documents/Programming/Scala/play-scala-isolated-slick-example/test.mv.db [1.4.196/7]" [50000-196] at org.h2.message.DbException.get(DbException.java:168) at org.h2.message.DbException.convert(DbException.java:295) at org.h2.mvstore.db.MVTableEngine$1.uncaughtException(MVTableEngine.java:95) at org.h2.mvstore.MVStore.panic(MVStore.java:378) at org.h2.mvstore.MVStore.(MVStore.java:361) at org.h2.mvstore.MVStore$Builder.open(MVStore.java:2930) at org.h2.mvstore.db.MVTableEngine$Store.open(MVTableEngine.java:155) at org.h2.mvstore.db.MVTableEngine.init(MVTableEngine.java:100) at org.h2.engine.Database.getPageStore(Database.java:2476) at org.h2.engine.Database.open(Database.java:697) at org.h2.engine.Database.openDatabase(Database.java:276) at org.h2.engine.Database.(Database.java:270) at org.h2.engine.Engine.openSession(Engine.java:64) at org.h2.engine.Engine.openSession(Engine.java:176) at org.h2.engine.Engine.createSessionAndValidate(Engine.java:154) at org.h2.engine.Engine.createSession(Engine.java:137) at org.h2.engine.Engine.createSession(Engine.java:27) at org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:354) at org.h2.jdbc.JdbcConnection.(JdbcConnection.java:116) at org.h2.jdbc.JdbcConnection.(JdbcConnection.java:100) at org.h2.Driver.connect(Driver.java:69) at slick.jdbc.DriverDataSource.getConnection(DriverDataSource.scala:101) at slick.jdbc.DataSourceJdbcDataSource.createConnection(JdbcDataSource.scala:71) at com.github.tototoshi.sbt.slick.CodegenPlugin$.gen(CodegenPlugin.scala:81) at com.github.tototoshi.sbt.slick.CodegenPlugin$.$anonfun$projectSettings$13(CodegenPlugin.scala:156) at scala.Function1.$anonfun$compose$1(Function1.scala:49) at sbt.internal.util.$tilde$greater.$anonfun$$u2219$1(TypeFunctions.scala:62) at sbt.std.Transform$$anon$4.work(Transform.scala:67) at sbt.Execute.$anonfun$submit$2(Execute.scala:281) at sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:19) at sbt.Execute.work(Execute.scala:290) at sbt.Execute.$anonfun$submit$1(Execute.scala:281) at sbt.ConcurrentRestrictions$$anon$4.$anonfun$submitValid$1(ConcurrentRestrictions.scala:178) at sbt.CompletionService$$anon$2.call(CompletionService.scala:37) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) 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) Caused by: org.h2.jdbc.JdbcSQLException: General error: "java.lang.IllegalStateException: The file is locked: nio:/home/rohan/Documents/Programming/Scala/play-scala-isolated-slick-example/test.mv.db [1.4.196/7]" [50000-196] at org.h2.message.DbException.getJdbcSQLException(DbException.java:345) ... 40 more Caused by: java.lang.IllegalStateException: The file is locked: nio:/home/rohan/Documents/Programming/Scala/play-scala-isolated-slick-example/test.mv.db [1.4.196/7] at org.h2.mvstore.DataUtils.newIllegalStateException(DataUtils.java:765) at org.h2.mvstore.FileStore.open(FileStore.java:168) at org.h2.mvstore.MVStore.(MVStore.java:347) ... 35 more Caused by: java.nio.channels.OverlappingFileLockException at java.base/sun.nio.ch.FileLockTable.checkList(FileLockTable.java:229) at java.base/sun.nio.ch.FileLockTable.add(FileLockTable.java:123) at java.base/sun.nio.ch.FileChannelImpl.tryLock(FileChannelImpl.java:1154) at org.h2.store.fs.FileNio.tryLock(FilePathNio.java:121) at java.base/java.nio.channels.FileChannel.tryLock(FileChannel.java:1165) at org.h2.mvstore.FileStore.open(FileStore.java:165) ... 36 more 2020-05-12 21:30:09 database: flush org.h2.message.DbException: General error: "java.lang.IllegalStateException: The file is locked: nio:/home/rohan/Documents/Programming/Scala/play-scala-isolated-slick-example/test.mv.db [1.4.196/7]" [50000-196] at org.h2.message.DbException.get(DbException.java:168) at org.h2.message.DbException.convert(DbException.java:295) at org.h2.mvstore.db.MVTableEngine$1.uncaughtException(MVTableEngine.java:95) at org.h2.mvstore.MVStore.panic(MVStore.java:378) at org.h2.mvstore.MVStore.(MVStore.java:361) at org.h2.mvstore.MVStore$Builder.open(MVStore.java:2930) at org.h2.mvstore.db.MVTableEngine$Store.open(MVTableEngine.java:155) at org.h2.mvstore.db.MVTableEngine.init(MVTableEngine.java:100) at org.h2.engine.Database.getPageStore(Database.java:2476) at org.h2.engine.Database.open(Database.java:697) at org.h2.engine.Database.openDatabase(Database.java:276) at org.h2.engine.Database.(Database.java:270) at org.h2.engine.Engine.openSession(Engine.java:64) at org.h2.engine.Engine.openSession(Engine.java:176) at org.h2.engine.Engine.createSessionAndValidate(Engine.java:154) at org.h2.engine.Engine.createSession(Engine.java:137) at org.h2.engine.Engine.createSession(Engine.java:27) at org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:354) at org.h2.jdbc.JdbcConnection.(JdbcConnection.java:116) at org.h2.jdbc.JdbcConnection.(JdbcConnection.java:100) at org.h2.Driver.connect(Driver.java:69) at slick.jdbc.DriverDataSource.getConnection(DriverDataSource.scala:101) at slick.jdbc.DataSourceJdbcDataSource.createConnection(JdbcDataSource.scala:71) at com.github.tototoshi.sbt.slick.CodegenPlugin$.gen(CodegenPlugin.scala:81) at com.github.tototoshi.sbt.slick.CodegenPlugin$.$anonfun$projectSettings$13(CodegenPlugin.scala:156) at scala.Function1.$anonfun$compose$1(Function1.scala:49) at sbt.internal.util.$tilde$greater.$anonfun$$u2219$1(TypeFunctions.scala:62) at sbt.std.Transform$$anon$4.work(Transform.scala:67) at sbt.Execute.$anonfun$submit$2(Execute.scala:281) at sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:19) at sbt.Execute.work(Execute.scala:290) at sbt.Execute.$anonfun$submit$1(Execute.scala:281) at sbt.ConcurrentRestrictions$$anon$4.$anonfun$submitValid$1(ConcurrentRestrictions.scala:178) at sbt.CompletionService$$anon$2.call(CompletionService.scala:37) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) 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) Caused by: org.h2.jdbc.JdbcSQLException: General error: "java.lang.IllegalStateException: The file is locked: nio:/home/rohan/Documents/Programming/Scala/play-scala-isolated-slick-example/test.mv.db [1.4.196/7]" [50000-196] at org.h2.message.DbException.getJdbcSQLException(DbException.java:345) ... 40 more Caused by: java.lang.IllegalStateException: The file is locked: nio:/home/rohan/Documents/Programming/Scala/play-scala-isolated-slick-example/test.mv.db [1.4.196/7] at org.h2.mvstore.DataUtils.newIllegalStateException(DataUtils.java:765) at org.h2.mvstore.FileStore.open(FileStore.java:168) at org.h2.mvstore.MVStore.(MVStore.java:347) ... 35 more Caused by: java.nio.channels.OverlappingFileLockException at java.base/sun.nio.ch.FileLockTable.checkList(FileLockTable.java:229) at java.base/sun.nio.ch.FileLockTable.add(FileLockTable.java:123) at java.base/sun.nio.ch.FileChannelImpl.tryLock(FileChannelImpl.java:1154) at org.h2.store.fs.FileNio.tryLock(FilePathNio.java:121) at java.base/java.nio.channels.FileChannel.tryLock(FileChannel.java:1165) at org.h2.mvstore.FileStore.open(FileStore.java:165) ... 36 more 2020-05-12 21:31:43 database: flush org.h2.message.DbException: General error: "java.lang.IllegalStateException: The file is locked: nio:/home/rohan/Documents/Programming/Scala/play-scala-isolated-slick-example/test.mv.db [1.4.196/7]" [50000-196] at org.h2.message.DbException.get(DbException.java:168) at org.h2.message.DbException.convert(DbException.java:295) at org.h2.mvstore.db.MVTableEngine$1.uncaughtException(MVTableEngine.java:95) at org.h2.mvstore.MVStore.panic(MVStore.java:378) at org.h2.mvstore.MVStore.(MVStore.java:361) at org.h2.mvstore.MVStore$Builder.open(MVStore.java:2930) at org.h2.mvstore.db.MVTableEngine$Store.open(MVTableEngine.java:155) at org.h2.mvstore.db.MVTableEngine.init(MVTableEngine.java:100) at org.h2.engine.Database.getPageStore(Database.java:2476) at org.h2.engine.Database.open(Database.java:697) at org.h2.engine.Database.openDatabase(Database.java:276) at org.h2.engine.Database.(Database.java:270) at org.h2.engine.Engine.openSession(Engine.java:64) at org.h2.engine.Engine.openSession(Engine.java:176) at org.h2.engine.Engine.createSessionAndValidate(Engine.java:154) at org.h2.engine.Engine.createSession(Engine.java:137) at org.h2.engine.Engine.createSession(Engine.java:27) at org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:354) at org.h2.jdbc.JdbcConnection.(JdbcConnection.java:116) at org.h2.jdbc.JdbcConnection.(JdbcConnection.java:100) at org.h2.Driver.connect(Driver.java:69) at slick.jdbc.DriverDataSource.getConnection(DriverDataSource.scala:101) at slick.jdbc.DataSourceJdbcDataSource.createConnection(JdbcDataSource.scala:71) at com.github.tototoshi.sbt.slick.CodegenPlugin$.gen(CodegenPlugin.scala:81) at com.github.tototoshi.sbt.slick.CodegenPlugin$.$anonfun$projectSettings$13(CodegenPlugin.scala:156) at scala.Function1.$anonfun$compose$1(Function1.scala:49) at sbt.internal.util.$tilde$greater.$anonfun$$u2219$1(TypeFunctions.scala:62) at sbt.std.Transform$$anon$4.work(Transform.scala:67) at sbt.Execute.$anonfun$submit$2(Execute.scala:281) at sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:19) at sbt.Execute.work(Execute.scala:290) at sbt.Execute.$anonfun$submit$1(Execute.scala:281) at sbt.ConcurrentRestrictions$$anon$4.$anonfun$submitValid$1(ConcurrentRestrictions.scala:178) at sbt.CompletionService$$anon$2.call(CompletionService.scala:37) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) 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) Caused by: org.h2.jdbc.JdbcSQLException: General error: "java.lang.IllegalStateException: The file is locked: nio:/home/rohan/Documents/Programming/Scala/play-scala-isolated-slick-example/test.mv.db [1.4.196/7]" [50000-196] at org.h2.message.DbException.getJdbcSQLException(DbException.java:345) ... 40 more Caused by: java.lang.IllegalStateException: The file is locked: nio:/home/rohan/Documents/Programming/Scala/play-scala-isolated-slick-example/test.mv.db [1.4.196/7] at org.h2.mvstore.DataUtils.newIllegalStateException(DataUtils.java:765) at org.h2.mvstore.FileStore.open(FileStore.java:168) at org.h2.mvstore.MVStore.(MVStore.java:347) ... 35 more Caused by: java.nio.channels.OverlappingFileLockException at java.base/sun.nio.ch.FileLockTable.checkList(FileLockTable.java:229) at java.base/sun.nio.ch.FileLockTable.add(FileLockTable.java:123) at java.base/sun.nio.ch.FileChannelImpl.tryLock(FileChannelImpl.java:1154) at org.h2.store.fs.FileNio.tryLock(FilePathNio.java:121) at java.base/java.nio.channels.FileChannel.tryLock(FileChannel.java:1165) at org.h2.mvstore.FileStore.open(FileStore.java:165) ... 36 more 2020-05-12 21:31:43 database: flush org.h2.message.DbException: General error: "java.lang.IllegalStateException: The file is locked: nio:/home/rohan/Documents/Programming/Scala/play-scala-isolated-slick-example/test.mv.db [1.4.196/7]" [50000-196] at org.h2.message.DbException.get(DbException.java:168) at org.h2.message.DbException.convert(DbException.java:295) at org.h2.mvstore.db.MVTableEngine$1.uncaughtException(MVTableEngine.java:95) at org.h2.mvstore.MVStore.panic(MVStore.java:378) at org.h2.mvstore.MVStore.(MVStore.java:361) at org.h2.mvstore.MVStore$Builder.open(MVStore.java:2930) at org.h2.mvstore.db.MVTableEngine$Store.open(MVTableEngine.java:155) at org.h2.mvstore.db.MVTableEngine.init(MVTableEngine.java:100) at org.h2.engine.Database.getPageStore(Database.java:2476) at org.h2.engine.Database.open(Database.java:697) at org.h2.engine.Database.openDatabase(Database.java:276) at org.h2.engine.Database.(Database.java:270) at org.h2.engine.Engine.openSession(Engine.java:64) at org.h2.engine.Engine.openSession(Engine.java:176) at org.h2.engine.Engine.createSessionAndValidate(Engine.java:154) at org.h2.engine.Engine.createSession(Engine.java:137) at org.h2.engine.Engine.createSession(Engine.java:27) at org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:354) at org.h2.jdbc.JdbcConnection.(JdbcConnection.java:116) at org.h2.jdbc.JdbcConnection.(JdbcConnection.java:100) at org.h2.Driver.connect(Driver.java:69) at slick.jdbc.DriverDataSource.getConnection(DriverDataSource.scala:101) at slick.jdbc.DataSourceJdbcDataSource.createConnection(JdbcDataSource.scala:71) at com.github.tototoshi.sbt.slick.CodegenPlugin$.gen(CodegenPlugin.scala:81) at com.github.tototoshi.sbt.slick.CodegenPlugin$.$anonfun$projectSettings$13(CodegenPlugin.scala:156) at scala.Function1.$anonfun$compose$1(Function1.scala:49) at sbt.internal.util.$tilde$greater.$anonfun$$u2219$1(TypeFunctions.scala:62) at sbt.std.Transform$$anon$4.work(Transform.scala:67) at sbt.Execute.$anonfun$submit$2(Execute.scala:281) at sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:19) at sbt.Execute.work(Execute.scala:290) at sbt.Execute.$anonfun$submit$1(Execute.scala:281) at sbt.ConcurrentRestrictions$$anon$4.$anonfun$submitValid$1(ConcurrentRestrictions.scala:178) at sbt.CompletionService$$anon$2.call(CompletionService.scala:37) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) 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) Caused by: org.h2.jdbc.JdbcSQLException: General error: "java.lang.IllegalStateException: The file is locked: nio:/home/rohan/Documents/Programming/Scala/play-scala-isolated-slick-example/test.mv.db [1.4.196/7]" [50000-196] at org.h2.message.DbException.getJdbcSQLException(DbException.java:345) ... 40 more Caused by: java.lang.IllegalStateException: The file is locked: nio:/home/rohan/Documents/Programming/Scala/play-scala-isolated-slick-example/test.mv.db [1.4.196/7] at org.h2.mvstore.DataUtils.newIllegalStateException(DataUtils.java:765) at org.h2.mvstore.FileStore.open(FileStore.java:168) at org.h2.mvstore.MVStore.(MVStore.java:347) ... 35 more Caused by: java.nio.channels.OverlappingFileLockException at java.base/sun.nio.ch.FileLockTable.checkList(FileLockTable.java:229) at java.base/sun.nio.ch.FileLockTable.add(FileLockTable.java:123) at java.base/sun.nio.ch.FileChannelImpl.tryLock(FileChannelImpl.java:1154) at org.h2.store.fs.FileNio.tryLock(FilePathNio.java:121) at java.base/java.nio.channels.FileChannel.tryLock(FileChannel.java:1165) at org.h2.mvstore.FileStore.open(FileStore.java:165) ... 36 more 2020-05-12 21:31:49 database: flush org.h2.message.DbException: General error: "java.lang.IllegalStateException: The file is locked: nio:/home/rohan/Documents/Programming/Scala/play-scala-isolated-slick-example/test.mv.db [1.4.196/7]" [50000-196] at org.h2.message.DbException.get(DbException.java:168) at org.h2.message.DbException.convert(DbException.java:295) at org.h2.mvstore.db.MVTableEngine$1.uncaughtException(MVTableEngine.java:95) at org.h2.mvstore.MVStore.panic(MVStore.java:378) at org.h2.mvstore.MVStore.(MVStore.java:361) at org.h2.mvstore.MVStore$Builder.open(MVStore.java:2930) at org.h2.mvstore.db.MVTableEngine$Store.open(MVTableEngine.java:155) at org.h2.mvstore.db.MVTableEngine.init(MVTableEngine.java:100) at org.h2.engine.Database.getPageStore(Database.java:2476) at org.h2.engine.Database.open(Database.java:697) at org.h2.engine.Database.openDatabase(Database.java:276) at org.h2.engine.Database.(Database.java:270) at org.h2.engine.Engine.openSession(Engine.java:64) at org.h2.engine.Engine.openSession(Engine.java:176) at org.h2.engine.Engine.createSessionAndValidate(Engine.java:154) at org.h2.engine.Engine.createSession(Engine.java:137) at org.h2.engine.Engine.createSession(Engine.java:27) at org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:354) at org.h2.jdbc.JdbcConnection.(JdbcConnection.java:116) at org.h2.jdbc.JdbcConnection.(JdbcConnection.java:100) at org.h2.Driver.connect(Driver.java:69) at slick.jdbc.DriverDataSource.getConnection(DriverDataSource.scala:101) at slick.jdbc.DataSourceJdbcDataSource.createConnection(JdbcDataSource.scala:71) at com.github.tototoshi.sbt.slick.CodegenPlugin$.gen(CodegenPlugin.scala:81) at com.github.tototoshi.sbt.slick.CodegenPlugin$.$anonfun$projectSettings$13(CodegenPlugin.scala:156) at scala.Function1.$anonfun$compose$1(Function1.scala:49) at sbt.internal.util.$tilde$greater.$anonfun$$u2219$1(TypeFunctions.scala:62) at sbt.std.Transform$$anon$4.work(Transform.scala:67) at sbt.Execute.$anonfun$submit$2(Execute.scala:281) at sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:19) at sbt.Execute.work(Execute.scala:290) at sbt.Execute.$anonfun$submit$1(Execute.scala:281) at sbt.ConcurrentRestrictions$$anon$4.$anonfun$submitValid$1(ConcurrentRestrictions.scala:178) at sbt.CompletionService$$anon$2.call(CompletionService.scala:37) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) 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) Caused by: org.h2.jdbc.JdbcSQLException: General error: "java.lang.IllegalStateException: The file is locked: nio:/home/rohan/Documents/Programming/Scala/play-scala-isolated-slick-example/test.mv.db [1.4.196/7]" [50000-196] at org.h2.message.DbException.getJdbcSQLException(DbException.java:345) ... 40 more Caused by: java.lang.IllegalStateException: The file is locked: nio:/home/rohan/Documents/Programming/Scala/play-scala-isolated-slick-example/test.mv.db [1.4.196/7] at org.h2.mvstore.DataUtils.newIllegalStateException(DataUtils.java:765) at org.h2.mvstore.FileStore.open(FileStore.java:168) at org.h2.mvstore.MVStore.(MVStore.java:347) ... 35 more Caused by: java.nio.channels.OverlappingFileLockException at java.base/sun.nio.ch.FileLockTable.checkList(FileLockTable.java:229) at java.base/sun.nio.ch.FileLockTable.add(FileLockTable.java:123) at java.base/sun.nio.ch.FileChannelImpl.tryLock(FileChannelImpl.java:1154) at org.h2.store.fs.FileNio.tryLock(FilePathNio.java:121) at java.base/java.nio.channels.FileChannel.tryLock(FileChannel.java:1165) at org.h2.mvstore.FileStore.open(FileStore.java:165) ... 36 more 2020-05-13 12:30:17 jdbc[4]: exception org.h2.jdbc.JdbcSQLException: Syntax error in SQL statement "CREATE TABLE BOOKS ( ID IDENTITY PRIMARY KEY, TITLE VARCHAR(50) NOT NULL, AUTHOR_ID BIGINT NOT NULL, FOREIGN KEY(AUTHOR_ID) REFERENCES AUTHORS(ID) CREATED_AT[*] TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ) "; expected "INDEX, ON, NOT, DEFERRABLE, NOCHECK, CHECK, ,, )"; SQL statement: create table books ( id IDENTITY PRIMARY KEY, title VARCHAR(50) NOT NULL, author_id BIGINT NOT NULL, FOREIGN KEY(author_id) REFERENCES authors(id) created_at TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ) [42001-196] 2020-05-13 12:30:45 jdbc[4]: exception org.h2.jdbc.JdbcSQLException: Syntax error in SQL statement "CREATE TABLE BOOKS ( ID IDENTITY PRIMARY KEY, TITLE VARCHAR(50) NOT NULL, AUTHOR_ID BIGINT NOT NULL, FOREIGN KEY(AUTHOR_ID) REFERENCES AUTHORS(ID) CREATED_AT[*] TIMESTAMP NOT NULL DEFAULT(CURRENT_TIMESTAMP) ) "; expected "INDEX, ON, NOT, DEFERRABLE, NOCHECK, CHECK, ,, )"; SQL statement: create table books ( id IDENTITY PRIMARY KEY, title VARCHAR(50) NOT NULL, author_id BIGINT NOT NULL, FOREIGN KEY(author_id) REFERENCES authors(id) created_at TIMESTAMP NOT NULL DEFAULT(CURRENT_TIMESTAMP) ) [42001-196] 2020-05-13 12:32:46 jdbc[4]: exception org.h2.jdbc.JdbcSQLException: Syntax error in SQL statement "CREATE TABLE BOOKS ( ID IDENTITY PRIMARY KEY, TITLE VARCHAR(50) NOT NULL, AUTHOR_ID BIGINT NOT NULL, FOREIGN KEY(AUTHOR_ID) REFERENCES AUTHORS(ID) CREATED_AT[*] TIMESTAMP DEFAULT CURRENT_TIMESTAMP NOT NULL ) "; expected "INDEX, ON, NOT, DEFERRABLE, NOCHECK, CHECK, ,, )"; SQL statement: create table books ( id IDENTITY PRIMARY KEY, title VARCHAR(50) NOT NULL, author_id BIGINT NOT NULL, FOREIGN KEY(author_id) REFERENCES authors(id) created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP NOT NULL ) [42001-196] 2020-05-14 00:17:38 database: flush org.h2.message.DbException: General error: "java.lang.IllegalStateException: The file is locked: nio:/home/rohan/Documents/Programming/Scala/play-scala-isolated-slick-example/test.mv.db [1.4.196/7]" [50000-196] at org.h2.message.DbException.get(DbException.java:168) at org.h2.message.DbException.convert(DbException.java:295) at org.h2.mvstore.db.MVTableEngine$1.uncaughtException(MVTableEngine.java:95) at org.h2.mvstore.MVStore.panic(MVStore.java:378) at org.h2.mvstore.MVStore.(MVStore.java:361) at org.h2.mvstore.MVStore$Builder.open(MVStore.java:2930) at org.h2.mvstore.db.MVTableEngine$Store.open(MVTableEngine.java:155) at org.h2.mvstore.db.MVTableEngine.init(MVTableEngine.java:100) at org.h2.engine.Database.getPageStore(Database.java:2476) at org.h2.engine.Database.open(Database.java:697) at org.h2.engine.Database.openDatabase(Database.java:276) at org.h2.engine.Database.(Database.java:270) at org.h2.engine.Engine.openSession(Engine.java:64) at org.h2.engine.Engine.openSession(Engine.java:176) at org.h2.engine.Engine.createSessionAndValidate(Engine.java:154) at org.h2.engine.Engine.createSession(Engine.java:137) at org.h2.engine.Engine.createSession(Engine.java:27) at org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:354) at org.h2.jdbc.JdbcConnection.(JdbcConnection.java:116) at org.h2.jdbc.JdbcConnection.(JdbcConnection.java:100) at org.h2.Driver.connect(Driver.java:69) at slick.jdbc.DriverDataSource.getConnection(DriverDataSource.scala:101) at slick.jdbc.DataSourceJdbcDataSource.createConnection(JdbcDataSource.scala:71) at com.github.tototoshi.sbt.slick.CodegenPlugin$.gen(CodegenPlugin.scala:81) at com.github.tototoshi.sbt.slick.CodegenPlugin$.$anonfun$projectSettings$13(CodegenPlugin.scala:156) at scala.Function1.$anonfun$compose$1(Function1.scala:49) at sbt.internal.util.$tilde$greater.$anonfun$$u2219$1(TypeFunctions.scala:62) at sbt.std.Transform$$anon$4.work(Transform.scala:67) at sbt.Execute.$anonfun$submit$2(Execute.scala:281) at sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:19) at sbt.Execute.work(Execute.scala:290) at sbt.Execute.$anonfun$submit$1(Execute.scala:281) at sbt.ConcurrentRestrictions$$anon$4.$anonfun$submitValid$1(ConcurrentRestrictions.scala:178) at sbt.CompletionService$$anon$2.call(CompletionService.scala:37) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) 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) Caused by: org.h2.jdbc.JdbcSQLException: General error: "java.lang.IllegalStateException: The file is locked: nio:/home/rohan/Documents/Programming/Scala/play-scala-isolated-slick-example/test.mv.db [1.4.196/7]" [50000-196] at org.h2.message.DbException.getJdbcSQLException(DbException.java:345) ... 40 more Caused by: java.lang.IllegalStateException: The file is locked: nio:/home/rohan/Documents/Programming/Scala/play-scala-isolated-slick-example/test.mv.db [1.4.196/7] at org.h2.mvstore.DataUtils.newIllegalStateException(DataUtils.java:765) at org.h2.mvstore.FileStore.open(FileStore.java:168) at org.h2.mvstore.MVStore.(MVStore.java:347) ... 35 more Caused by: java.nio.channels.OverlappingFileLockException at java.base/sun.nio.ch.FileLockTable.checkList(FileLockTable.java:229) at java.base/sun.nio.ch.FileLockTable.add(FileLockTable.java:123) at java.base/sun.nio.ch.FileChannelImpl.tryLock(FileChannelImpl.java:1154) at org.h2.store.fs.FileNio.tryLock(FilePathNio.java:121) at java.base/java.nio.channels.FileChannel.tryLock(FileChannel.java:1165) at org.h2.mvstore.FileStore.open(FileStore.java:165) ... 36 more 2020-05-14 00:17:42 database: flush org.h2.message.DbException: General error: "java.lang.IllegalStateException: The file is locked: nio:/home/rohan/Documents/Programming/Scala/play-scala-isolated-slick-example/test.mv.db [1.4.196/7]" [50000-196] at org.h2.message.DbException.get(DbException.java:168) at org.h2.message.DbException.convert(DbException.java:295) at org.h2.mvstore.db.MVTableEngine$1.uncaughtException(MVTableEngine.java:95) at org.h2.mvstore.MVStore.panic(MVStore.java:378) at org.h2.mvstore.MVStore.(MVStore.java:361) at org.h2.mvstore.MVStore$Builder.open(MVStore.java:2930) at org.h2.mvstore.db.MVTableEngine$Store.open(MVTableEngine.java:155) at org.h2.mvstore.db.MVTableEngine.init(MVTableEngine.java:100) at org.h2.engine.Database.getPageStore(Database.java:2476) at org.h2.engine.Database.open(Database.java:697) at org.h2.engine.Database.openDatabase(Database.java:276) at org.h2.engine.Database.(Database.java:270) at org.h2.engine.Engine.openSession(Engine.java:64) at org.h2.engine.Engine.openSession(Engine.java:176) at org.h2.engine.Engine.createSessionAndValidate(Engine.java:154) at org.h2.engine.Engine.createSession(Engine.java:137) at org.h2.engine.Engine.createSession(Engine.java:27) at org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:354) at org.h2.jdbc.JdbcConnection.(JdbcConnection.java:116) at org.h2.jdbc.JdbcConnection.(JdbcConnection.java:100) at org.h2.Driver.connect(Driver.java:69) at slick.jdbc.DriverDataSource.getConnection(DriverDataSource.scala:101) at slick.jdbc.DataSourceJdbcDataSource.createConnection(JdbcDataSource.scala:71) at com.github.tototoshi.sbt.slick.CodegenPlugin$.gen(CodegenPlugin.scala:81) at com.github.tototoshi.sbt.slick.CodegenPlugin$.$anonfun$projectSettings$13(CodegenPlugin.scala:156) at scala.Function1.$anonfun$compose$1(Function1.scala:49) at sbt.internal.util.$tilde$greater.$anonfun$$u2219$1(TypeFunctions.scala:62) at sbt.std.Transform$$anon$4.work(Transform.scala:67) at sbt.Execute.$anonfun$submit$2(Execute.scala:281) at sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:19) at sbt.Execute.work(Execute.scala:290) at sbt.Execute.$anonfun$submit$1(Execute.scala:281) at sbt.ConcurrentRestrictions$$anon$4.$anonfun$submitValid$1(ConcurrentRestrictions.scala:178) at sbt.CompletionService$$anon$2.call(CompletionService.scala:37) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) 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) Caused by: org.h2.jdbc.JdbcSQLException: General error: "java.lang.IllegalStateException: The file is locked: nio:/home/rohan/Documents/Programming/Scala/play-scala-isolated-slick-example/test.mv.db [1.4.196/7]" [50000-196] at org.h2.message.DbException.getJdbcSQLException(DbException.java:345) ... 40 more Caused by: java.lang.IllegalStateException: The file is locked: nio:/home/rohan/Documents/Programming/Scala/play-scala-isolated-slick-example/test.mv.db [1.4.196/7] at org.h2.mvstore.DataUtils.newIllegalStateException(DataUtils.java:765) at org.h2.mvstore.FileStore.open(FileStore.java:168) at org.h2.mvstore.MVStore.(MVStore.java:347) ... 35 more Caused by: java.nio.channels.OverlappingFileLockException at java.base/sun.nio.ch.FileLockTable.checkList(FileLockTable.java:229) at java.base/sun.nio.ch.FileLockTable.add(FileLockTable.java:123) at java.base/sun.nio.ch.FileChannelImpl.tryLock(FileChannelImpl.java:1154) at org.h2.store.fs.FileNio.tryLock(FilePathNio.java:121) at java.base/java.nio.channels.FileChannel.tryLock(FileChannel.java:1165) at org.h2.mvstore.FileStore.open(FileStore.java:165) ... 36 more 2020-05-14 00:17:42 database: flush org.h2.message.DbException: General error: "java.lang.IllegalStateException: The file is locked: nio:/home/rohan/Documents/Programming/Scala/play-scala-isolated-slick-example/test.mv.db [1.4.196/7]" [50000-196] at org.h2.message.DbException.get(DbException.java:168) at org.h2.message.DbException.convert(DbException.java:295) at org.h2.mvstore.db.MVTableEngine$1.uncaughtException(MVTableEngine.java:95) at org.h2.mvstore.MVStore.panic(MVStore.java:378) at org.h2.mvstore.MVStore.(MVStore.java:361) at org.h2.mvstore.MVStore$Builder.open(MVStore.java:2930) at org.h2.mvstore.db.MVTableEngine$Store.open(MVTableEngine.java:155) at org.h2.mvstore.db.MVTableEngine.init(MVTableEngine.java:100) at org.h2.engine.Database.getPageStore(Database.java:2476) at org.h2.engine.Database.open(Database.java:697) at org.h2.engine.Database.openDatabase(Database.java:276) at org.h2.engine.Database.(Database.java:270) at org.h2.engine.Engine.openSession(Engine.java:64) at org.h2.engine.Engine.openSession(Engine.java:176) at org.h2.engine.Engine.createSessionAndValidate(Engine.java:154) at org.h2.engine.Engine.createSession(Engine.java:137) at org.h2.engine.Engine.createSession(Engine.java:27) at org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:354) at org.h2.jdbc.JdbcConnection.(JdbcConnection.java:116) at org.h2.jdbc.JdbcConnection.(JdbcConnection.java:100) at org.h2.Driver.connect(Driver.java:69) at slick.jdbc.DriverDataSource.getConnection(DriverDataSource.scala:101) at slick.jdbc.DataSourceJdbcDataSource.createConnection(JdbcDataSource.scala:71) at com.github.tototoshi.sbt.slick.CodegenPlugin$.gen(CodegenPlugin.scala:81) at com.github.tototoshi.sbt.slick.CodegenPlugin$.$anonfun$projectSettings$13(CodegenPlugin.scala:156) at scala.Function1.$anonfun$compose$1(Function1.scala:49) at sbt.internal.util.$tilde$greater.$anonfun$$u2219$1(TypeFunctions.scala:62) at sbt.std.Transform$$anon$4.work(Transform.scala:67) at sbt.Execute.$anonfun$submit$2(Execute.scala:281) at sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:19) at sbt.Execute.work(Execute.scala:290) at sbt.Execute.$anonfun$submit$1(Execute.scala:281) at sbt.ConcurrentRestrictions$$anon$4.$anonfun$submitValid$1(ConcurrentRestrictions.scala:178) at sbt.CompletionService$$anon$2.call(CompletionService.scala:37) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) 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) Caused by: org.h2.jdbc.JdbcSQLException: General error: "java.lang.IllegalStateException: The file is locked: nio:/home/rohan/Documents/Programming/Scala/play-scala-isolated-slick-example/test.mv.db [1.4.196/7]" [50000-196] at org.h2.message.DbException.getJdbcSQLException(DbException.java:345) ... 40 more Caused by: java.lang.IllegalStateException: The file is locked: nio:/home/rohan/Documents/Programming/Scala/play-scala-isolated-slick-example/test.mv.db [1.4.196/7] at org.h2.mvstore.DataUtils.newIllegalStateException(DataUtils.java:765) at org.h2.mvstore.FileStore.open(FileStore.java:168) at org.h2.mvstore.MVStore.(MVStore.java:347) ... 35 more Caused by: java.nio.channels.OverlappingFileLockException at java.base/sun.nio.ch.FileLockTable.checkList(FileLockTable.java:229) at java.base/sun.nio.ch.FileLockTable.add(FileLockTable.java:123) at java.base/sun.nio.ch.FileChannelImpl.tryLock(FileChannelImpl.java:1154) at org.h2.store.fs.FileNio.tryLock(FilePathNio.java:121) at java.base/java.nio.channels.FileChannel.tryLock(FileChannel.java:1165) at org.h2.mvstore.FileStore.open(FileStore.java:165) ... 36 more 2020-05-14 00:21:06 database: flush org.h2.message.DbException: General error: "java.lang.IllegalStateException: The file is locked: nio:/home/rohan/Documents/Programming/Scala/play-scala-isolated-slick-example/test.mv.db [1.4.196/7]" [50000-196] at org.h2.message.DbException.get(DbException.java:168) at org.h2.message.DbException.convert(DbException.java:295) at org.h2.mvstore.db.MVTableEngine$1.uncaughtException(MVTableEngine.java:95) at org.h2.mvstore.MVStore.panic(MVStore.java:378) at org.h2.mvstore.MVStore.(MVStore.java:361) at org.h2.mvstore.MVStore$Builder.open(MVStore.java:2930) at org.h2.mvstore.db.MVTableEngine$Store.open(MVTableEngine.java:155) at org.h2.mvstore.db.MVTableEngine.init(MVTableEngine.java:100) at org.h2.engine.Database.getPageStore(Database.java:2476) at org.h2.engine.Database.open(Database.java:697) at org.h2.engine.Database.openDatabase(Database.java:276) at org.h2.engine.Database.(Database.java:270) at org.h2.engine.Engine.openSession(Engine.java:64) at org.h2.engine.Engine.openSession(Engine.java:176) at org.h2.engine.Engine.createSessionAndValidate(Engine.java:154) at org.h2.engine.Engine.createSession(Engine.java:137) at org.h2.engine.Engine.createSession(Engine.java:27) at org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:354) at org.h2.jdbc.JdbcConnection.(JdbcConnection.java:116) at org.h2.jdbc.JdbcConnection.(JdbcConnection.java:100) at org.h2.Driver.connect(Driver.java:69) at slick.jdbc.DriverDataSource.getConnection(DriverDataSource.scala:101) at slick.jdbc.DataSourceJdbcDataSource.createConnection(JdbcDataSource.scala:71) at com.github.tototoshi.sbt.slick.CodegenPlugin$.gen(CodegenPlugin.scala:81) at com.github.tototoshi.sbt.slick.CodegenPlugin$.$anonfun$projectSettings$13(CodegenPlugin.scala:156) at scala.Function1.$anonfun$compose$1(Function1.scala:49) at sbt.internal.util.$tilde$greater.$anonfun$$u2219$1(TypeFunctions.scala:62) at sbt.std.Transform$$anon$4.work(Transform.scala:67) at sbt.Execute.$anonfun$submit$2(Execute.scala:281) at sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:19) at sbt.Execute.work(Execute.scala:290) at sbt.Execute.$anonfun$submit$1(Execute.scala:281) at sbt.ConcurrentRestrictions$$anon$4.$anonfun$submitValid$1(ConcurrentRestrictions.scala:178) at sbt.CompletionService$$anon$2.call(CompletionService.scala:37) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) 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) Caused by: org.h2.jdbc.JdbcSQLException: General error: "java.lang.IllegalStateException: The file is locked: nio:/home/rohan/Documents/Programming/Scala/play-scala-isolated-slick-example/test.mv.db [1.4.196/7]" [50000-196] at org.h2.message.DbException.getJdbcSQLException(DbException.java:345) ... 40 more Caused by: java.lang.IllegalStateException: The file is locked: nio:/home/rohan/Documents/Programming/Scala/play-scala-isolated-slick-example/test.mv.db [1.4.196/7] at org.h2.mvstore.DataUtils.newIllegalStateException(DataUtils.java:765) at org.h2.mvstore.FileStore.open(FileStore.java:168) at org.h2.mvstore.MVStore.(MVStore.java:347) ... 35 more Caused by: java.nio.channels.OverlappingFileLockException at java.base/sun.nio.ch.FileLockTable.checkList(FileLockTable.java:229) at java.base/sun.nio.ch.FileLockTable.add(FileLockTable.java:123) at java.base/sun.nio.ch.FileChannelImpl.tryLock(FileChannelImpl.java:1154) at org.h2.store.fs.FileNio.tryLock(FilePathNio.java:121) at java.base/java.nio.channels.FileChannel.tryLock(FileChannel.java:1165) at org.h2.mvstore.FileStore.open(FileStore.java:165) ... 36 more 2020-05-14 00:21:09 database: flush org.h2.message.DbException: General error: "java.lang.IllegalStateException: The file is locked: nio:/home/rohan/Documents/Programming/Scala/play-scala-isolated-slick-example/test.mv.db [1.4.196/7]" [50000-196] at org.h2.message.DbException.get(DbException.java:168) at org.h2.message.DbException.convert(DbException.java:295) at org.h2.mvstore.db.MVTableEngine$1.uncaughtException(MVTableEngine.java:95) at org.h2.mvstore.MVStore.panic(MVStore.java:378) at org.h2.mvstore.MVStore.(MVStore.java:361) at org.h2.mvstore.MVStore$Builder.open(MVStore.java:2930) at org.h2.mvstore.db.MVTableEngine$Store.open(MVTableEngine.java:155) at org.h2.mvstore.db.MVTableEngine.init(MVTableEngine.java:100) at org.h2.engine.Database.getPageStore(Database.java:2476) at org.h2.engine.Database.open(Database.java:697) at org.h2.engine.Database.openDatabase(Database.java:276) at org.h2.engine.Database.(Database.java:270) at org.h2.engine.Engine.openSession(Engine.java:64) at org.h2.engine.Engine.openSession(Engine.java:176) at org.h2.engine.Engine.createSessionAndValidate(Engine.java:154) at org.h2.engine.Engine.createSession(Engine.java:137) at org.h2.engine.Engine.createSession(Engine.java:27) at org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:354) at org.h2.jdbc.JdbcConnection.(JdbcConnection.java:116) at org.h2.jdbc.JdbcConnection.(JdbcConnection.java:100) at org.h2.Driver.connect(Driver.java:69) at slick.jdbc.DriverDataSource.getConnection(DriverDataSource.scala:101) at slick.jdbc.DataSourceJdbcDataSource.createConnection(JdbcDataSource.scala:71) at com.github.tototoshi.sbt.slick.CodegenPlugin$.gen(CodegenPlugin.scala:81) at com.github.tototoshi.sbt.slick.CodegenPlugin$.$anonfun$projectSettings$13(CodegenPlugin.scala:156) at scala.Function1.$anonfun$compose$1(Function1.scala:49) at sbt.internal.util.$tilde$greater.$anonfun$$u2219$1(TypeFunctions.scala:62) at sbt.std.Transform$$anon$4.work(Transform.scala:67) at sbt.Execute.$anonfun$submit$2(Execute.scala:281) at sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:19) at sbt.Execute.work(Execute.scala:290) at sbt.Execute.$anonfun$submit$1(Execute.scala:281) at sbt.ConcurrentRestrictions$$anon$4.$anonfun$submitValid$1(ConcurrentRestrictions.scala:178) at sbt.CompletionService$$anon$2.call(CompletionService.scala:37) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) 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) Caused by: org.h2.jdbc.JdbcSQLException: General error: "java.lang.IllegalStateException: The file is locked: nio:/home/rohan/Documents/Programming/Scala/play-scala-isolated-slick-example/test.mv.db [1.4.196/7]" [50000-196] at org.h2.message.DbException.getJdbcSQLException(DbException.java:345) ... 40 more Caused by: java.lang.IllegalStateException: The file is locked: nio:/home/rohan/Documents/Programming/Scala/play-scala-isolated-slick-example/test.mv.db [1.4.196/7] at org.h2.mvstore.DataUtils.newIllegalStateException(DataUtils.java:765) at org.h2.mvstore.FileStore.open(FileStore.java:168) at org.h2.mvstore.MVStore.(MVStore.java:347) ... 35 more Caused by: java.nio.channels.OverlappingFileLockException at java.base/sun.nio.ch.FileLockTable.checkList(FileLockTable.java:229) at java.base/sun.nio.ch.FileLockTable.add(FileLockTable.java:123) at java.base/sun.nio.ch.FileChannelImpl.tryLock(FileChannelImpl.java:1154) at org.h2.store.fs.FileNio.tryLock(FilePathNio.java:121) at java.base/java.nio.channels.FileChannel.tryLock(FileChannel.java:1165) at org.h2.mvstore.FileStore.open(FileStore.java:165) ... 36 more 2020-05-14 00:21:32 database: flush org.h2.message.DbException: General error: "java.lang.IllegalStateException: The file is locked: nio:/home/rohan/Documents/Programming/Scala/play-scala-isolated-slick-example/test.mv.db [1.4.196/7]" [50000-196] at org.h2.message.DbException.get(DbException.java:168) at org.h2.message.DbException.convert(DbException.java:295) at org.h2.mvstore.db.MVTableEngine$1.uncaughtException(MVTableEngine.java:95) at org.h2.mvstore.MVStore.panic(MVStore.java:378) at org.h2.mvstore.MVStore.(MVStore.java:361) at org.h2.mvstore.MVStore$Builder.open(MVStore.java:2930) at org.h2.mvstore.db.MVTableEngine$Store.open(MVTableEngine.java:155) at org.h2.mvstore.db.MVTableEngine.init(MVTableEngine.java:100) at org.h2.engine.Database.getPageStore(Database.java:2476) at org.h2.engine.Database.open(Database.java:697) at org.h2.engine.Database.openDatabase(Database.java:276) at org.h2.engine.Database.(Database.java:270) at org.h2.engine.Engine.openSession(Engine.java:64) at org.h2.engine.Engine.openSession(Engine.java:176) at org.h2.engine.Engine.createSessionAndValidate(Engine.java:154) at org.h2.engine.Engine.createSession(Engine.java:137) at org.h2.engine.Engine.createSession(Engine.java:27) at org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:354) at org.h2.jdbc.JdbcConnection.(JdbcConnection.java:116) at org.h2.jdbc.JdbcConnection.(JdbcConnection.java:100) at org.h2.Driver.connect(Driver.java:69) at slick.jdbc.DriverDataSource.getConnection(DriverDataSource.scala:101) at slick.jdbc.DataSourceJdbcDataSource.createConnection(JdbcDataSource.scala:71) at com.github.tototoshi.sbt.slick.CodegenPlugin$.gen(CodegenPlugin.scala:81) at com.github.tototoshi.sbt.slick.CodegenPlugin$.$anonfun$projectSettings$13(CodegenPlugin.scala:156) at scala.Function1.$anonfun$compose$1(Function1.scala:49) at sbt.internal.util.$tilde$greater.$anonfun$$u2219$1(TypeFunctions.scala:62) at sbt.std.Transform$$anon$4.work(Transform.scala:67) at sbt.Execute.$anonfun$submit$2(Execute.scala:281) at sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:19) at sbt.Execute.work(Execute.scala:290) at sbt.Execute.$anonfun$submit$1(Execute.scala:281) at sbt.ConcurrentRestrictions$$anon$4.$anonfun$submitValid$1(ConcurrentRestrictions.scala:178) at sbt.CompletionService$$anon$2.call(CompletionService.scala:37) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) 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) Caused by: org.h2.jdbc.JdbcSQLException: General error: "java.lang.IllegalStateException: The file is locked: nio:/home/rohan/Documents/Programming/Scala/play-scala-isolated-slick-example/test.mv.db [1.4.196/7]" [50000-196] at org.h2.message.DbException.getJdbcSQLException(DbException.java:345) ... 40 more Caused by: java.lang.IllegalStateException: The file is locked: nio:/home/rohan/Documents/Programming/Scala/play-scala-isolated-slick-example/test.mv.db [1.4.196/7] at org.h2.mvstore.DataUtils.newIllegalStateException(DataUtils.java:765) at org.h2.mvstore.FileStore.open(FileStore.java:168) at org.h2.mvstore.MVStore.(MVStore.java:347) ... 35 more Caused by: java.nio.channels.OverlappingFileLockException at java.base/sun.nio.ch.FileLockTable.checkList(FileLockTable.java:229) at java.base/sun.nio.ch.FileLockTable.add(FileLockTable.java:123) at java.base/sun.nio.ch.FileChannelImpl.tryLock(FileChannelImpl.java:1154) at org.h2.store.fs.FileNio.tryLock(FilePathNio.java:121) at java.base/java.nio.channels.FileChannel.tryLock(FileChannel.java:1165) at org.h2.mvstore.FileStore.open(FileStore.java:165) ... 36 more 2020-05-14 01:03:23 database: flush org.h2.message.DbException: General error: "java.lang.IllegalStateException: The file is locked: nio:/home/rohan/Documents/Programming/Scala/play-scala-isolated-slick-example/test.mv.db [1.4.196/7]" [50000-196] at org.h2.message.DbException.get(DbException.java:168) at org.h2.message.DbException.convert(DbException.java:295) at org.h2.mvstore.db.MVTableEngine$1.uncaughtException(MVTableEngine.java:95) at org.h2.mvstore.MVStore.panic(MVStore.java:378) at org.h2.mvstore.MVStore.(MVStore.java:361) at org.h2.mvstore.MVStore$Builder.open(MVStore.java:2930) at org.h2.mvstore.db.MVTableEngine$Store.open(MVTableEngine.java:155) at org.h2.mvstore.db.MVTableEngine.init(MVTableEngine.java:100) at org.h2.engine.Database.getPageStore(Database.java:2476) at org.h2.engine.Database.open(Database.java:697) at org.h2.engine.Database.openDatabase(Database.java:276) at org.h2.engine.Database.(Database.java:270) at org.h2.engine.Engine.openSession(Engine.java:64) at org.h2.engine.Engine.openSession(Engine.java:176) at org.h2.engine.Engine.createSessionAndValidate(Engine.java:154) at org.h2.engine.Engine.createSession(Engine.java:137) at org.h2.engine.Engine.createSession(Engine.java:27) at org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:354) at org.h2.jdbc.JdbcConnection.(JdbcConnection.java:116) at org.h2.jdbc.JdbcConnection.(JdbcConnection.java:100) at org.h2.Driver.connect(Driver.java:69) at slick.jdbc.DriverDataSource.getConnection(DriverDataSource.scala:101) at slick.jdbc.DataSourceJdbcDataSource.createConnection(JdbcDataSource.scala:71) at com.github.tototoshi.sbt.slick.CodegenPlugin$.gen(CodegenPlugin.scala:81) at com.github.tototoshi.sbt.slick.CodegenPlugin$.$anonfun$projectSettings$13(CodegenPlugin.scala:156) at scala.Function1.$anonfun$compose$1(Function1.scala:49) at sbt.internal.util.$tilde$greater.$anonfun$$u2219$1(TypeFunctions.scala:62) at sbt.std.Transform$$anon$4.work(Transform.scala:67) at sbt.Execute.$anonfun$submit$2(Execute.scala:281) at sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:19) at sbt.Execute.work(Execute.scala:290) at sbt.Execute.$anonfun$submit$1(Execute.scala:281) at sbt.ConcurrentRestrictions$$anon$4.$anonfun$submitValid$1(ConcurrentRestrictions.scala:178) at sbt.CompletionService$$anon$2.call(CompletionService.scala:37) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) 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) Caused by: org.h2.jdbc.JdbcSQLException: General error: "java.lang.IllegalStateException: The file is locked: nio:/home/rohan/Documents/Programming/Scala/play-scala-isolated-slick-example/test.mv.db [1.4.196/7]" [50000-196] at org.h2.message.DbException.getJdbcSQLException(DbException.java:345) ... 40 more Caused by: java.lang.IllegalStateException: The file is locked: nio:/home/rohan/Documents/Programming/Scala/play-scala-isolated-slick-example/test.mv.db [1.4.196/7] at org.h2.mvstore.DataUtils.newIllegalStateException(DataUtils.java:765) at org.h2.mvstore.FileStore.open(FileStore.java:168) at org.h2.mvstore.MVStore.(MVStore.java:347) ... 35 more Caused by: java.nio.channels.OverlappingFileLockException at java.base/sun.nio.ch.FileLockTable.checkList(FileLockTable.java:229) at java.base/sun.nio.ch.FileLockTable.add(FileLockTable.java:123) at java.base/sun.nio.ch.FileChannelImpl.tryLock(FileChannelImpl.java:1154) at org.h2.store.fs.FileNio.tryLock(FilePathNio.java:121) at java.base/java.nio.channels.FileChannel.tryLock(FileChannel.java:1165) at org.h2.mvstore.FileStore.open(FileStore.java:165) ... 36 more 2020-05-14 01:03:49 database: flush org.h2.message.DbException: General error: "java.lang.IllegalStateException: The file is locked: nio:/home/rohan/Documents/Programming/Scala/play-scala-isolated-slick-example/test.mv.db [1.4.196/7]" [50000-196] at org.h2.message.DbException.get(DbException.java:168) at org.h2.message.DbException.convert(DbException.java:295) at org.h2.mvstore.db.MVTableEngine$1.uncaughtException(MVTableEngine.java:95) at org.h2.mvstore.MVStore.panic(MVStore.java:378) at org.h2.mvstore.MVStore.(MVStore.java:361) at org.h2.mvstore.MVStore$Builder.open(MVStore.java:2930) at org.h2.mvstore.db.MVTableEngine$Store.open(MVTableEngine.java:155) at org.h2.mvstore.db.MVTableEngine.init(MVTableEngine.java:100) at org.h2.engine.Database.getPageStore(Database.java:2476) at org.h2.engine.Database.open(Database.java:697) at org.h2.engine.Database.openDatabase(Database.java:276) at org.h2.engine.Database.(Database.java:270) at org.h2.engine.Engine.openSession(Engine.java:64) at org.h2.engine.Engine.openSession(Engine.java:176) at org.h2.engine.Engine.createSessionAndValidate(Engine.java:154) at org.h2.engine.Engine.createSession(Engine.java:137) at org.h2.engine.Engine.createSession(Engine.java:27) at org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:354) at org.h2.jdbc.JdbcConnection.(JdbcConnection.java:116) at org.h2.jdbc.JdbcConnection.(JdbcConnection.java:100) at org.h2.Driver.connect(Driver.java:69) at slick.jdbc.DriverDataSource.getConnection(DriverDataSource.scala:101) at slick.jdbc.DataSourceJdbcDataSource.createConnection(JdbcDataSource.scala:71) at com.github.tototoshi.sbt.slick.CodegenPlugin$.gen(CodegenPlugin.scala:81) at com.github.tototoshi.sbt.slick.CodegenPlugin$.$anonfun$projectSettings$13(CodegenPlugin.scala:156) at scala.Function1.$anonfun$compose$1(Function1.scala:49) at sbt.internal.util.$tilde$greater.$anonfun$$u2219$1(TypeFunctions.scala:62) at sbt.std.Transform$$anon$4.work(Transform.scala:67) at sbt.Execute.$anonfun$submit$2(Execute.scala:281) at sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:19) at sbt.Execute.work(Execute.scala:290) at sbt.Execute.$anonfun$submit$1(Execute.scala:281) at sbt.ConcurrentRestrictions$$anon$4.$anonfun$submitValid$1(ConcurrentRestrictions.scala:178) at sbt.CompletionService$$anon$2.call(CompletionService.scala:37) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) 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) Caused by: org.h2.jdbc.JdbcSQLException: General error: "java.lang.IllegalStateException: The file is locked: nio:/home/rohan/Documents/Programming/Scala/play-scala-isolated-slick-example/test.mv.db [1.4.196/7]" [50000-196] at org.h2.message.DbException.getJdbcSQLException(DbException.java:345) ... 40 more Caused by: java.lang.IllegalStateException: The file is locked: nio:/home/rohan/Documents/Programming/Scala/play-scala-isolated-slick-example/test.mv.db [1.4.196/7] at org.h2.mvstore.DataUtils.newIllegalStateException(DataUtils.java:765) at org.h2.mvstore.FileStore.open(FileStore.java:168) at org.h2.mvstore.MVStore.(MVStore.java:347) ... 35 more Caused by: java.nio.channels.OverlappingFileLockException at java.base/sun.nio.ch.FileLockTable.checkList(FileLockTable.java:229) at java.base/sun.nio.ch.FileLockTable.add(FileLockTable.java:123) at java.base/sun.nio.ch.FileChannelImpl.tryLock(FileChannelImpl.java:1154) at org.h2.store.fs.FileNio.tryLock(FilePathNio.java:121) at java.base/java.nio.channels.FileChannel.tryLock(FileChannel.java:1165) at org.h2.mvstore.FileStore.open(FileStore.java:165) ... 36 more 2020-05-14 01:03:49 database: flush org.h2.message.DbException: General error: "java.lang.IllegalStateException: The file is locked: nio:/home/rohan/Documents/Programming/Scala/play-scala-isolated-slick-example/test.mv.db [1.4.196/7]" [50000-196] at org.h2.message.DbException.get(DbException.java:168) at org.h2.message.DbException.convert(DbException.java:295) at org.h2.mvstore.db.MVTableEngine$1.uncaughtException(MVTableEngine.java:95) at org.h2.mvstore.MVStore.panic(MVStore.java:378) at org.h2.mvstore.MVStore.(MVStore.java:361) at org.h2.mvstore.MVStore$Builder.open(MVStore.java:2930) at org.h2.mvstore.db.MVTableEngine$Store.open(MVTableEngine.java:155) at org.h2.mvstore.db.MVTableEngine.init(MVTableEngine.java:100) at org.h2.engine.Database.getPageStore(Database.java:2476) at org.h2.engine.Database.open(Database.java:697) at org.h2.engine.Database.openDatabase(Database.java:276) at org.h2.engine.Database.(Database.java:270) at org.h2.engine.Engine.openSession(Engine.java:64) at org.h2.engine.Engine.openSession(Engine.java:176) at org.h2.engine.Engine.createSessionAndValidate(Engine.java:154) at org.h2.engine.Engine.createSession(Engine.java:137) at org.h2.engine.Engine.createSession(Engine.java:27) at org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:354) at org.h2.jdbc.JdbcConnection.(JdbcConnection.java:116) at org.h2.jdbc.JdbcConnection.(JdbcConnection.java:100) at org.h2.Driver.connect(Driver.java:69) at slick.jdbc.DriverDataSource.getConnection(DriverDataSource.scala:101) at slick.jdbc.DataSourceJdbcDataSource.createConnection(JdbcDataSource.scala:71) at com.github.tototoshi.sbt.slick.CodegenPlugin$.gen(CodegenPlugin.scala:81) at com.github.tototoshi.sbt.slick.CodegenPlugin$.$anonfun$projectSettings$13(CodegenPlugin.scala:156) at scala.Function1.$anonfun$compose$1(Function1.scala:49) at sbt.internal.util.$tilde$greater.$anonfun$$u2219$1(TypeFunctions.scala:62) at sbt.std.Transform$$anon$4.work(Transform.scala:67) at sbt.Execute.$anonfun$submit$2(Execute.scala:281) at sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:19) at sbt.Execute.work(Execute.scala:290) at sbt.Execute.$anonfun$submit$1(Execute.scala:281) at sbt.ConcurrentRestrictions$$anon$4.$anonfun$submitValid$1(ConcurrentRestrictions.scala:178) at sbt.CompletionService$$anon$2.call(CompletionService.scala:37) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) 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) Caused by: org.h2.jdbc.JdbcSQLException: General error: "java.lang.IllegalStateException: The file is locked: nio:/home/rohan/Documents/Programming/Scala/play-scala-isolated-slick-example/test.mv.db [1.4.196/7]" [50000-196] at org.h2.message.DbException.getJdbcSQLException(DbException.java:345) ... 40 more Caused by: java.lang.IllegalStateException: The file is locked: nio:/home/rohan/Documents/Programming/Scala/play-scala-isolated-slick-example/test.mv.db [1.4.196/7] at org.h2.mvstore.DataUtils.newIllegalStateException(DataUtils.java:765) at org.h2.mvstore.FileStore.open(FileStore.java:168) at org.h2.mvstore.MVStore.(MVStore.java:347) ... 35 more Caused by: java.nio.channels.OverlappingFileLockException at java.base/sun.nio.ch.FileLockTable.checkList(FileLockTable.java:229) at java.base/sun.nio.ch.FileLockTable.add(FileLockTable.java:123) at java.base/sun.nio.ch.FileChannelImpl.tryLock(FileChannelImpl.java:1154) at org.h2.store.fs.FileNio.tryLock(FilePathNio.java:121) at java.base/java.nio.channels.FileChannel.tryLock(FileChannel.java:1165) at org.h2.mvstore.FileStore.open(FileStore.java:165) ... 36 more