org.gradle.api.plugins.InvalidPluginException: An exception occurred applying plugin request [id: 'org.ajoberstar.grgit', version: '1.4.2']

GitHub | ycl6 | 9 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

    Gradle build fails

    GitHub | 9 months ago | ycl6
    org.gradle.api.plugins.InvalidPluginException: An exception occurred applying plugin request [id: 'org.ajoberstar.grgit', version: '1.4.2']
  2. 0

    fatal: The remote end hung up unexpectedly

    GitHub | 7 months ago | komalsrathi
    org.gradle.api.plugins.InvalidPluginException: An exception occurred applying plugin request [id: 'org.ajoberstar.grgit', version: '1.4.2']
  3. 0

    Build failed with grgit

    GitHub | 1 month ago | gnh1201
    org.gradle.tooling.BuildException: Could not fetch model of type 'GradleBuild' using Gradle distribution 'https://services.gradle.org/distributions/gradle-2.14-bin.zip'.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Obscure error in gh-pages plugin when building exported sources

    GitHub | 10 months ago | nskvortsov
    org.gradle.api.plugins.InvalidPluginException: An exception occurred applying plugin request [id: 'org.ajoberstar.github-pages', version: '1.5.0']

    1 unregistered visitors

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      One of setGitDir or setWorkTree must be called.

      at org.eclipse.jgit.lib.BaseRepositoryBuilder.requireGitDirOrWorkTree()
    2. JGit - Core
      FileRepositoryBuilder$build.call
      1. org.eclipse.jgit.lib.BaseRepositoryBuilder.requireGitDirOrWorkTree(BaseRepositoryBuilder.java:588)
      2. org.eclipse.jgit.lib.BaseRepositoryBuilder.setup(BaseRepositoryBuilder.java:554)
      3. org.eclipse.jgit.storage.file.FileRepositoryBuilder.build(FileRepositoryBuilder.java:92)
      4. org.eclipse.jgit.storage.file.FileRepositoryBuilder$build.call(Unknown Source)
      4 frames
    3. org.ajoberstar.grgit
      OpenOp.call
      1. org.ajoberstar.grgit.operation.OpenOp.call(OpenOp.groovy:95)
      2. org.ajoberstar.grgit.operation.OpenOp.call(OpenOp.groovy)
      2 frames
    4. Unknown
      java_util_concurrent_Callable$call.call
      1. java_util_concurrent_Callable$call.call(Unknown Source)
      1 frame
    5. org.ajoberstar.grgit
      Grgit$__clinit__closure1.doCall
      1. org.ajoberstar.grgit.util.OpSyntaxUtil.tryOp(OpSyntaxUtil.groovy:45)
      2. org.ajoberstar.grgit.Grgit$__clinit__closure1.doCall(Grgit.groovy:193)
      2 frames
    6. org.ajoberstar.gradle
      GrgitPlugin.apply
      1. org.ajoberstar.gradle.git.base.GrgitPlugin.apply(GrgitPlugin.groovy:31)
      2. org.ajoberstar.gradle.git.base.GrgitPlugin.apply(GrgitPlugin.groovy)
      2 frames
    7. Gradle Core
      DefaultGradleLauncher.run
      1. org.gradle.api.internal.plugins.ImperativeOnlyPluginApplicator.applyImperative(ImperativeOnlyPluginApplicator.java:35)
      2. org.gradle.api.internal.plugins.RuleBasedPluginApplicator.applyImperative(RuleBasedPluginApplicator.java:43)
      3. org.gradle.api.internal.plugins.DefaultPluginManager.doApply(DefaultPluginManager.java:137)
      4. org.gradle.api.internal.plugins.DefaultPluginManager.apply(DefaultPluginManager.java:112)
      5. org.gradle.plugin.use.internal.DefaultPluginRequestApplicator$5.run(DefaultPluginRequestApplicator.java:170)
      6. org.gradle.plugin.use.internal.DefaultPluginRequestApplicator.applyPlugin(DefaultPluginRequestApplicator.java:204)
      7. org.gradle.plugin.use.internal.DefaultPluginRequestApplicator.applyPlugins(DefaultPluginRequestApplicator.java:168)
      8. org.gradle.configuration.DefaultScriptPluginFactory$ScriptPluginImpl.apply(DefaultScriptPluginFactory.java:157)
      9. org.gradle.configuration.project.BuildScriptProcessor.execute(BuildScriptProcessor.java:38)
      10. org.gradle.configuration.project.BuildScriptProcessor.execute(BuildScriptProcessor.java:25)
      11. org.gradle.configuration.project.ConfigureActionsProjectEvaluator.evaluate(ConfigureActionsProjectEvaluator.java:34)
      12. org.gradle.configuration.project.LifecycleProjectEvaluator.evaluate(LifecycleProjectEvaluator.java:55)
      13. org.gradle.api.internal.project.AbstractProject.evaluate(AbstractProject.java:540)
      14. org.gradle.api.internal.project.AbstractProject.evaluate(AbstractProject.java:93)
      15. org.gradle.execution.TaskPathProjectEvaluator.configureHierarchy(TaskPathProjectEvaluator.java:42)
      16. org.gradle.configuration.DefaultBuildConfigurer.configure(DefaultBuildConfigurer.java:35)
      17. org.gradle.initialization.DefaultGradleLauncher$2.run(DefaultGradleLauncher.java:124)
      18. org.gradle.internal.Factories$1.create(Factories.java:22)
      19. org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:91)
      20. org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:53)
      21. org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:121)
      22. org.gradle.initialization.DefaultGradleLauncher.access$200(DefaultGradleLauncher.java:32)
      23. org.gradle.initialization.DefaultGradleLauncher$1.create(DefaultGradleLauncher.java:98)
      24. org.gradle.initialization.DefaultGradleLauncher$1.create(DefaultGradleLauncher.java:92)
      25. org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:91)
      26. org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:63)
      27. org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:92)
      28. org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:83)
      28 frames
    8. Gradle Launcher
      RunBuildAction.run
      1. org.gradle.launcher.exec.InProcessBuildActionExecuter$DefaultBuildController.run(InProcessBuildActionExecuter.java:99)
      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:48)
      5. org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:30)
      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:239)
      2. org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:212)
      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.ExceptionReportingAction.execute(ExceptionReportingAction.java:33)
      6. org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:22)
      7. org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:205)
      8. org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:169)
      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