java.lang.IllegalArgumentException: org.eclipse.jdt.internal.compiler.ast.ArrayTypeReference

GitHub | Synthlight | 4 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. Speed up your debug routine!

    Automated exception search integrated into your IDE

    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

      org.eclipse.jdt.internal.compiler.ast.ArrayTypeReference

      at com.android.tools.lint.psi.EcjPsiBuilder.toExpression()
    2. com.android.tools
      EcjPsiBuilder.create
      1. com.android.tools.lint.psi.EcjPsiBuilder.toExpression(EcjPsiBuilder.java:977)
      2. com.android.tools.lint.psi.EcjPsiBuilder.toFunctionalExpression(EcjPsiBuilder.java:1038)
      3. com.android.tools.lint.psi.EcjPsiBuilder.toExpression(EcjPsiBuilder.java:969)
      4. com.android.tools.lint.psi.EcjPsiBuilder.toArguments(EcjPsiBuilder.java:2281)
      5. com.android.tools.lint.psi.EcjPsiBuilder.toCallExpression(EcjPsiBuilder.java:1094)
      6. com.android.tools.lint.psi.EcjPsiBuilder.toExpression(EcjPsiBuilder.java:959)
      7. com.android.tools.lint.psi.EcjPsiBuilder.toVariable(EcjPsiBuilder.java:1723)
      8. com.android.tools.lint.psi.EcjPsiBuilder.toDeclarationStatement(EcjPsiBuilder.java:2376)
      9. com.android.tools.lint.psi.EcjPsiBuilder.toStatement(EcjPsiBuilder.java:1852)
      10. com.android.tools.lint.psi.EcjPsiBuilder.toBlock(EcjPsiBuilder.java:1811)
      11. com.android.tools.lint.psi.EcjPsiBuilder.toMethod(EcjPsiBuilder.java:913)
      12. com.android.tools.lint.psi.EcjPsiBuilder.initializeClassBody(EcjPsiBuilder.java:798)
      13. com.android.tools.lint.psi.EcjPsiBuilder.toClass(EcjPsiBuilder.java:700)
      14. com.android.tools.lint.psi.EcjPsiBuilder.toFile(EcjPsiBuilder.java:2518)
      15. com.android.tools.lint.psi.EcjPsiBuilder.create(EcjPsiBuilder.java:387)
      15 frames
    3. com.android.tools.lint.lint
      EcjParser.parseJavaToPsi
      1. com.android.tools.lint.EcjParser$EcjResult.findFile(EcjParser.java:348)
      2. com.android.tools.lint.EcjParser.parseJavaToPsi(EcjParser.java:634)
      2 frames
    4. com.android.tools.lint.lint-api
      LintDriver.analyze
      1. com.android.tools.lint.client.api.JavaPsiVisitor.visitFile(JavaPsiVisitor.java:277)
      2. com.android.tools.lint.client.api.LintDriver.visitJavaFiles(LintDriver.java:1571)
      3. com.android.tools.lint.client.api.LintDriver.checkJava(LintDriver.java:1551)
      4. com.android.tools.lint.client.api.LintDriver.runFileDetectors(LintDriver.java:1090)
      5. com.android.tools.lint.client.api.LintDriver.checkProject(LintDriver.java:935)
      6. com.android.tools.lint.client.api.LintDriver.analyze(LintDriver.java:454)
      7. com.android.tools.lint.client.api.LintDriver.analyze(LintDriver.java:395)
      7 frames
    5. com.android.tools.lint.lint
      LintCliClient.run
      1. com.android.tools.lint.LintCliClient.run(LintCliClient.java:131)
      1 frame
    6. com.android.tools.build.gradle
      Lint.lint
      1. com.android.build.gradle.internal.LintGradleClient.run(LintGradleClient.java:146)
      2. com.android.build.gradle.tasks.Lint.runLint(Lint.java:255)
      3. com.android.build.gradle.tasks.Lint.lintSingleVariant(Lint.java:224)
      4. com.android.build.gradle.tasks.Lint.lint(Lint.java:109)
      4 frames
    7. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:498)
      4 frames
    8. org.gradle.internal
      JavaMethod.invoke
      1. org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:73)
      1 frame
    9. Gradle Core
      StoppableExecutorImpl$1.run
      1. org.gradle.api.internal.project.taskfactory.DefaultTaskClassInfoStore$StandardTaskAction.doExecute(DefaultTaskClassInfoStore.java:141)
      2. org.gradle.api.internal.project.taskfactory.DefaultTaskClassInfoStore$StandardTaskAction.execute(DefaultTaskClassInfoStore.java:134)
      3. org.gradle.api.internal.project.taskfactory.DefaultTaskClassInfoStore$StandardTaskAction.execute(DefaultTaskClassInfoStore.java:123)
      4. org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:624)
      5. org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:607)
      6. org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:95)
      7. org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:76)
      8. org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:55)
      9. org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:61)
      10. org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:58)
      11. org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:88)
      12. org.gradle.api.internal.tasks.execution.ResolveTaskArtifactStateTaskExecuter.execute(ResolveTaskArtifactStateTaskExecuter.java:45)
      13. org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:51)
      14. org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:54)
      15. org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43)
      16. org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:34)
      17. org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:233)
      18. org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:215)
      19. org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.processTask(AbstractTaskPlanExecutor.java:74)
      20. org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.run(AbstractTaskPlanExecutor.java:55)
      21. org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:54)
      22. org.gradle.internal.concurrent.StoppableExecutorImpl$1.run(StoppableExecutorImpl.java:40)
      22 frames
    10. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      3. java.lang.Thread.run(Thread.java:745)
      3 frames