{"action":"created","issue":{"url":"https://api.github.com/repos/gradle/gradle/issues/5914","repository_url":"https://api.github.com/repos/gradle/gradle","labels_url":"https://api.github.com/repos/gradle/gradle/issues/5914/labels{/name}","comments_url":"https://api.github.com/repos/gradle/gradle/issues/5914/comments","events_url":"https://api.github.com/repos/gradle/gradle/issues/5914/events","html_url":"https://github.com/gradle/gradle/issues/5914","id":339685573,"node_id":"MDU6SXNzdWUzMzk2ODU1NzM=","number":5914,"title":"Received complete event for an unknown operation in 4.8-RC1","user":{"login":"aj-jaswanth","id":7703387,"node_id":"MDQ6VXNlcjc3MDMzODc=","avatar_url":"https://avatars2.githubusercontent.com/u/7703387?v=4","gravatar_id":"","url":"https://api.github.com/users/aj-jaswanth","html_url":"https://github.com/aj-jaswanth","followers_url":"https://api.github.com/users/aj-jaswanth/followers","following_url":"https://api.github.com/users/aj-jaswanth/following{/other_user}","gists_url":"https://api.github.com/users/aj-jaswanth/gists{/gist_id}","starred_url":"https://api.github.com/users/aj-jaswanth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aj-jaswanth/subscriptions","organizations_url":"https://api.github.com/users/aj-jaswanth/orgs","repos_url":"https://api.github.com/users/aj-jaswanth/repos","events_url":"https://api.github.com/users/aj-jaswanth/events{/privacy}","received_events_url":"https://api.github.com/users/aj-jaswanth/received_events","type":"User","site_admin":false},"labels":[{"id":460356597,"node_id":"MDU6TGFiZWw0NjAzNTY1OTc=","url":"https://api.github.com/repos/gradle/gradle/labels/a:bug","name":"a:bug","color":"d93f0b","default":false},{"id":478384995,"node_id":"MDU6TGFiZWw0NzgzODQ5OTU=","url":"https://api.github.com/repos/gradle/gradle/labels/from:contributor","name":"from:contributor","color":"0052cc","default":false},{"id":561625903,"node_id":"MDU6TGFiZWw1NjE2MjU5MDM=","url":"https://api.github.com/repos/gradle/gradle/labels/in:build-cache","name":"in:build-cache","color":"d4c5f9","default":false}],"state":"closed","locked":false,"assignee":{"login":"wolfs","id":423186,"node_id":"MDQ6VXNlcjQyMzE4Ng==","avatar_url":"https://avatars1.githubusercontent.com/u/423186?v=4","gravatar_id":"","url":"https://api.github.com/users/wolfs","html_url":"https://github.com/wolfs","followers_url":"https://api.github.com/users/wolfs/followers","following_url":"https://api.github.com/users/wolfs/following{/other_user}","gists_url":"https://api.github.com/users/wolfs/gists{/gist_id}","starred_url":"https://api.github.com/users/wolfs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wolfs/subscriptions","organizations_url":"https://api.github.com/users/wolfs/orgs","repos_url":"https://api.github.com/users/wolfs/repos","events_url":"https://api.github.com/users/wolfs/events{/privacy}","received_events_url":"https://api.github.com/users/wolfs/received_events","type":"User","site_admin":false},"assignees":[{"login":"wolfs","id":423186,"node_id":"MDQ6VXNlcjQyMzE4Ng==","avatar_url":"https://avatars1.githubusercontent.com/u/423186?v=4","gravatar_id":"","url":"https://api.github.com/users/wolfs","html_url":"https://github.com/wolfs","followers_url":"https://api.github.com/users/wolfs/followers","following_url":"https://api.github.com/users/wolfs/following{/other_user}","gists_url":"https://api.github.com/users/wolfs/gists{/gist_id}","starred_url":"https://api.github.com/users/wolfs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wolfs/subscriptions","organizations_url":"https://api.github.com/users/wolfs/orgs","repos_url":"https://api.github.com/users/wolfs/repos","events_url":"https://api.github.com/users/wolfs/events{/privacy}","received_events_url":"https://api.github.com/users/wolfs/received_events","type":"User","site_admin":false}],"milestone":null,"comments":9,"created_at":"2018-07-10T04:05:33Z","updated_at":"2018-10-23T13:47:20Z","closed_at":"2018-07-11T16:35:35Z","author_association":"NONE","body":"<!--- \r\nPlease follow the instructions below. We receive dozens of issues every week, so to stay productive, we will close issues that don't provide enough information. \r\n\r\nPlease open Android-related issues on the Android Issue Tracker at https://source.android.com/source/report-bugs\r\nPlease open Kotlin DSL-related issues at https://github.com/gradle/kotlin-dsl/issues\r\nPlease open Gradle Native-related issues at https://github.com/gradle/gradle-native/issues\r\n-->\r\n\r\n<!--- Provide a brief summary of the issue in the title above -->\r\nAfter upgrading from `4.7` to `4.8.1` gradle throws `Received complete event for an unknown operation` error and stops.\r\n### Expected Behavior\r\n<!--- If you're describing a bug, tell us what should happen -->\r\nGradle build should succeed in running all tasks.\r\n<!--- If you're suggesting a change/improvement, tell us how it should work -->\r\n\r\n### Current Behavior\r\n<!--- If describing a bug, tell us what happens instead of the expected behavior -->\r\nThe error is thrown irrespective of parallel builds or running the daemon.\r\n<!--- If suggesting a change/improvement, explain the difference from current behavior -->\r\n\r\n### Context\r\n<!--- How has this issue affected you? What are you trying to accomplish? -->\r\nI have a reproducible sample at https://gist.github.com/aj-jaswanth/de1f847da7a36ead9d58106a6a3c6ff3. Run using `gradle -b blah.gradle runThis`.\r\nThis doesn't happen almost always, please try running multiple times.\r\n<!--- Providing context helps us come up with a solution that is most useful in the real world -->\r\nThe issue is not present in version `4.7` but is present in `4.8-RC1`. After doing a bisect I found that the above error started at the commit `https://github.com/gradle/gradle/commit/f18da336e9aae1a68594b7f56e32da6cccbb0eb9`.\r\n### Your Environment\r\n<!--- Include as many relevant details about the environment you experienced the bug in -->\r\n<!--- A build scan `https://scans.gradle.com/get-started` is ideal -->\r\nI am using macOS 10.13.5, java 1.8.0_162."},"comment":{"url":"https://api.github.com/repos/gradle/gradle/issues/comments/432253768","html_url":"https://github.com/gradle/gradle/issues/5914#issuecomment-432253768","issue_url":"https://api.github.com/repos/gradle/gradle/issues/5914","id":432253768,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMjI1Mzc2OA==","user":{"login":"XeZZoR","id":7604554,"node_id":"MDQ6VXNlcjc2MDQ1NTQ=","avatar_url":"https://avatars1.githubusercontent.com/u/7604554?v=4","gravatar_id":"","url":"https://api.github.com/users/XeZZoR","html_url":"https://github.com/XeZZoR","followers_url":"https://api.github.com/users/XeZZoR/followers","following_url":"https://api.github.com/users/XeZZoR/following{/other_user}","gists_url":"https://api.github.com/users/XeZZoR/gists{/gist_id}","starred_url":"https://api.github.com/users/XeZZoR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/XeZZoR/subscriptions","organizations_url":"https://api.github.com/users/XeZZoR/orgs","repos_url":"https://api.github.com/users/XeZZoR/repos","events_url":"https://api.github.com/users/XeZZoR/events{/privacy}","received_events_url":"https://api.github.com/users/XeZZoR/received_events","type":"User","site_admin":false},"created_at":"2018-10-23T13:47:20Z","updated_at":"2018-10-23T13:47:20Z","author_association":"NONE","body":"I think I get this error cause of:\r\nassemble.doLast({ copyConf.execute() })\r\n\r\nWhere copyConf:\r\n\r\n  task copyConf(type: Copy) {\r\n    from 'config'\r\n    into 'build/libs/config'\r\n    doLast {\r\n      def props = new File(\"$buildDir/libs/config/application-default.properties\")\r\n      props.createNewFile()\r\n      props.write \"build.version=$version\\n\"\r\n      props << other_build_stuff\r\n    }\r\n  }\r\n\r\nGot a multi module project. Some projects have their own configs and those call that copyConf Task after assemble. Is there a more elegant way?"}}
{"actor":{"display_login":"XeZZoR"}}