{"action":"created","issue":{"url":"https://api.github.com/repos/google/dagger/issues/226","labels_url":"https://api.github.com/repos/google/dagger/issues/226/labels{/name}","comments_url":"https://api.github.com/repos/google/dagger/issues/226/comments","events_url":"https://api.github.com/repos/google/dagger/issues/226/events","html_url":"https://github.com/google/dagger/issues/226","id":102060442,"number":226,"title":"Dagger code generation fails without giving any meaningful error","user":{"login":"apolatynski","id":6689108,"avatar_url":"https://avatars.githubusercontent.com/u/6689108?v=3","gravatar_id":"","url":"https://api.github.com/users/apolatynski","html_url":"https://github.com/apolatynski","followers_url":"https://api.github.com/users/apolatynski/followers","following_url":"https://api.github.com/users/apolatynski/following{/other_user}","gists_url":"https://api.github.com/users/apolatynski/gists{/gist_id}","starred_url":"https://api.github.com/users/apolatynski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apolatynski/subscriptions","organizations_url":"https://api.github.com/users/apolatynski/orgs","repos_url":"https://api.github.com/users/apolatynski/repos","events_url":"https://api.github.com/users/apolatynski/events{/privacy}","received_events_url":"https://api.github.com/users/apolatynski/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-20T04:38:19Z","updated_at":"2015-08-20T10:17:38Z","closed_at":null,"body":"Using dagger-compiler version 2.0.1\r\n\r\n```\r\norg.gradle.api.tasks.TaskExecutionException: Execution failed for task ':presentation:compileDebugJava'.\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:42)\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.api.internal.AbstractTask.executeWithoutThrowingTaskFailure(AbstractTask.java:310)\r\n\tat org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.executeTask(AbstractTaskPlanExecutor.java:79)\r\n\tat org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.processTask(AbstractTaskPlanExecutor.java:63)\r\n\tat org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.run(AbstractTaskPlanExecutor.java:51)\r\n\tat org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:54)\r\n\tat org.gradle.internal.concurrent.StoppableExecutorImpl$1.run(StoppableExecutorImpl.java:40)\r\nCaused by: java.lang.RuntimeException: java.lang.IllegalArgumentException: expected one element but was: <android.support.v4.app.FragmentActivity, android.support.v4.app.TaskStackBuilder.SupportParentable>\r\n\tat com.sun.tools.javac.main.Main.compile(Main.java:553)\r\n\tat com.sun.tools.javac.api.JavacTaskImpl.doCall(JavacTaskImpl.java:129)\r\n\tat com.sun.tools.javac.api.JavacTaskImpl.call(JavacTaskImpl.java:138)\r\n\tat org.gradle.api.internal.tasks.compile.JdkJavaCompiler.execute(JdkJavaCompiler.java:45)\r\n\tat org.gradle.api.internal.tasks.compile.JdkJavaCompiler.execute(JdkJavaCompiler.java:33)\r\n\tat org.gradle.api.internal.tasks.compile.NormalizingJavaCompiler.delegateAndHandleErrors(NormalizingJavaCompiler.java:101)\r\n\tat org.gradle.api.internal.tasks.compile.NormalizingJavaCompiler.execute(NormalizingJavaCompiler.java:50)\r\n\tat org.gradle.api.internal.tasks.compile.NormalizingJavaCompiler.execute(NormalizingJavaCompiler.java:36)\r\n\tat org.gradle.api.internal.tasks.compile.CleaningJavaCompilerSupport.execute(CleaningJavaCompilerSupport.java:34)\r\n\tat org.gradle.api.internal.tasks.compile.CleaningJavaCompilerSupport.execute(CleaningJavaCompilerSupport.java:25)\r\n\tat org.gradle.api.tasks.compile.JavaCompile.performCompilation(JavaCompile.java:157)\r\n\tat org.gradle.api.tasks.compile.JavaCompile.compile(JavaCompile.java:137)\r\n\tat org.gradle.api.tasks.compile.JavaCompile.compile(JavaCompile.java:91)\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... 14 more\r\nCaused by: java.lang.IllegalArgumentException: expected one element but was: <android.support.v4.app.FragmentActivity, android.support.v4.app.TaskStackBuilder.SupportParentable>\r\n\tat com.google.common.collect.Iterators.getOnlyElement(Iterators.java:317)\r\n\tat com.google.common.collect.Iterators.getOnlyElement(Iterators.java:329)\r\n\tat com.google.common.collect.Iterables.getOnlyElement(Iterables.java:302)\r\n\tat dagger.shaded.auto.common.MoreTypes.nonObjectSuperclass(MoreTypes.java:722)\r\n\tat dagger.internal.codegen.MembersInjectionBinding$Factory.forInjectedType(MembersInjectionBinding.java:224)\r\n\tat dagger.internal.codegen.InjectBindingRegistry.getOrFindMembersInjectionBinding(InjectBindingRegistry.java:256)\r\n\tat dagger.internal.codegen.BindingGraph$Factory$RequestResolver.rollUpMembersInjectionBindings(BindingGraph.java:326)\r\n\tat dagger.internal.codegen.BindingGraph$Factory$RequestResolver.rollUpMembersInjectionBindings(BindingGraph.java:330)\r\n\tat dagger.internal.codegen.BindingGraph$Factory$RequestResolver.rollUpMembersInjectionBindings(BindingGraph.java:330)\r\n\tat dagger.internal.codegen.BindingGraph$Factory$RequestResolver.lookUpBindings(BindingGraph.java:318)\r\n\tat dagger.internal.codegen.BindingGraph$Factory$RequestResolver.resolve(BindingGraph.java:420)\r\n\tat dagger.internal.codegen.BindingGraph$Factory$RequestResolver.resolve(BindingGraph.java:423)\r\n\tat dagger.internal.codegen.BindingGraph$Factory.create(BindingGraph.java:180)\r\n\tat dagger.internal.codegen.BindingGraph$Factory.create(BindingGraph.java:103)\r\n\tat dagger.internal.codegen.ComponentProcessingStep.processComponents(ComponentProcessingStep.java:146)\r\n\tat dagger.internal.codegen.ComponentProcessingStep.process(ComponentProcessingStep.java:89)\r\n\tat dagger.shaded.auto.common.BasicAnnotationProcessor.process(BasicAnnotationProcessor.java:228)\r\n\tat com.sun.tools.javac.processing.JavacProcessingEnvironment.callProcessor(JavacProcessingEnvironment.java:794)\r\n\tat com.sun.tools.javac.processing.JavacProcessingEnvironment.discoverAndRunProcs(JavacProcessingEnvironment.java:705)\r\n\tat com.sun.tools.javac.processing.JavacProcessingEnvironment.access$1800(JavacProcessingEnvironment.java:91)\r\n\tat com.sun.tools.javac.processing.JavacProcessingEnvironment$Round.run(JavacProcessingEnvironment.java:1035)\r\n\tat com.sun.tools.javac.processing.JavacProcessingEnvironment.doProcessing(JavacProcessingEnvironment.java:1176)\r\n\tat com.sun.tools.javac.main.JavaCompiler.processAnnotations(JavaCompiler.java:1170)\r\n\tat com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:856)\r\n\tat com.sun.tools.javac.main.Main.compile(Main.java:523)\r\n\t... 33 more\r\n```"},"comment":{"url":"https://api.github.com/repos/google/dagger/issues/comments/132965644","html_url":"https://github.com/google/dagger/issues/226#issuecomment-132965644","issue_url":"https://api.github.com/repos/google/dagger/issues/226","id":132965644,"user":{"login":"apolatynski","id":6689108,"avatar_url":"https://avatars.githubusercontent.com/u/6689108?v=3","gravatar_id":"","url":"https://api.github.com/users/apolatynski","html_url":"https://github.com/apolatynski","followers_url":"https://api.github.com/users/apolatynski/followers","following_url":"https://api.github.com/users/apolatynski/following{/other_user}","gists_url":"https://api.github.com/users/apolatynski/gists{/gist_id}","starred_url":"https://api.github.com/users/apolatynski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apolatynski/subscriptions","organizations_url":"https://api.github.com/users/apolatynski/orgs","repos_url":"https://api.github.com/users/apolatynski/repos","events_url":"https://api.github.com/users/apolatynski/events{/privacy}","received_events_url":"https://api.github.com/users/apolatynski/received_events","type":"User","site_admin":false},"created_at":"2015-08-20T10:17:38Z","updated_at":"2015-08-20T10:17:38Z","body":"I had only this stack trace. No other errors that I could extract.\r\n\r\nAfter syncing the project with recent repo changes, the problem disappeared. I'm guessing that this could be related to some project setup issues. I will try to reproduce it and check compilation with disabled annotation-processing."}}