org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':app:transformJackWithJackForMockDebug'.

GitHub | sirivanleo | 3 months ago
  1. 0

    GitHub comment 468#249276560

    GitHub | 3 months ago | sirivanleo
    org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':app:transformJackWithJackForMockDebug'.
  2. 0

    Android Butterknife/DataBinding error

    GitHub | 5 months ago | Dwite
    java.lang.IllegalArgumentException: element public void set(T) is not a member of the containing type android.databinding.ObservableField<java.lang.String> nor any of its superclasses
  3. 0

    Dagger 2.1-SNAPSHOT and Eclipse compile error

    GitHub | 11 months ago | rkapsi
    java.lang.IllegalArgumentException: element protected abstract void initChannel(C) throws java.lang.Exception is not a member of the containing type io.netty.channel.ChannelInitializer<io.netty.channel.socket.SocketChannel> nor any of its superclasses
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Eclipse IllegalArgumentException: element is not valid for the containing declared type

    GitHub | 2 years ago | jdpatterson
    java.lang.IllegalArgumentException: element is not valid for the containing declared type
  6. 0

    GitHub comment 656#148373370

    GitHub | 1 year ago | darrenreimer
    java.lang.IllegalArgumentException: element is not valid for the containing declared type

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      element public abstract android.app.Activity activity() is not a member of the containing type .ChildComponent nor any of its superclasses

      at com.android.jack.eclipse.jdt.internal.compiler.apt.model.TypesImpl.asMemberOf()
    2. com.android.jack
      TypesImpl.asMemberOf
      1. com.android.jack.eclipse.jdt.internal.compiler.apt.model.TypesImpl.asMemberOf(TypesImpl.java:129)
      1 frame
    3. Dagger Compiler
      ComponentProcessingStep.process
      1. dagger.internal.codegen.ComponentValidator.validate(ComponentValidator.java:164)
      2. dagger.internal.codegen.ComponentProcessingStep.process(ComponentProcessingStep.java:123)
      3. dagger.internal.codegen.ComponentProcessingStep.process(ComponentProcessingStep.java:47)
      3 frames
    4. dagger.shaded.auto
      BasicAnnotationProcessor.process
      1. dagger.shaded.auto.common.BasicAnnotationProcessor.process(BasicAnnotationProcessor.java:329)
      2. dagger.shaded.auto.common.BasicAnnotationProcessor.process(BasicAnnotationProcessor.java:182)
      2 frames
    5. com.android.jack
      Api01ConfigImpl$Api01CompilationTaskImpl.run
      1. com.android.jack.eclipse.jdt.internal.compiler.apt.dispatch.RoundDispatcher.handleProcessor(RoundDispatcher.java:139)
      2. com.android.jack.eclipse.jdt.internal.compiler.apt.dispatch.RoundDispatcher.round(RoundDispatcher.java:121)
      3. com.android.jack.eclipse.jdt.internal.compiler.apt.dispatch.BaseAnnotationProcessorManager.processAnnotations(BaseAnnotationProcessorManager.java:159)
      4. com.android.jack.eclipse.jdt.internal.compiler.Compiler.processAnnotations(Compiler.java:909)
      5. com.android.jack.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:434)
      6. com.android.jack.frontend.java.JackBatchCompiler.performCompilation(JackBatchCompiler.java:223)
      7. com.android.jack.eclipse.jdt.internal.compiler.batch.Main.compile(Main.java:1712)
      8. com.android.jack.frontend.java.JackBatchCompiler.compile(JackBatchCompiler.java:188)
      9. com.android.jack.Jack.buildSession(Jack.java:977)
      10. com.android.jack.Jack.run(Jack.java:496)
      11. com.android.jack.api.v01.impl.Api01ConfigImpl$Api01CompilationTaskImpl.run(Api01ConfigImpl.java:102)
      11 frames
    6. com.android.tools.build.builder
      AndroidBuilder.convertByteCodeUsingJack
      1. com.android.builder.core.AndroidBuilder.convertByteCodeUsingJackApis(AndroidBuilder.java:1852)
      2. com.android.builder.core.AndroidBuilder.convertByteCodeUsingJack(AndroidBuilder.java:1679)
      2 frames
    7. com.android.build
      TransformTask$2.call
      1. com.android.build.gradle.internal.transforms.JackTransform.runJack(JackTransform.java:221)
      2. com.android.build.gradle.internal.transforms.JackTransform.transform(JackTransform.java:195)
      3. com.android.build.gradle.internal.pipeline.TransformTask$2.call(TransformTask.java:178)
      4. com.android.build.gradle.internal.pipeline.TransformTask$2.call(TransformTask.java:174)
      4 frames
    8. com.android.builder
      ThreadRecorder.record
      1. com.android.builder.profile.ThreadRecorder.record(ThreadRecorder.java:156)
      1 frame
    9. com.android.build
      TransformTask.transform
      1. com.android.build.gradle.internal.pipeline.TransformTask.transform(TransformTask.java:173)
      1 frame
    10. org.gradle.internal
      JavaMethod.invoke
      1. org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:75)
      1 frame
    11. Gradle Core
      StoppableExecutorImpl$1.run
      1. org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$IncrementalTaskAction.doExecute(AnnotationProcessingTaskFactory.java:245)
      2. org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.execute(AnnotationProcessingTaskFactory.java:221)
      3. org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$IncrementalTaskAction.execute(AnnotationProcessingTaskFactory.java:232)
      4. org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.execute(AnnotationProcessingTaskFactory.java:210)
      5. org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:80)
      6. org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:61)
      7. org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:46)
      8. org.gradle.api.internal.tasks.execution.PostExecutionAnalysisTaskExecuter.execute(PostExecutionAnalysisTaskExecuter.java:35)
      9. org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:66)
      10. org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:58)
      11. org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:52)
      12. org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:52)
      13. org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:53)
      14. org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43)
      15. org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:203)
      16. org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:185)
      17. org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.processTask(AbstractTaskPlanExecutor.java:66)
      18. org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.run(AbstractTaskPlanExecutor.java:50)
      19. org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:54)
      20. org.gradle.internal.concurrent.StoppableExecutorImpl$1.run(StoppableExecutorImpl.java:40)
      20 frames