org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':app:generateBlaBlaSqlDelightInterface'.

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 warcello
, 1 year ago
Execution failed for task ':app:generateBlaBlaSqlDelightInterface'.
via GitHub by letientai299
, 1 year ago
Execution failed for task ':app:processDebugResources'.
via GitHub by hemf2010
, 1 year ago
Execution failed for task ':app:transformClassesWithAuxiliaryInjectForWINBONSDebug'.
via GitHub by sahityaPasnoor
, 1 year ago
Execution failed for task ':Panel_Android:compileDevelopmentDebugJavaWithJavac'.
via GitHub by c1024
, 1 year ago
Execution failed for task ': whiteCollar:compileProdPreviewJavaWithJavac'.
via GitHub by miomao656
, 1 year ago
Execution failed for task ':data:compileDebugJavaWithJavac'.
java.lang.ClassCastException: com.squareup.sqldelight.SqliteParser$ExprContext cannot be cast to com.squareup.sqldelight.SqliteParser$Column_defContext
at com.squareup.sqldelight.model.SqlStmtKt.replacements(SqlStmt.kt:49)
at com.squareup.sqldelight.model.SqlStmtKt.replacements(SqlStmt.kt:53)
at com.squareup.sqldelight.model.SqlStmtKt.replacements(SqlStmt.kt:53)
at com.squareup.sqldelight.model.SqlStmtKt.replacements(SqlStmt.kt:53)
at com.squareup.sqldelight.model.SqlStmtKt.replacements(SqlStmt.kt:53)
at com.squareup.sqldelight.model.SqlStmtKt.sqliteText(SqlStmt.kt:36)
at com.squareup.sqldelight.SqliteCompiler.write(SqliteCompiler.kt:128)
at com.squareup.sqldelight.SqliteCompiler.access$write(SqliteCompiler.kt:48)
at com.squareup.sqldelight.SqliteCompiler$Companion.write(SqliteCompiler.kt:167)
at com.squareup.sqldelight.gradle.SqlDelightTask$execute$2.execute(SqlDelightTask.kt:81)
at com.squareup.sqldelight.gradle.SqlDelightTask$execute$2.execute(SqlDelightTask.kt:43)
at org.gradle.api.internal.changedetection.changes.RebuildIncrementalTaskInputs.doOutOfDate(RebuildIncrementalTaskInputs.java:45)
at org.gradle.api.internal.changedetection.changes.StatefulIncrementalTaskInputs.outOfDate(StatefulIncrementalTaskInputs.java:46)
at com.squareup.sqldelight.gradle.SqlDelightTask.execute(SqlDelightTask.kt:70)
at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:75)
at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$IncrementalTaskAction.doExecute(AnnotationProcessingTaskFactory.java:244)
at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.execute(AnnotationProcessingTaskFactory.java:220)
at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$IncrementalTaskAction.execute(AnnotationProcessingTaskFactory.java:231)
at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.execute(AnnotationProcessingTaskFactory.java:209)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:80)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:61)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:46)
at org.gradle.api.internal.tasks.execution.PostExecutionAnalysisTaskExecuter.execute(PostExecutionAnalysisTaskExecuter.java:35)
at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:64)
at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:58)
at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:52)
at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:52)
at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:53)
at org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43)
at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:203)
at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:185)
at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.processTask(AbstractTaskPlanExecutor.java:66)
at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.run(AbstractTaskPlanExecutor.java:50)
at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:54)

Users with the same issue

You are the first who have seen this exception.

Write tip

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