{"action":"created","issue":{"url":"https://api.github.com/repos/jk1/Gradle-License-Report/issues/11","repository_url":"https://api.github.com/repos/jk1/Gradle-License-Report","labels_url":"https://api.github.com/repos/jk1/Gradle-License-Report/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/jk1/Gradle-License-Report/issues/11/comments","events_url":"https://api.github.com/repos/jk1/Gradle-License-Report/issues/11/events","html_url":"https://github.com/jk1/Gradle-License-Report/issues/11","id":190351532,"number":11,"title":"getting a StackOverflowError...","user":{"login":"schlm3","id":1853840,"avatar_url":"https://avatars.githubusercontent.com/u/1853840?v=3","gravatar_id":"","url":"https://api.github.com/users/schlm3","html_url":"https://github.com/schlm3","followers_url":"https://api.github.com/users/schlm3/followers","following_url":"https://api.github.com/users/schlm3/following{/other_user}","gists_url":"https://api.github.com/users/schlm3/gists{/gist_id}","starred_url":"https://api.github.com/users/schlm3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schlm3/subscriptions","organizations_url":"https://api.github.com/users/schlm3/orgs","repos_url":"https://api.github.com/users/schlm3/repos","events_url":"https://api.github.com/users/schlm3/events{/privacy}","received_events_url":"https://api.github.com/users/schlm3/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"jk1","id":715844,"avatar_url":"https://avatars.githubusercontent.com/u/715844?v=3","gravatar_id":"","url":"https://api.github.com/users/jk1","html_url":"https://github.com/jk1","followers_url":"https://api.github.com/users/jk1/followers","following_url":"https://api.github.com/users/jk1/following{/other_user}","gists_url":"https://api.github.com/users/jk1/gists{/gist_id}","starred_url":"https://api.github.com/users/jk1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jk1/subscriptions","organizations_url":"https://api.github.com/users/jk1/orgs","repos_url":"https://api.github.com/users/jk1/repos","events_url":"https://api.github.com/users/jk1/events{/privacy}","received_events_url":"https://api.github.com/users/jk1/received_events","type":"User","site_admin":false},"assignees":[{"login":"jk1","id":715844,"avatar_url":"https://avatars.githubusercontent.com/u/715844?v=3","gravatar_id":"","url":"https://api.github.com/users/jk1","html_url":"https://github.com/jk1","followers_url":"https://api.github.com/users/jk1/followers","following_url":"https://api.github.com/users/jk1/following{/other_user}","gists_url":"https://api.github.com/users/jk1/gists{/gist_id}","starred_url":"https://api.github.com/users/jk1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jk1/subscriptions","organizations_url":"https://api.github.com/users/jk1/orgs","repos_url":"https://api.github.com/users/jk1/repos","events_url":"https://api.github.com/users/jk1/events{/privacy}","received_events_url":"https://api.github.com/users/jk1/received_events","type":"User","site_admin":false}],"milestone":null,"comments":3,"created_at":"2016-11-18T15:48:31Z","updated_at":"2016-11-18T17:22:47Z","closed_at":null,"body":"Hi, \r\nI am new to gradle and I am evaluating if it can replace our ivy based dependency management. For this, it needs to be able to report the used licenses of all dependencies. This plugin seems exactly what I am looking for.\r\nHowever, when I try to run it, I get a java.lang.StackOverflowError:\r\n\r\n```\r\nD:\\DEV\\gradleTest>gradlew generateLicenseReport --stacktrace\r\n:generateLicenseReport FAILED\r\n\r\nFAILURE: Build failed with an exception.\r\n\r\n* What went wrong:\r\nExecution failed for task ':generateLicenseReport'.\r\n> java.lang.StackOverflowError (no error message)\r\n\r\n* Try:\r\nRun with --info or --debug option to get more log output.\r\n\r\n* Exception is:\r\norg.gradle.api.tasks.TaskExecutionException: Execution failed for task ':generateLicenseReport'.\r\n        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:84)\r\n        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:55)\r\n        at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:61)\r\n        at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:58)\r\n        at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:88)\r\n        at org.gradle.api.internal.tasks.execution.ResolveTaskArtifactStateTaskExecuter.execute(ResolveTaskArtifactStateTaskExecuter.java:45)\r\n        at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:51)\r\n        at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:54)\r\n        at org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43)\r\n        at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:34)\r\n        at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:233)\r\n        at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:215)\r\n        at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.processTask(AbstractTaskPlanExecutor.java:74)\r\n        at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.run(AbstractTaskPlanExecutor.java:55)\r\n        at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor.process(DefaultTaskPlanExecutor.java:32)\r\n        at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter.execute(DefaultTaskGraphExecuter.java:113)\r\n        at org.gradle.execution.SelectedTaskExecutionAction.execute(SelectedTaskExecutionAction.java:37)\r\n        at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:37)\r\n        at org.gradle.execution.DefaultBuildExecuter.access$000(DefaultBuildExecuter.java:23)\r\n        at org.gradle.execution.DefaultBuildExecuter$1.proceed(DefaultBuildExecuter.java:43)\r\n        at org.gradle.execution.DryRunBuildExecutionAction.execute(DryRunBuildExecutionAction.java:32)\r\n        at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:37)\r\n        at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:30)\r\n        at org.gradle.initialization.DefaultGradleLauncher$4.run(DefaultGradleLauncher.java:197)\r\n        at org.gradle.internal.Factories$1.create(Factories.java:25)\r\n        at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:91)\r\n        at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:53)\r\n        at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:194)\r\n        at org.gradle.initialization.DefaultGradleLauncher.access$200(DefaultGradleLauncher.java:36)\r\n        at org.gradle.initialization.DefaultGradleLauncher$1.create(DefaultGradleLauncher.java:118)\r\n        at org.gradle.initialization.DefaultGradleLauncher$1.create(DefaultGradleLauncher.java:112)\r\n        at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:91)\r\n        at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:63)\r\n        at org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:112)\r\n        at org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:98)\r\n        at org.gradle.launcher.exec.GradleBuildController.run(GradleBuildController.java:66)\r\n        at org.gradle.tooling.internal.provider.ExecuteBuildActionRunner.run(ExecuteBuildActionRunner.java:28)\r\n        at org.gradle.launcher.exec.ChainingBuildActionRunner.run(ChainingBuildActionRunner.java:35)\r\n        at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:41)\r\n        at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:26)\r\n        at org.gradle.tooling.internal.provider.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:75)\r\n        at org.gradle.tooling.internal.provider.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:49)\r\n        at org.gradle.tooling.internal.provider.ServicesSetupBuildActionExecuter.execute(ServicesSetupBuildActionExecuter.java:44)\r\n        at org.gradle.tooling.internal.provider.ServicesSetupBuildActionExecuter.execute(ServicesSetupBuildActionExecuter.java:29)\r\n        at org.gradle.launcher.daemon.server.exec.ExecuteBuild.doBuild(ExecuteBuild.java:67)\r\n        at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)\r\n        at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)\r\n        at org.gradle.launcher.daemon.server.exec.WatchForDisconnection.execute(WatchForDisconnection.java:47)\r\n        at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)\r\n        at org.gradle.launcher.daemon.server.exec.ResetDeprecationLogger.execute(ResetDeprecationLogger.java:26)\r\n        at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)\r\n        at org.gradle.launcher.daemon.server.exec.RequestStopIfSingleUsedDaemon.execute(RequestStopIfSingleUsedDaemon.java:34)\r\n        at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)\r\n        at org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.call(ForwardClientInput.java:74)\r\n        at org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.call(ForwardClientInput.java:72)\r\n        at org.gradle.util.Swapper.swap(Swapper.java:38)\r\n        at org.gradle.launcher.daemon.server.exec.ForwardClientInput.execute(ForwardClientInput.java:72)\r\n        at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)\r\n        at org.gradle.launcher.daemon.server.exec.LogAndCheckHealth.execute(LogAndCheckHealth.java:55)\r\n        at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)\r\n        at org.gradle.launcher.daemon.server.exec.LogToClient.doBuild(LogToClient.java:60)\r\n        at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)\r\n        at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)\r\n        at org.gradle.launcher.daemon.server.exec.EstablishBuildEnvironment.doBuild(EstablishBuildEnvironment.java:72)\r\n        at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)\r\n        at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)\r\n        at org.gradle.launcher.daemon.server.exec.StartBuildOrRespondWithBusy$1.run(StartBuildOrRespondWithBusy.java:50)\r\n        at org.gradle.launcher.daemon.server.DaemonStateCoordinator$1.run(DaemonStateCoordinator.java:293)\r\n        at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:54)\r\n        at org.gradle.internal.concurrent.StoppableExecutorImpl$1.run(StoppableExecutorImpl.java:40)\r\nCaused by: java.lang.StackOverflowError\r\n        at com.github.jk1.license.reader.ConfigurationReader$ResolvedDependencyComparator.compare(ConfigurationReader.groovy:46)\r\n        at com.github.jk1.license.reader.ConfigurationReader$ResolvedDependencyComparator.compare(ConfigurationReader.groovy)\r\n        at java_util_Set$add$2.call(Unknown Source)\r\n        at com.github.jk1.license.reader.ConfigurationReader.collectDependencies(ConfigurationReader.groovy:37)\r\n        at com.github.jk1.license.reader.ConfigurationReader$_collectDependencies_closure1.doCall(ConfigurationReader.groovy:39)\r\n        at com.github.jk1.license.reader.ConfigurationReader.collectDependencies(ConfigurationReader.groovy:39)\r\n        at com.github.jk1.license.reader.ConfigurationReader$_collectDependencies_closure1.doCall(ConfigurationReader.groovy:39)\r\n        at com.github.jk1.license.reader.ConfigurationReader.collectDependencies(ConfigurationReader.groovy:39)\r\n        at com.github.jk1.license.reader.ConfigurationReader$_collectDependencies_closure1.doCall(ConfigurationReader.groovy:39)\r\n        at com.github.jk1.license.reader.ConfigurationReader.collectDependencies(ConfigurationReader.groovy:39)\r\n        at com.github.jk1.license.reader.ConfigurationReader$_collectDependencies_closure1.doCall(ConfigurationReader.groovy:39)\r\n        at com.github.jk1.license.reader.ConfigurationReader.collectDependencies(ConfigurationReader.groovy:39)\r\n        at com.github.jk1.license.reader.ConfigurationReader$_collectDependencies_closure1.doCall(ConfigurationReader.groovy:39)\r\n        at com.github.jk1.license.reader.ConfigurationReader.collectDependencies(ConfigurationReader.groovy:39)\r\n        at com.github.jk1.license.reader.ConfigurationReader$_collectDependencies_closure1.doCall(ConfigurationReader.groovy:39)\r\n.....\r\n        at com.github.jk1.license.reader.ConfigurationReader.collectDependencies(ConfigurationReader.groovy:39)\r\n        at com.github.jk1.license.reader.ConfigurationReader$_collectDependencies_closure1.doCall(ConfigurationReader.groovy:39)\r\n\r\n\r\nBUILD FAILED\r\n\r\nTotal time: 25.532 secs\r\n```\r\n\r\nAny Idea what could cause this?\r\n\r\n(I am using gradle 3.2)"},"comment":{"url":"https://api.github.com/repos/jk1/Gradle-License-Report/issues/comments/261589179","html_url":"https://github.com/jk1/Gradle-License-Report/issues/11#issuecomment-261589179","issue_url":"https://api.github.com/repos/jk1/Gradle-License-Report/issues/11","id":261589179,"user":{"login":"jk1","id":715844,"avatar_url":"https://avatars.githubusercontent.com/u/715844?v=3","gravatar_id":"","url":"https://api.github.com/users/jk1","html_url":"https://github.com/jk1","followers_url":"https://api.github.com/users/jk1/followers","following_url":"https://api.github.com/users/jk1/following{/other_user}","gists_url":"https://api.github.com/users/jk1/gists{/gist_id}","starred_url":"https://api.github.com/users/jk1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jk1/subscriptions","organizations_url":"https://api.github.com/users/jk1/orgs","repos_url":"https://api.github.com/users/jk1/repos","events_url":"https://api.github.com/users/jk1/events{/privacy}","received_events_url":"https://api.github.com/users/jk1/received_events","type":"User","site_admin":false},"created_at":"2016-11-18T17:22:47Z","updated_at":"2016-11-18T17:22:47Z","body":"I'll proceed with a blind fix then. \r\nMeanwhile here's the other thing to try: add the following line to your gradle.properties file:\r\n\r\norg.gradle.jvmargs=-Xss16M\r\n\r\nIt may help if this is not a true cycle, but rather a very deep tree."}}
{"actor":{"display_login":"jk1"}}