{"action":"created","issue":{"url":"https://api.github.com/repos/j2objc-contrib/j2objc-gradle/issues/447","labels_url":"https://api.github.com/repos/j2objc-contrib/j2objc-gradle/issues/447/labels{/name}","comments_url":"https://api.github.com/repos/j2objc-contrib/j2objc-gradle/issues/447/comments","events_url":"https://api.github.com/repos/j2objc-contrib/j2objc-gradle/issues/447/events","html_url":"https://github.com/j2objc-contrib/j2objc-gradle/issues/447","id":104207627,"number":447,"title":"Incremental Compile fails with error: failed batch processing sources","user":{"login":"confile","id":64265,"avatar_url":"https://avatars.githubusercontent.com/u/64265?v=3","gravatar_id":"","url":"https://api.github.com/users/confile","html_url":"https://github.com/confile","followers_url":"https://api.github.com/users/confile/followers","following_url":"https://api.github.com/users/confile/following{/other_user}","gists_url":"https://api.github.com/users/confile/gists{/gist_id}","starred_url":"https://api.github.com/users/confile/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/confile/subscriptions","organizations_url":"https://api.github.com/users/confile/orgs","repos_url":"https://api.github.com/users/confile/repos","events_url":"https://api.github.com/users/confile/events{/privacy}","received_events_url":"https://api.github.com/users/confile/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-09-01T07:54:16Z","updated_at":"2015-09-02T17:00:57Z","closed_at":null,"body":"Here is what I did:\r\n\r\n1. ``gradle shared:build```\r\n2. Changes in TestClass.java\r\n3. ``gradle shared:build```  \r\n\r\nThis leads to the following error: \r\n```\r\n:shared:j2objcTranslate FAILED\r\n\r\nFAILURE: Build failed with an exception.\r\n\r\n* What went wrong:\r\nExecution failed for task ':shared:j2objcTranslate'.\r\n> Command Line Failed:\r\n  /Applications/J2Objc/j2objc-0.9.8b/j2objc -d /Users/mg/Downloads/Majestella/shared/build/j2objcSrcGen -sourcepath /Users/mg/Downloads/Majestella/shared/src/main/java:/Users/mg/Downloads/Majestella/shared/build/translationExtraction:/Users/mg/Downloads/Majestella/shared/build/source/apt:/Users/mg/Downloads/Majestella/shared/build/source/base:/Users/mg/Downloads/Majestella/shared/src/test/java -classpath /Users/mg/Downloads/Majestella/shared/lib/json-20140107.jar:/Users/mg/Downloads/Majestella/shared/lib/javax.inject-1.jar:/Users/mg/Downloads/Majestella/shared/lib/auto-factory-1.0-beta2.jar:/Users/mg/Downloads/Majestella/shared/lib/auto-service-1.0-rc2.jar:/Users/mg/Downloads/Majestella/shared/lib/javawriter-2.5.1.jar:/Users/mg/Downloads/Majestella/shared-prebuild/build/libs/shared-prebuild-1.0.jar:/Applications/J2Objc/j2objc-0.9.8b/lib/j2objc_annotations.jar:/Applications/J2Objc/j2objc-0.9.8b/lib/j2objc_guava.jar:/Applications/J2Objc/j2objc-0.9.8b/lib/j2objc_junit.jar:/Applications/J2Objc/j2objc-0.9.8b/lib/jre_emul.jar:/Applications/J2Objc/j2objc-0.9.8b/lib/javax.inject-1.jar:/Applications/J2Objc/j2objc-0.9.8b/lib/jsr305-3.0.0.jar:/Applications/J2Objc/j2objc-0.9.8b/lib/mockito-core-1.9.5.jar:/Users/mg/Downloads/Majestella/shared/build/classes --no-package-directories --prefixes prefixes.properties -use-arc --doc-comments --generate-deprecated /Users/mg/Downloads/Majestella/shared/build/source/apt/generated/BPlaceTokenRegistryImpl.java /Users/mg/Downloads/Majestella/shared/build/source/apt/generated/ProxyModule.java /Users/mg/Downloads/Majestella/shared/build/source/apt/majestella/core/app/serviceSelection/ServiceSelectionPresenterMyProxyImpl.java /Users/mg/Downloads/Majestella/shared/src/main/java/TestClass.java\r\n  Working Dir:\r\n  /Users/mg/Downloads/Majestella/shared\r\n  Cause:\r\n  org.gradle.process.internal.ExecException: Process 'command '/Applications/J2Objc/j2objc-0.9.8b/j2objc'' finished with non-zero exit value 1\r\n  Standard Output:\r\n  \r\n  Error Output:\r\n  1. ERROR: failed\r\n  2. ERROR: failed\r\n  3. ERROR: failed\r\n  4. ERROR: failed\r\n  5. ERROR: failed\r\n  6. ERROR: failed\r\n  7. ERROR: failed\r\n  8. ERROR: failed\r\n  9. ERROR: failed\r\n  10. ERROR: failed\r\n  11. ERROR: failed\r\n  12. ERROR: failed\r\n  12 problems (12 errors)\r\n  error: failed batch processing sources\r\n\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 ':shared:j2objcTranslate'.\r\n\tat org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:69)\r\n\tat org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:46)\r\n\tat org.gradle.api.internal.tasks.execution.PostExecutionAnalysisTaskExecuter.execute(PostExecutionAnalysisTaskExecuter.java:35)\r\n\tat org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:64)\r\n\tat org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:58)\r\n\tat org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:52)\r\n\tat org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:52)\r\n\tat org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:53)\r\n\tat org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43)\r\n\tat org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:208)\r\n\tat org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:186)\r\n\tat org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.processTask(AbstractTaskPlanExecutor.java:62)\r\n\tat org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.run(AbstractTaskPlanExecutor.java:50)\r\n\tat org.gradle.execution.taskgraph.DefaultTaskPlanExecutor.process(DefaultTaskPlanExecutor.java:25)\r\n\tat org.gradle.execution.taskgraph.DefaultTaskGraphExecuter.execute(DefaultTaskGraphExecuter.java:111)\r\n\tat org.gradle.execution.SelectedTaskExecutionAction.execute(SelectedTaskExecutionAction.java:37)\r\n\tat org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:62)\r\n\tat org.gradle.execution.DefaultBuildExecuter.access$200(DefaultBuildExecuter.java:23)\r\n\tat org.gradle.execution.DefaultBuildExecuter$2.proceed(DefaultBuildExecuter.java:68)\r\n\tat org.gradle.execution.DryRunBuildExecutionAction.execute(DryRunBuildExecutionAction.java:32)\r\n\tat org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:62)\r\n\tat org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:55)\r\n\tat org.gradle.initialization.DefaultGradleLauncher$6.run(DefaultGradleLauncher.java:174)\r\n\tat org.gradle.internal.Factories$1.create(Factories.java:22)\r\n\tat org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:62)\r\n\tat org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:47)\r\n\tat org.gradle.initialization.DefaultGradleLauncher.runBuildOperation(DefaultGradleLauncher.java:189)\r\n\tat org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:171)\r\n\tat org.gradle.initialization.DefaultGradleLauncher.access$200(DefaultGradleLauncher.java:35)\r\n\tat org.gradle.initialization.DefaultGradleLauncher$1.create(DefaultGradleLauncher.java:104)\r\n\tat org.gradle.initialization.DefaultGradleLauncher$1.create(DefaultGradleLauncher.java:97)\r\n\tat org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:62)\r\n\tat org.gradle.initialization.DefaultGradleLauncher.runRootBuildOperation(DefaultGradleLauncher.java:184)\r\n\tat org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:97)\r\n\tat org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:86)\r\n\tat org.gradle.launcher.exec.InProcessBuildActionExecuter$DefaultBuildController.run(InProcessBuildActionExecuter.java:93)\r\n\tat org.gradle.tooling.internal.provider.ExecuteBuildActionRunner.run(ExecuteBuildActionRunner.java:28)\r\n\tat org.gradle.launcher.exec.ChainingBuildActionRunner.run(ChainingBuildActionRunner.java:35)\r\n\tat org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:43)\r\n\tat org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:27)\r\n\tat org.gradle.launcher.exec.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:72)\r\n\tat org.gradle.launcher.exec.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:44)\r\n\tat org.gradle.launcher.exec.DaemonUsageSuggestingBuildActionExecuter.execute(DaemonUsageSuggestingBuildActionExecuter.java:50)\r\n\tat org.gradle.launcher.exec.DaemonUsageSuggestingBuildActionExecuter.execute(DaemonUsageSuggestingBuildActionExecuter.java:27)\r\n\tat org.gradle.launcher.cli.RunBuildAction.run(RunBuildAction.java:40)\r\n\tat org.gradle.internal.Actions$RunnableActionAdapter.execute(Actions.java:170)\r\n\tat org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:237)\r\n\tat org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:210)\r\n\tat org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRuntimeValidationAction.java:35)\r\n\tat org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRuntimeValidationAction.java:24)\r\n\tat org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:206)\r\n\tat org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:169)\r\n\tat org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:33)\r\n\tat org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:22)\r\n\tat org.gradle.launcher.Main.doAction(Main.java:33)\r\n\tat org.gradle.launcher.bootstrap.EntryPoint.run(EntryPoint.java:45)\r\n\tat org.gradle.launcher.bootstrap.ProcessBootstrap.runNoExit(ProcessBootstrap.java:54)\r\n\tat org.gradle.launcher.bootstrap.ProcessBootstrap.run(ProcessBootstrap.java:35)\r\n\tat org.gradle.launcher.GradleMain.main(GradleMain.java:23)\r\nCaused by: org.gradle.api.InvalidUserDataException: Command Line Failed:\r\n/Applications/J2Objc/j2objc-0.9.8b/j2objc -d /Users/mg/Downloads/Majestella/shared/build/j2objcSrcGen -sourcepath /Users/mg/Downloads/Majestella/shared/src/main/java:/Users/mg/Downloads/Majestella/shared/build/translationExtraction:/Users/mg/Downloads/Majestella/shared/build/source/apt:/Users/mg/Downloads/Majestella/shared/build/source/base:/Users/mg/Downloads/Majestella/shared/src/test/java -classpath /Users/mg/Downloads/Majestella/shared/lib/json-20140107.jar:/Users/mg/Downloads/Majestella/shared/lib/javax.inject-1.jar:/Users/mg/Downloads/Majestella/shared/lib/auto-factory-1.0-beta2.jar:/Users/mg/Downloads/Majestella/shared/lib/auto-service-1.0-rc2.jar:/Users/mg/Downloads/Majestella/shared/lib/javawriter-2.5.1.jar:/Users/mg/Downloads/Majestella/shared-prebuild/build/libs/shared-prebuild-1.0.jar:/Applications/J2Objc/j2objc-0.9.8b/lib/j2objc_annotations.jar:/Applications/J2Objc/j2objc-0.9.8b/lib/j2objc_guava.jar:/Applications/J2Objc/j2objc-0.9.8b/lib/j2objc_junit.jar:/Applications/J2Objc/j2objc-0.9.8b/lib/jre_emul.jar:/Applications/J2Objc/j2objc-0.9.8b/lib/javax.inject-1.jar:/Applications/J2Objc/j2objc-0.9.8b/lib/jsr305-3.0.0.jar:/Applications/J2Objc/j2objc-0.9.8b/lib/mockito-core-1.9.5.jar:/Users/mg/Downloads/Majestella/shared/build/classes --no-package-directories --prefixes prefixes.properties -use-arc --doc-comments --generate-deprecated /Users/mg/Downloads/Majestella/shared/build/source/apt/generated/BPlaceTokenRegistryImpl.java /Users/mg/Downloads/Majestella/shared/build/source/apt/generated/ProxyModule.java /Users/mg/Downloads/Majestella/shared/build/source/apt/majestella/core/app/serviceSelection/ServiceSelectionPresenterMyProxyImpl.java /Users/mg/Downloads/Majestella/shared/src/main/java/TestClass.java\r\nWorking Dir:\r\n/Users/mg/Downloads/Majestella/shared\r\nCause:\r\norg.gradle.process.internal.ExecException: Process 'command '/Applications/J2Objc/j2objc-0.9.8b/j2objc'' finished with non-zero exit value 1\r\nStandard Output:\r\n\r\nError Output:\r\n1. ERROR: failed\r\n2. ERROR: failed\r\n3. ERROR: failed\r\n4. ERROR: failed\r\n5. ERROR: failed\r\n6. ERROR: failed\r\n7. ERROR: failed\r\n8. ERROR: failed\r\n9. ERROR: failed\r\n10. ERROR: failed\r\n11. ERROR: failed\r\n12. ERROR: failed\r\n12 problems (12 errors)\r\nerror: failed batch processing sources\r\n\r\n\tat com.github.j2objccontrib.j2objcgradle.tasks.Utils.projectExec(Utils.groovy:567)\r\n\tat com.github.j2objccontrib.j2objcgradle.tasks.TranslateTask.translate(TranslateTask.groovy:245)\r\n\tat org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:75)\r\n\tat org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$IncrementalTaskAction.doExecute(AnnotationProcessingTaskFactory.java:243)\r\n\tat org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.execute(AnnotationProcessingTaskFactory.java:219)\r\n\tat org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$IncrementalTaskAction.execute(AnnotationProcessingTaskFactory.java:230)\r\n\tat org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.execute(AnnotationProcessingTaskFactory.java:208)\r\n\tat org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:80)\r\n\tat org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:61)\r\n\t... 58 more\r\nCaused by: org.gradle.process.internal.ExecException: Process 'command '/Applications/J2Objc/j2objc-0.9.8b/j2objc'' finished with non-zero exit value 1\r\n\tat org.gradle.process.internal.DefaultExecHandle$ExecResultImpl.assertNormalExitValue(DefaultExecHandle.java:366)\r\n\tat org.gradle.process.internal.DefaultExecAction.execute(DefaultExecAction.java:31)\r\n\tat org.gradle.api.internal.file.DefaultFileOperations.exec(DefaultFileOperations.java:165)\r\n\tat org.gradle.api.internal.project.AbstractProject.exec(AbstractProject.java:792)\r\n\tat org.gradle.api.internal.project.AbstractProject.exec(AbstractProject.java:788)\r\n\tat org.gradle.api.Project$exec$4.call(Unknown Source)\r\n\tat com.github.j2objccontrib.j2objcgradle.tasks.Utils.projectExec(Utils.groovy:550)\r\n\t... 66 more\r\n\r\n\r\nBUILD FAILED\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/j2objc-contrib/j2objc-gradle/issues/comments/137171208","html_url":"https://github.com/j2objc-contrib/j2objc-gradle/issues/447#issuecomment-137171208","issue_url":"https://api.github.com/repos/j2objc-contrib/j2objc-gradle/issues/447","id":137171208,"user":{"login":"brunobowden","id":679339,"avatar_url":"https://avatars.githubusercontent.com/u/679339?v=3","gravatar_id":"","url":"https://api.github.com/users/brunobowden","html_url":"https://github.com/brunobowden","followers_url":"https://api.github.com/users/brunobowden/followers","following_url":"https://api.github.com/users/brunobowden/following{/other_user}","gists_url":"https://api.github.com/users/brunobowden/gists{/gist_id}","starred_url":"https://api.github.com/users/brunobowden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brunobowden/subscriptions","organizations_url":"https://api.github.com/users/brunobowden/orgs","repos_url":"https://api.github.com/users/brunobowden/repos","events_url":"https://api.github.com/users/brunobowden/events{/privacy}","received_events_url":"https://api.github.com/users/brunobowden/received_events","type":"User","site_admin":false},"created_at":"2015-09-02T17:00:57Z","updated_at":"2015-09-02T17:00:57Z","body":"What's helpful is a small amount of helpful targeted information, not lots of information. So look through the logs yourself and see if you can pick out a small section that looks helpful. For example a few lines where you can say \"this seems to indicate that the problem may be XXXX\". When you share pages and pages debug logs, it's too much information, that I don't have the time to read through it.\r\n\r\nThe ideal thing to publicly share the source code for a small test case that shows the problem. Even better, add it as an example to the \"systemTests\" directory so that we can ensure it stays fixed."}}