java.lang.RuntimeException: java.lang.NoSuchMethodError: com.squareup.javapoet.CodeBlock.of(Ljava/lang/String;[Ljava/lang/Object;)Lcom/squareup/javapoet/CodeBlock; 17:50:15.318 [ERROR] [org.gradle.BuildExceptionReporter] at com.sun.tools.javac.main.Main.compile(Main.java:553) 17:50:15.318 [ERROR] [org.gradle.BuildExceptionReporter] at com.sun.tools.javac.api.JavacTaskImpl.doCall(JavacTaskImpl.java:129) 17:50:15.318 [ERROR] [org.gradle.BuildExceptionReporter] at com.sun.tools.javac.api.JavacTaskImpl.call(JavacTaskImpl.java:138) 17:50:15.318 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.tasks.compile.JdkJavaCompiler.execute(JdkJavaCompiler.java:45) 17:50:15.318 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.tasks.compile.JdkJavaCompiler.execute(JdkJavaCompiler.java:33)

GitHub | fritzfs | 5 months ago
  1. 0

    GitHub comment 880#228551755

    GitHub | 5 months ago | fritzfs
    java.lang.RuntimeException: java.lang.NoSuchMethodError: com.squareup.javapoet.CodeBlock.of(Ljava/lang/String;[Ljava/lang/Object;)Lcom/squareup/javapoet/CodeBlock; 17:50:15.318 [ERROR] [org.gradle.BuildExceptionReporter] at com.sun.tools.javac.main.Main.compile(Main.java:553) 17:50:15.318 [ERROR] [org.gradle.BuildExceptionReporter] at com.sun.tools.javac.api.JavacTaskImpl.doCall(JavacTaskImpl.java:129) 17:50:15.318 [ERROR] [org.gradle.BuildExceptionReporter] at com.sun.tools.javac.api.JavacTaskImpl.call(JavacTaskImpl.java:138) 17:50:15.318 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.tasks.compile.JdkJavaCompiler.execute(JdkJavaCompiler.java:45) 17:50:15.318 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.tasks.compile.JdkJavaCompiler.execute(JdkJavaCompiler.java:33)
  2. 0

    Make start not running Properly (JDK is setup properly)

    GitHub | 2 years ago | comet52
    org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':makeStart'.
  3. 0

    Is it possible to enable -Werror for JavaCompile in gradle?

    Stack Overflow | 2 years ago | Mark
    java.lang.RuntimeException: java.lang.NullPointerException at com.sun.tools.javac.main.Main.compile(Main.java:469) at com.sun.tools.javac.api.JavacTaskImpl.call(JavacTaskImpl.java:132) at org.gradle.api.internal.tasks.compile.JdkJavaCompiler.execute(JdkJavaCompiler.java:42) at org.gradle.api.internal.tasks.compile.JdkJavaCompiler.execute(JdkJavaCompiler.java:35) at org.gradle.api.internal.tasks.compile.NormalizingJavaCompiler.delegateAndHandleErrors(NormalizingJavaCompiler.java:97) at org.gradle.api.internal.tasks.compile.NormalizingJavaCompiler.execute(NormalizingJavaCompiler.java:50) at org.gradle.api.internal.tasks.compile.NormalizingJavaCompiler.execute(NormalizingJavaCompiler.java:36) at org.gradle.api.internal.tasks.compile.CleaningJavaCompilerSupport.execute(CleaningJavaCompilerSupport.java:34) at org.gradle.api.internal.tasks.compile.CleaningJavaCompilerSupport.execute(CleaningJavaCompilerSupport.java:25) at org.gradle.api.tasks.compile.JavaCompile.performCompilation(JavaCompile.java:158) at org.gradle.api.tasks.compile.JavaCompile.compile(JavaCompile.java:138) at org.gradle.api.tasks.compile.JavaCompile.compile(JavaCompile.java:92)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Issue 179786 - android - Getting aidl start issue in CentOS - Jenkins Server - Android Open Source Project - Issue Tracker - Google Project Hosting

    google.com | 12 months ago
    java.lang.RuntimeException: org.gradle.process.internal.ExecException: A problem occurred starting process 'command '/opt/tools/android/build-tools/22.0.1/aidl'' 09:02:07.875 [ERROR] [org.gradle.BuildExceptionReporter] at com.android.ide.common.internal.WaitableExecutor.waitForTasksWithQuickFail(WaitableExecutor.java:116) 09:02:07.875 [ERROR] [org.gradle.BuildExceptionReporter] at com.android.builder.internal.compiler.SourceSearcher.search(SourceSearcher.java:68) 09:02:07.876 [ERROR] [org.gradle.BuildExceptionReporter] at com.android.builder.core.AndroidBuilder.compileAllAidlFiles(AndroidBuilder.java:981) 09:02:07.876 [ERROR] [org.gradle.BuildExceptionReporter] at com.android.builder.core.AndroidBuilder$compileAllAidlFiles$1.call(Unknown Source) 09:02:07.877 [ERROR] [org.gradle.BuildExceptionReporter] at com.android.build.gradle.tasks.AidlCompile.compileAllFiles(AidlCompile.groovy:118) 09:02:07.877 [ERROR] [org.gradle.BuildExceptionReporter] at com.android.build.gradle.tasks.AidlCompile.this$6$compileAllFiles(AidlCompile.groovy) 09:02:07.878 [ERROR] [org.gradle.BuildExceptionReporter] at com.android.build.gradle.tasks.AidlCompile$this$6$compileAllFiles.callCurrent(Unknown Source) 09:02:07.878 [ERROR] [org.gradle.BuildExceptionReporter] at com.android.build.gradle.tasks.AidlCompile.doFullTaskAction(AidlCompile.groovy:168) 09:02:07.879 [ERROR] [org.gradle.BuildExceptionReporter] at com.android.build.gradle.internal.tasks.IncrementalTask.taskAction(IncrementalTask.groovy:64) 09:02:07.879 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:75)
  6. 0

    Exception while checking PR

    GitHub | 10 months ago | Kostronor
    java.lang.RuntimeException: [sonar4bitbucket] Failed to parse git diff: `index ' expected but `d' found error 01-Feb-2016 11:05:42 11:05:42.121 [ERROR] [org.gradle.BuildExceptionReporter] at ch.mibex.bitbucket.sonar.diff.IssuesOnChangedLinesFilter.parseOrFail(IssuesOnChangedLinesFilter.scala:48) error 01-Feb-2016 11:05:42 11:05:42.122 [ERROR] [org.gradle.BuildExceptionReporter] at ch.mibex.bitbucket.sonar.diff.IssuesOnChangedLinesFilter.filter(IssuesOnChangedLinesFilter.scala:19) error 01-Feb-2016 11:05:42 11:05:42.122 [ERROR] [org.gradle.BuildExceptionReporter] at ch.mibex.bitbucket.sonar.review.ReviewCommentsCreator.processIssues(ReviewCommentsCreator.scala:76) error 01-Feb-2016 11:05:42 11:05:42.122 [ERROR] [org.gradle.BuildExceptionReporter] at ch.mibex.bitbucket.sonar.review.ReviewCommentsCreator.createOrUpdateComments(ReviewCommentsCreator.scala:30) error 01-Feb-2016 11:05:42 11:05:42.122 [ERROR] [org.gradle.BuildExceptionReporter] at ch.mibex.bitbucket.sonar.review.SonarReviewPostJob$$anonfun$executeOn$1.apply(SonarReviewPostJob.scala:21) error 01-Feb-2016 11:05:42 11:05:42.122 [ERROR] [org.gradle.BuildExceptionReporter] at ch.mibex.bitbucket.sonar.review.SonarReviewPostJob$$anonfun$executeOn$1.apply(SonarReviewPostJob.scala:18) error 01-Feb-2016 11:05:42 11:05:42.122 [ERROR] [org.gradle.BuildExceptionReporter] at scala.collection.immutable.List.foreach(List.scala:381) error 01-Feb-2016 11:05:42 11:05:42.125 [ERROR] [org.gradle.BuildExceptionReporter] at ch.mibex.bitbucket.sonar.review.SonarReviewPostJob.executeOn(SonarReviewPostJob.scala:18) error 01-Feb-2016 11:05:42 11:05:42.125 [ERROR] [org.gradle.BuildExceptionReporter] at org.sonar.batch.phases.PostJobsExecutor.execute(PostJobsExecutor.java:65) error 01-Feb-2016 11:05:42 11:05:42.126 [ERROR] [org.gradle.BuildExceptionReporter] at org.sonar.batch.phases.PostJobsExecutor.execute(PostJobsExecutor.java:55) error 01-Feb-2016 11:05:42 11:05:42.126 [ERROR] [org.gradle.BuildExceptionReporter] at org.sonar.batch.phases.PhaseExecutor.execute(PhaseExecutor.java:107) error 01-Feb-2016 11:05:42 11:05:42.126 [ERROR] [org.gradle.BuildExceptionReporter] at org.sonar.batch.scan.ModuleScanContainer.doAfterStart(ModuleScanContainer.java:185) error 01-Feb-2016 11:05:42 11:05:42.126 [ERROR] [org.gradle.BuildExceptionReporter] at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:132) error 01-Feb-2016 11:05:42 11:05:42.126 [ERROR] [org.gradle.BuildExceptionReporter] at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:117) error 01-Feb-2016 11:05:42 11:05:42.126 [ERROR] [org.gradle.BuildExceptionReporter] at org.sonar.batch.scan.ProjectScanContainer.scan(ProjectScanContainer.java:243) error 01-Feb-2016 11:05:42 11:05:42.126 [ERROR] [org.gradle.BuildExceptionReporter] at org.sonar.batch.scan.ProjectScanContainer.scanRecursively(ProjectScanContainer.java:238) error 01-Feb-2016 11:05:42 11:05:42.127 [ERROR] [org.gradle.BuildExceptionReporter] at org.sonar.batch.scan.ProjectScanContainer.doAfterStart(ProjectScanContainer.java:228) error 01-Feb-2016 11:05:42 11:05:42.127 [ERROR] [org.gradle.BuildExceptionReporter] at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:132) error 01-Feb-2016 11:05:42 11:05:42.127 [ERROR] [org.gradle.BuildExceptionReporter] at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:117) error 01-Feb-2016 11:05:42 11:05:42.127 [ERROR] [org.gradle.BuildExceptionReporter] at org.sonar.batch.task.ScanTask.execute(ScanTask.java:55) error 01-Feb-2016 11:05:42 11:05:42.127 [ERROR] [org.gradle.BuildExceptionReporter] at org.sonar.batch.task.TaskContainer.doAfterStart(TaskContainer.java:86) error 01-Feb-2016 11:05:42 11:05:42.127 [ERROR] [org.gradle.BuildExceptionReporter] at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:132) error 01-Feb-2016 11:05:42 11:05:42.127 [ERROR] [org.gradle.BuildExceptionReporter] at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:117) error 01-Feb-2016 11:05:42 11:05:42.127 [ERROR] [org.gradle.BuildExceptionReporter] at org.sonar.batch.bootstrap.GlobalContainer.executeTask(GlobalContainer.java:122) error 01-Feb-2016 11:05:42 11:05:42.127 [ERROR] [org.gradle.BuildExceptionReporter] at org.sonar.batch.bootstrapper.Batch.executeTask(Batch.java:119)

    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.RuntimeException

      java.lang.NoSuchMethodError: com.squareup.javapoet.CodeBlock.of(Ljava/lang/String;[Ljava/lang/Object;)Lcom/squareup/javapoet/CodeBlock; 17:50:15.318 [ERROR] [org.gradle.BuildExceptionReporter] at com.sun.tools.javac.main.Main.compile(Main.java:553) 17:50:15.318 [ERROR] [org.gradle.BuildExceptionReporter] at com.sun.tools.javac.api.JavacTaskImpl.doCall(JavacTaskImpl.java:129) 17:50:15.318 [ERROR] [org.gradle.BuildExceptionReporter] at com.sun.tools.javac.api.JavacTaskImpl.call(JavacTaskImpl.java:138) 17:50:15.318 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.tasks.compile.JdkJavaCompiler.execute(JdkJavaCompiler.java:45) 17:50:15.318 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.tasks.compile.JdkJavaCompiler.execute(JdkJavaCompiler.java:33)

      at org.gradle.api.internal.tasks.compile.NormalizingJavaCompiler.delegateAndHandleErrors()
    2. org.gradle.api
      JavaCompile.compile
      1. org.gradle.api.internal.tasks.compile.NormalizingJavaCompiler.delegateAndHandleErrors(NormalizingJavaCompiler.java:101)
      2. org.gradle.api.internal.tasks.compile.NormalizingJavaCompiler.execute(NormalizingJavaCompiler.java:50)
      3. org.gradle.api.internal.tasks.compile.NormalizingJavaCompiler.execute(NormalizingJavaCompiler.java:36)
      4. org.gradle.api.internal.tasks.compile.CleaningJavaCompilerSupport.execute(CleaningJavaCompilerSupport.java:34)
      5. org.gradle.api.internal.tasks.compile.CleaningJavaCompilerSupport.execute(CleaningJavaCompilerSupport.java:25)
      6. org.gradle.api.tasks.compile.JavaCompile.performCompilation(JavaCompile.java:157)
      7. org.gradle.api.tasks.compile.JavaCompile.compile(JavaCompile.java:139)
      8. org.gradle.api.tasks.compile.JavaCompile.compile(JavaCompile.java:93)
      8 frames
    3. com.android.build
      AndroidJavaCompile.compile
      1. com.android.build.gradle.tasks.factory.AndroidJavaCompile.compile(AndroidJavaCompile.java:49)
      1 frame
    4. org.gradle.internal
      JavaMethod.invoke
      1. org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:75)
      1 frame
    5. Gradle Core
      AnnotationProcessingTaskFactory$IncrementalTaskAction.doExecute
      1. org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$IncrementalTaskAction.doExecute(AnnotationProcessingTaskFactory.java:244)
      1 frame