org.gradle.api.ProjectConfigurationException: A problem occurred configuring project ':app'.

GitHub | jkapusta | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    NullPointerException while configuring project

    GitHub | 7 months ago | jkapusta
    org.gradle.api.ProjectConfigurationException: A problem occurred configuring project ':app'.
  2. 0

    NullPointerException when publishing a Grails 3 plugin

    Stack Overflow | 2 years ago | Dónal
    java.lang.NullPointerException
  3. 0

    NPE when one Asciidoctor task depends on another

    GitHub | 3 years ago | ysb33r
    org.gradle.api.GradleScriptException: A problem occurred evaluating root project 'TMP3'.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Nullpointer exception when used with Gradle 2.4+

    GitHub | 2 years ago | hzsweers
    java.lang.NullPointerException

    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.NullPointerException

      No message provided

      at org.gradle.api.internal.tasks.DefaultTaskDependency.add()
    2. Gradle Core
      AbstractTask.dependsOn
      1. org.gradle.api.internal.tasks.DefaultTaskDependency.add(DefaultTaskDependency.java:110)
      2. org.gradle.api.internal.AbstractTask$11.run(AbstractTask.java:352)
      3. org.gradle.api.internal.tasks.TaskMutator.mutate(TaskMutator.java:40)
      4. org.gradle.api.internal.AbstractTask.dependsOn(AbstractTask.java:350)
      4 frames
    3. de.triplet.gradle
      PlayPublisherPlugin$_apply_closure2.doCall
      1. de.triplet.gradle.play.PlayPublisherPlugin$_apply_closure2$_closure4.doCall(PlayPublisherPlugin.groovy:103)
      2. de.triplet.gradle.play.PlayPublisherPlugin$_apply_closure2.doCall(PlayPublisherPlugin.groovy:103)
      2 frames
    4. Gradle Core
      DefaultDomainObjectCollection.add
      1. org.gradle.api.internal.ClosureBackedAction.execute(ClosureBackedAction.java:70)
      2. org.gradle.util.ConfigureUtil.configureTarget(ConfigureUtil.java:160)
      3. org.gradle.util.ConfigureUtil.configure(ConfigureUtil.java:106)
      4. org.gradle.util.ConfigureUtil$1.execute(ConfigureUtil.java:123)
      5. org.gradle.listener.ActionBroadcast.execute(ActionBroadcast.java:39)
      6. org.gradle.api.internal.DefaultDomainObjectCollection.doAdd(DefaultDomainObjectCollection.java:172)
      7. org.gradle.api.internal.DefaultDomainObjectCollection.add(DefaultDomainObjectCollection.java:166)
      7 frames
    5. com.android.tools.build.gradle
      BasePlugin$11.call
      1. com.android.build.gradle.AppExtension.addVariant(AppExtension.java:47)
      2. com.android.build.gradle.internal.ApiObjectFactory.create(ApiObjectFactory.java:113)
      3. com.android.build.gradle.BasePlugin$11.call(BasePlugin.java:692)
      4. com.android.build.gradle.BasePlugin$11.call(BasePlugin.java:685)
      4 frames
    6. com.android.builder
      ThreadRecorder.record
      1. com.android.builder.profile.ThreadRecorder.record(ThreadRecorder.java:156)
      2. com.android.builder.profile.ThreadRecorder.record(ThreadRecorder.java:120)
      2 frames
    7. com.android.tools.build.gradle
      BasePlugin$10.call
      1. com.android.build.gradle.BasePlugin.createAndroidTasks(BasePlugin.java:683)
      2. com.android.build.gradle.BasePlugin$10.call(BasePlugin.java:608)
      3. com.android.build.gradle.BasePlugin$10.call(BasePlugin.java:605)
      3 frames
    8. com.android.builder
      ThreadRecorder.record
      1. com.android.builder.profile.ThreadRecorder.record(ThreadRecorder.java:156)
      2. com.android.builder.profile.ThreadRecorder.record(ThreadRecorder.java:120)
      2 frames
    9. com.android.tools.build.gradle
      BasePlugin.lambda$createTasks$1
      1. com.android.build.gradle.BasePlugin.lambda$createTasks$1(BasePlugin.java:603)
      1 frame
    10. org.gradle.internal
      ProxyDispatchAdapter$DispatchingInvocationHandler.invoke
      1. org.gradle.internal.event.BroadcastDispatch$ActionInvocationHandler.dispatch(BroadcastDispatch.java:93)
      2. org.gradle.internal.event.BroadcastDispatch$ActionInvocationHandler.dispatch(BroadcastDispatch.java:82)
      3. org.gradle.internal.event.AbstractBroadcastDispatch.dispatch(AbstractBroadcastDispatch.java:44)
      4. org.gradle.internal.event.BroadcastDispatch.dispatch(BroadcastDispatch.java:79)
      5. org.gradle.internal.event.BroadcastDispatch.dispatch(BroadcastDispatch.java:30)
      6. org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:93)
      6 frames
    11. com.sun.proxy
      $Proxy12.afterEvaluate
      1. com.sun.proxy.$Proxy12.afterEvaluate(Unknown Source)
      1 frame
    12. Gradle Core
      DefaultGradleLauncher.run
      1. org.gradle.configuration.project.LifecycleProjectEvaluator.notifyAfterEvaluate(LifecycleProjectEvaluator.java:67)
      2. org.gradle.configuration.project.LifecycleProjectEvaluator.evaluate(LifecycleProjectEvaluator.java:61)
      3. org.gradle.api.internal.project.DefaultProject.evaluate(DefaultProject.java:573)
      4. org.gradle.api.internal.project.DefaultProject.evaluate(DefaultProject.java:125)
      5. org.gradle.execution.TaskPathProjectEvaluator.configure(TaskPathProjectEvaluator.java:35)
      6. org.gradle.execution.TaskSelector.getSelection(TaskSelector.java:82)
      7. org.gradle.execution.TaskSelector.getSelection(TaskSelector.java:75)
      8. org.gradle.execution.commandline.CommandLineTaskParser.parseTasks(CommandLineTaskParser.java:42)
      9. org.gradle.execution.TaskNameResolvingBuildConfigurationAction.configure(TaskNameResolvingBuildConfigurationAction.java:44)
      10. org.gradle.execution.DefaultBuildConfigurationActionExecuter.configure(DefaultBuildConfigurationActionExecuter.java:48)
      11. org.gradle.execution.DefaultBuildConfigurationActionExecuter.access$000(DefaultBuildConfigurationActionExecuter.java:25)
      12. org.gradle.execution.DefaultBuildConfigurationActionExecuter$1.proceed(DefaultBuildConfigurationActionExecuter.java:54)
      13. org.gradle.execution.DefaultTasksBuildExecutionAction.configure(DefaultTasksBuildExecutionAction.java:44)
      14. org.gradle.execution.DefaultBuildConfigurationActionExecuter.configure(DefaultBuildConfigurationActionExecuter.java:48)
      15. org.gradle.execution.DefaultBuildConfigurationActionExecuter.access$000(DefaultBuildConfigurationActionExecuter.java:25)
      16. org.gradle.execution.DefaultBuildConfigurationActionExecuter$1.proceed(DefaultBuildConfigurationActionExecuter.java:54)
      17. org.gradle.execution.ExcludedTaskFilteringBuildConfigurationAction.configure(ExcludedTaskFilteringBuildConfigurationAction.java:47)
      18. org.gradle.execution.DefaultBuildConfigurationActionExecuter.configure(DefaultBuildConfigurationActionExecuter.java:48)
      19. org.gradle.execution.DefaultBuildConfigurationActionExecuter.select(DefaultBuildConfigurationActionExecuter.java:36)
      20. org.gradle.initialization.DefaultGradleLauncher$3.run(DefaultGradleLauncher.java:142)
      21. org.gradle.internal.Factories$1.create(Factories.java:22)
      22. org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:91)
      23. org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:53)
      24. org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:139)
      25. org.gradle.initialization.DefaultGradleLauncher.access$200(DefaultGradleLauncher.java:32)
      26. org.gradle.initialization.DefaultGradleLauncher$1.create(DefaultGradleLauncher.java:98)
      27. org.gradle.initialization.DefaultGradleLauncher$1.create(DefaultGradleLauncher.java:92)
      28. org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:91)
      29. org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:63)
      30. org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:92)
      31. org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:83)
      31 frames
    13. Gradle Launcher
      InProcessBuildActionExecuter$DefaultBuildController.run
      1. org.gradle.launcher.exec.InProcessBuildActionExecuter$DefaultBuildController.run(InProcessBuildActionExecuter.java:94)
      1 frame
    14. org.gradle.tooling
      BuildModelActionRunner.run
      1. org.gradle.tooling.internal.provider.runner.BuildModelActionRunner.run(BuildModelActionRunner.java:46)
      1 frame
    15. Gradle Launcher
      ChainingBuildActionRunner.run
      1. org.gradle.launcher.exec.ChainingBuildActionRunner.run(ChainingBuildActionRunner.java:35)
      1 frame
    16. org.gradle.tooling
      SubscribableBuildActionRunner.run
      1. org.gradle.tooling.internal.provider.runner.SubscribableBuildActionRunner.run(SubscribableBuildActionRunner.java:58)
      1 frame
    17. Gradle Launcher
      ForwardClientInput$2.call
      1. org.gradle.launcher.exec.ChainingBuildActionRunner.run(ChainingBuildActionRunner.java:35)
      2. org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:43)
      3. org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:28)
      4. org.gradle.launcher.exec.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:82)
      5. org.gradle.launcher.exec.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:49)
      6. org.gradle.launcher.daemon.server.exec.ExecuteBuild.doBuild(ExecuteBuild.java:59)
      7. org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)
      8. org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
      9. org.gradle.launcher.daemon.server.exec.WatchForDisconnection.execute(WatchForDisconnection.java:49)
      10. org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
      11. org.gradle.launcher.daemon.server.exec.ResetDeprecationLogger.execute(ResetDeprecationLogger.java:26)
      12. org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
      13. org.gradle.launcher.daemon.server.exec.RequestStopIfSingleUsedDaemon.execute(RequestStopIfSingleUsedDaemon.java:34)
      14. org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
      15. org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.call(ForwardClientInput.java:74)
      16. org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.call(ForwardClientInput.java:72)
      16 frames
    18. Gradle Core
      Swapper.swap
      1. org.gradle.util.Swapper.swap(Swapper.java:38)
      1 frame
    19. Gradle Launcher
      DaemonStateCoordinator$1.run
      1. org.gradle.launcher.daemon.server.exec.ForwardClientInput.execute(ForwardClientInput.java:72)
      2. org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
      3. org.gradle.launcher.daemon.server.exec.LogAndCheckHealth.execute(LogAndCheckHealth.java:55)
      4. org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
      5. org.gradle.launcher.daemon.server.exec.LogToClient.doBuild(LogToClient.java:60)
      6. org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)
      7. org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
      8. org.gradle.launcher.daemon.server.exec.EstablishBuildEnvironment.doBuild(EstablishBuildEnvironment.java:72)
      9. org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)
      10. org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
      11. org.gradle.launcher.daemon.server.exec.HintGCAfterBuild.execute(HintGCAfterBuild.java:44)
      12. org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
      13. org.gradle.launcher.daemon.server.exec.StartBuildOrRespondWithBusy$1.run(StartBuildOrRespondWithBusy.java:50)
      14. org.gradle.launcher.daemon.server.DaemonStateCoordinator$1.run(DaemonStateCoordinator.java:240)
      14 frames
    20. Gradle Core
      StoppableExecutorImpl$1.run
      1. org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:54)
      2. org.gradle.internal.concurrent.StoppableExecutorImpl$1.run(StoppableExecutorImpl.java:40)
      2 frames