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

GitHub | nskvortsov | 9 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Obscure error in gh-pages plugin when building exported sources

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

    Gradle build fails

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

    fatal: The remote end hung up unexpectedly

    GitHub | 6 months ago | komalsrathi
    org.gradle.api.plugins.InvalidPluginException: An exception occurred applying plugin request [id: 'org.ajoberstar.grgit', version: '1.4.2']
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    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:589)
      2. org.eclipse.jgit.lib.BaseRepositoryBuilder.setup(BaseRepositoryBuilder.java:555)
      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
      GithubPagesPluginExtension_Decorated.<init>
      1. org.ajoberstar.gradle.git.ghpages.GithubPagesPluginExtension.<init>(GithubPagesPluginExtension.groovy:87)
      2. org.ajoberstar.gradle.git.ghpages.GithubPagesPluginExtension_Decorated.<init>(Unknown Source)
      2 frames
    7. org.gradle.internal
      DirectInstantiator.newInstance
      1. org.gradle.internal.reflect.DirectInstantiator.newInstance(DirectInstantiator.java:42)
      1 frame
    8. Gradle Core
      DefaultConvention.create
      1. org.gradle.api.internal.ClassGeneratorBackedInstantiator.newInstance(ClassGeneratorBackedInstantiator.java:36)
      2. org.gradle.api.internal.plugins.DefaultConvention.create(DefaultConvention.java:103)
      2 frames
    9. org.ajoberstar.gradle
      GithubPagesPlugin.apply
      1. org.ajoberstar.gradle.git.ghpages.GithubPagesPlugin.apply(GithubPagesPlugin.groovy:37)
      2. org.ajoberstar.gradle.git.ghpages.GithubPagesPlugin.apply(GithubPagesPlugin.groovy)
      2 frames
    10. 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.configure(TaskPathProjectEvaluator.java:35)
      16. org.gradle.configuration.DefaultBuildConfigurer.configure(DefaultBuildConfigurer.java:33)
      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
    11. 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
    12. Gradle Core
      Actions$RunnableActionAdapter.execute
      1. org.gradle.internal.Actions$RunnableActionAdapter.execute(Actions.java:173)
      1 frame
    13. 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
    14. 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