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

Solutions on the web

via GitHub by gcscaglia
, 1 year ago
Cycle references detected, can't sort table references!
java.lang.IllegalStateException: Cycle references detected, can't sort table references!	at org.jetbrains.exposed.dao.EntityCache$Companion.sortTablesByReferences(Entity.kt:437)	at org.jetbrains.exposed.sql.SchemaUtils.createStatements(SchemaUtils.kt:15)	at org.jetbrains.exposed.sql.SchemaUtils.create(SchemaUtils.kt:102)	at example.TestMetaModels$testCreate$1.invoke(TestMetaModels.kt:22)	at example.TestMetaModels$testCreate$1.invoke(TestMetaModels.kt:12)	at org.jetbrains.exposed.sql.transactions.ThreadLocalTransactionManagerKt.inTopLevelTransaction(ThreadLocalTransactionManager.kt:69)	at org.jetbrains.exposed.sql.transactions.ThreadLocalTransactionManagerKt.transaction(ThreadLocalTransactionManager.kt:57)	at org.jetbrains.exposed.sql.transactions.ThreadLocalTransactionManagerKt.transaction(ThreadLocalTransactionManager.kt:48)	at example.TestMetaModels.testCreate(TestMetaModels.kt:21)