java.util.concurrent.ExecutionException: org.h2.jdbc.JdbcSQLException: Timeout trying to lock table "SYS"; SQL statement: CREATE VIEW INVOICE_DETAIL_VIEW124 as SELECT DTL.* FROM INVOICE_VIEW124 INV JOIN INVOICE_DETAIL_VIEW DTL ON INV.INVOICE_ID = DTL.INVOICE_ID WHERE DESCRIPTION='TEST' [50200-192]

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
Expert tip

Check if you're not creating unused SQL entities, as it might cause this exception.

Solutions on the web

via h2database.com by Unknown author, 1 year ago
org.h2.jdbc.JdbcSQLException: Timeout trying to lock table "SYS"; SQL statement: CREATE VIEW INVOICE_DETAIL_VIEW124 as SELECT DTL.* FROM INVOICE_VIEW124 INV JOIN INVOICE_DETAIL_VIEW DTL ON INV.INVOICE_ID = DTL.INVOICE_ID WHERE DESCRIPTION='TEST' [50200-192]
via GitHub by dschuermann
, 6 months ago
java.lang.NullPointerException: Attempt to read from field 'org.bouncycastle.bcpg.PublicKeyPacket org.bouncycastle.openpgp.PGPPublicKey.publicPk' on a null object reference
via GitHub by dschuermann
, 2 years ago
java.lang.NullPointerException: Attempt to read from field 'org.sufficientlysecure.keychain.operations.results.OperationResult$LogType org.sufficientlysecure.keychain.operations.results.OperationResult$LogEntryParcel.mType' on a null object reference
via GitHub by wildfly-ci
, 1 year ago
java.lang.IllegalStateException: javax.naming.NamingException: Failed to create proxy [Root exception is java.lang.IllegalStateException: EJBCLIENT000024: No EJB receiver available for handling [appName:, moduleName:remote-failover-test, distinctName:] combination]
via GitHub by nadirvardar
, 11 months ago
com.amazonaws.AmazonClientException: Unable to load AWS credentials from any provider in the chain
via Google Groups by David Ongaro, 9 months ago
voldemort.VoldemortException: Exception during swaps on nodes Node dc1-voldemort06:6666 [id 0] in zone 0 partitionList:[0, 12, 24, 36, 48, 60, 72, 84, 96, 108, 120, 132, 144, 156, 168, 180, 192, 204, 216, 228, 240],Node dc1-voldemort07:6666 [id 1
java.util.concurrent.ExecutionException: org.h2.jdbc.JdbcSQLException: Timeout trying to lock table "SYS"; SQL statement: CREATE VIEW INVOICE_DETAIL_VIEW124 as SELECT DTL.* FROM INVOICE_VIEW124 INV JOIN INVOICE_DETAIL_VIEW DTL ON INV.INVOICE_ID = DTL.INVOICE_ID WHERE DESCRIPTION='TEST' [50200-192]
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.mvstore.db.MVTable.doLock1(MVTable.java:223)
at org.h2.mvstore.db.MVTable.lock(MVTable.java:167)
at org.h2.engine.Database.lockMeta(Database.java:909)
at org.h2.engine.Database.addSchemaObject(Database.java:1005)
at org.h2.command.ddl.CreateView.update(CreateView.java:130)
at org.h2.command.CommandContainer.update(CommandContainer.java:98)
at org.h2.command.Command.executeUpdate(Command.java:258)
at org.h2.jdbc.JdbcStatement.executeInternal(JdbcStatement.java:184)
at org.h2.jdbc.JdbcStatement.execute(JdbcStatement.java:158)
at org.h2.test.db.TestMultiThread$6.call(TestMultiThread.java:338)
at org.h2.test.db.TestMultiThread$6.call(TestMultiThread.java:327)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:744)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 2 years ago
Once, 6 months ago
6 times, 9 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.