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

GitHub | fractalemagic | 6 months ago
  1. 0

    GitHub comment 384#254474652

    GitHub | 3 months ago | GavinHua
    org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':app:greendao'.
  2. 0
    Properties of subclasses may have to be referenced in a different way. More on this here: https://goo.gl/FvnBXb
    via goo.gl
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0
    Some bots are sending malformed HTTP requests to your site. Try to find their IP addresses in the access logs and ask them to fix the bots or blacklist them.

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Can't resolve qualified name for ChapterDao. Try to do not use imports on demand or specify qualified name explicitly (line 29)

      at org.greenrobot.greendao.codemodifier.JdtUtilsKt.resolveName()
    2. org.greenrobot.greendao
      EntityClassASTVisitor.endVisit
      1. org.greenrobot.greendao.codemodifier.JdtUtilsKt.resolveName(JdtUtils.kt:63)
      2. org.greenrobot.greendao.codemodifier.JdtUtilsKt.typeName(JdtUtils.kt:88)
      3. org.greenrobot.greendao.codemodifier.EntityClassASTVisitor.getTypeName(EntityClassASTVisitor.kt:68)
      4. org.greenrobot.greendao.codemodifier.EntityClassASTVisitor.toVariableType(EntityClassASTVisitor.kt:63)
      5. org.greenrobot.greendao.codemodifier.EntityClassASTVisitor.endVisit(EntityClassASTVisitor.kt:118)
      5 frames
    3. JDT Core
      ASTNode.accept
      1. org.eclipse.jdt.core.dom.FieldDeclaration.accept0(FieldDeclaration.java:291)
      2. org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2711)
      3. org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:2782)
      4. org.eclipse.jdt.core.dom.TypeDeclaration.accept0(TypeDeclaration.java:470)
      5. org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2711)
      6. org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:2782)
      7. org.eclipse.jdt.core.dom.CompilationUnit.accept0(CompilationUnit.java:212)
      8. org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2711)
      8 frames
    4. org.greenrobot.greendao
      Greendao3Generator$run$entities$1.invoke
      1. org.greenrobot.greendao.codemodifier.EntityClassParser.parse(EntityClassParser.kt:33)
      2. org.greenrobot.greendao.codemodifier.JdtCodeContext.parse(JdtCodeContext.kt:23)
      3. org.greenrobot.greendao.codemodifier.Greendao3Generator$run$entities$1.invoke(Greendao3Generator.kt:28)
      4. org.greenrobot.greendao.codemodifier.Greendao3Generator$run$entities$1.invoke(Greendao3Generator.kt:13)
      4 frames
    5. kotlin.sequences
      SequencesKt___SequencesKt.toList
      1. kotlin.sequences.TransformingSequence$iterator$1.next(Sequences.kt:137)
      2. kotlin.sequences.FilteringSequence$iterator$1.calcNext(Sequences.kt:98)
      3. kotlin.sequences.FilteringSequence$iterator$1.hasNext(Sequences.kt:121)
      4. kotlin.sequences.SequencesKt___SequencesKt.toCollection(_Sequences.kt:508)
      5. kotlin.sequences.SequencesKt___SequencesKt.toMutableList(_Sequences.kt:532)
      6. kotlin.sequences.SequencesKt___SequencesKt.toList(_Sequences.kt:525)
      6 frames
    6. org.greenrobot.greendao
      Greendao3GradlePlugin$createGreendaoTask$$inlined$apply$lambda$1.execute
      1. org.greenrobot.greendao.codemodifier.Greendao3Generator.run(Greendao3Generator.kt:30)
      2. org.greenrobot.greendao.gradle.Greendao3GradlePlugin$createGreendaoTask$$inlined$apply$lambda$1.execute(Greendao3GradlePlugin.kt:94)
      3. org.greenrobot.greendao.gradle.Greendao3GradlePlugin$createGreendaoTask$$inlined$apply$lambda$1.execute(Greendao3GradlePlugin.kt:13)
      3 frames
    7. Gradle Core
      DefaultGradleLauncher.run
      1. org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:585)
      2. org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:568)
      3. org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:80)
      4. org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:61)
      5. org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:46)
      6. org.gradle.api.internal.tasks.execution.PostExecutionAnalysisTaskExecuter.execute(PostExecutionAnalysisTaskExecuter.java:35)
      7. org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:68)
      8. org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:58)
      9. org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:52)
      10. org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:52)
      11. org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:53)
      12. org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43)
      13. org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:203)
      14. org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:185)
      15. org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.processTask(AbstractTaskPlanExecutor.java:66)
      16. org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.run(AbstractTaskPlanExecutor.java:50)
      17. org.gradle.execution.taskgraph.DefaultTaskPlanExecutor.process(DefaultTaskPlanExecutor.java:25)
      18. org.gradle.execution.taskgraph.DefaultTaskGraphExecuter.execute(DefaultTaskGraphExecuter.java:110)
      19. org.gradle.execution.SelectedTaskExecutionAction.execute(SelectedTaskExecutionAction.java:37)
      20. org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:37)
      21. org.gradle.execution.DefaultBuildExecuter.access$000(DefaultBuildExecuter.java:23)
      22. org.gradle.execution.DefaultBuildExecuter$1.proceed(DefaultBuildExecuter.java:43)
      23. org.gradle.execution.DryRunBuildExecutionAction.execute(DryRunBuildExecutionAction.java:32)
      24. org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:37)
      25. org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:30)
      26. org.gradle.initialization.DefaultGradleLauncher$4.run(DefaultGradleLauncher.java:154)
      27. org.gradle.internal.Factories$1.create(Factories.java:22)
      28. org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:90)
      29. org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:52)
      30. org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:151)
      31. org.gradle.initialization.DefaultGradleLauncher.access$200(DefaultGradleLauncher.java:32)
      32. org.gradle.initialization.DefaultGradleLauncher$1.create(DefaultGradleLauncher.java:99)
      33. org.gradle.initialization.DefaultGradleLauncher$1.create(DefaultGradleLauncher.java:93)
      34. org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:90)
      35. org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:62)
      36. org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:93)
      37. org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:82)
      37 frames
    8. Gradle Launcher
      RunBuildAction.run
      1. org.gradle.launcher.exec.InProcessBuildActionExecuter$DefaultBuildController.run(InProcessBuildActionExecuter.java:94)
      2. org.gradle.tooling.internal.provider.ExecuteBuildActionRunner.run(ExecuteBuildActionRunner.java:28)
      3. org.gradle.launcher.exec.ChainingBuildActionRunner.run(ChainingBuildActionRunner.java:35)
      4. org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:43)
      5. org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:28)
      6. org.gradle.launcher.exec.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:81)
      7. org.gradle.launcher.exec.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:46)
      8. org.gradle.launcher.exec.DaemonUsageSuggestingBuildActionExecuter.execute(DaemonUsageSuggestingBuildActionExecuter.java:51)
      9. org.gradle.launcher.exec.DaemonUsageSuggestingBuildActionExecuter.execute(DaemonUsageSuggestingBuildActionExecuter.java:28)
      10. org.gradle.launcher.cli.RunBuildAction.run(RunBuildAction.java:43)
      10 frames
    9. Gradle Core
      Actions$RunnableActionAdapter.execute
      1. org.gradle.internal.Actions$RunnableActionAdapter.execute(Actions.java:173)
      1 frame
    10. Gradle Launcher
      GradleMain.main
      1. org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:241)
      2. org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:214)
      3. org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRuntimeValidationAction.java:35)
      4. org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRuntimeValidationAction.java:24)
      5. org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:207)
      6. org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:169)
      7. org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:33)
      8. org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:22)
      9. org.gradle.launcher.Main.doAction(Main.java:33)
      10. org.gradle.launcher.bootstrap.EntryPoint.run(EntryPoint.java:45)
      11. org.gradle.launcher.bootstrap.ProcessBootstrap.runNoExit(ProcessBootstrap.java:55)
      12. org.gradle.launcher.bootstrap.ProcessBootstrap.run(ProcessBootstrap.java:36)
      13. org.gradle.launcher.GradleMain.main(GradleMain.java:23)
      13 frames
    11. org.gradle.wrapper
      GradleWrapperMain.main
      1. org.gradle.wrapper.BootstrapMainStarter.start(BootstrapMainStarter.java:30)
      2. org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:129)
      3. org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:61)
      3 frames