java.lang.NullPointerException

This exception has no message.

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web123886

  • via Terracotta by unnutz, 11 months ago
    This exception has no message.
  • This exception has no message.
  • This exception has no message.
  • Stack trace

    • java.lang.NullPointerException at com.google.errorprone.bugpatterns.ReferenceEquality.implementsEquals(ReferenceEquality.java:102) at com.google.errorprone.bugpatterns.ReferenceEquality.matchArgument(ReferenceEquality.java:69) at com.google.errorprone.bugpatterns.AbstractReferenceEquality.matchBinary(AbstractReferenceEquality.java:57) at com.google.errorprone.scanner.ErrorProneScanner.visitBinary(ErrorProneScanner.java:556) at com.google.errorprone.scanner.ErrorProneScanner.visitBinary(ErrorProneScanner.java:146) at com.sun.tools.javac.tree.JCTree$JCBinary.accept(JCTree.java:1958) at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:72) at com.google.errorprone.scanner.Scanner.scan(Scanner.java:91) at com.google.errorprone.scanner.Scanner.scan(Scanner.java:45) at com.sun.source.util.TreeScanner.visitParenthesized(TreeScanner.java:573) at com.google.errorprone.scanner.ErrorProneScanner.visitParenthesized(ErrorProneScanner.java:1038) at com.google.errorprone.scanner.ErrorProneScanner.visitParenthesized(ErrorProneScanner.java:146) at com.sun.tools.javac.tree.JCTree$JCParens.accept(JCTree.java:1819) at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:72) at com.google.errorprone.scanner.Scanner.scan(Scanner.java:91) at com.google.errorprone.scanner.Scanner.scan(Scanner.java:45) at com.sun.source.util.TreeScanner.visitIf(TreeScanner.java:419) at com.google.errorprone.scanner.ErrorProneScanner.visitIf(ErrorProneScanner.java:805) at com.google.errorprone.scanner.ErrorProneScanner.visitIf(ErrorProneScanner.java:146) at com.sun.tools.javac.tree.JCTree$JCIf.accept(JCTree.java:1397) at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:72) at com.google.errorprone.scanner.Scanner.scan(Scanner.java:91) at com.google.errorprone.scanner.Scanner.scan(Scanner.java:45) at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:91) at com.sun.source.util.TreeScanner.scan(TreeScanner.java:106) at com.sun.source.util.TreeScanner.visitBlock(TreeScanner.java:249) at com.google.errorprone.scanner.ErrorProneScanner.visitBlock(ErrorProneScanner.java:577) at com.google.errorprone.scanner.ErrorProneScanner.visitBlock(ErrorProneScanner.java:146) at com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:996) at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:72) at com.google.errorprone.scanner.Scanner.scan(Scanner.java:91) at com.google.errorprone.scanner.Scanner.scan(Scanner.java:45) at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:91) at com.sun.source.util.TreeScanner.visitMethod(TreeScanner.java:207) at com.google.errorprone.scanner.ErrorProneScanner.visitMethod(ErrorProneScanner.java:945) at com.google.errorprone.scanner.ErrorProneScanner.visitMethod(ErrorProneScanner.java:146) at com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:868) at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:72) at com.google.errorprone.scanner.Scanner.scan(Scanner.java:91) at com.google.errorprone.scanner.Scanner.scan(Scanner.java:45) at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:91) at com.sun.source.util.TreeScanner.scan(TreeScanner.java:106) at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:114) at com.sun.source.util.TreeScanner.visitClass(TreeScanner.java:188) at com.google.errorprone.scanner.ErrorProneScanner.visitClass(ErrorProneScanner.java:637) at com.google.errorprone.scanner.ErrorProneScanner.visitClass(ErrorProneScanner.java:146) at com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:778) at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:72) at com.google.errorprone.scanner.Scanner.scan(Scanner.java:91) at com.google.errorprone.scanner.Scanner.scan(Scanner.java:45) at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:91) at com.sun.source.util.TreeScanner.scan(TreeScanner.java:106) at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:114) at com.sun.source.util.TreeScanner.visitClass(TreeScanner.java:188) at com.google.errorprone.scanner.ErrorProneScanner.visitClass(ErrorProneScanner.java:637) at com.google.errorprone.scanner.ErrorProneScanner.visitClass(ErrorProneScanner.java:146) at com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:778) at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:72) at com.google.errorprone.scanner.Scanner.scan(Scanner.java:91) at com.google.errorprone.scanner.Scanner.scan(Scanner.java:45) at com.sun.source.util.TreeScanner.scan(TreeScanner.java:106) at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:114) at com.sun.source.util.TreeScanner.visitCompilationUnit(TreeScanner.java:145) at com.google.errorprone.scanner.ErrorProneScanner.visitCompilationUnit(ErrorProneScanner.java:652) at com.google.errorprone.scanner.ErrorProneScanner.visitCompilationUnit(ErrorProneScanner.java:146) at com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:561) at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:53) at com.google.errorprone.scanner.Scanner.scan(Scanner.java:70) at com.google.errorprone.scanner.ErrorProneScannerTransformer.apply(ErrorProneScannerTransformer.java:45) at com.google.errorprone.ErrorProneAnalyzer.finished(ErrorProneAnalyzer.java:125) at com.sun.tools.javac.api.MultiTaskListener.finished(MultiTaskListener.java:113) at com.sun.tools.javac.main.JavaCompiler.flow(JavaCompiler.java:1303) at com.sun.tools.javac.main.JavaCompiler.flow(JavaCompiler.java:1247) at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:858) at com.sun.tools.javac.main.Main.compile(Main.java:253) at com.google.errorprone.BaseErrorProneCompiler.run(BaseErrorProneCompiler.java:190) at com.google.errorprone.BaseErrorProneCompiler.run(BaseErrorProneCompiler.java:101) at com.google.errorprone.ErrorProneCompiler.run(ErrorProneCompiler.java:131) at com.google.errorprone.ErrorProneCompiler.compile(ErrorProneCompiler.java:73) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at net.ltgt.gradle.errorprone.ErrorProneCompiler.execute(ErrorProneCompiler.java:57) at net.ltgt.gradle.errorprone.ErrorProneCompiler.execute(ErrorProneCompiler.java:25) at org.gradle.api.internal.tasks.compile.NormalizingJavaCompiler.delegateAndHandleErrors(NormalizingJavaCompiler.java:104) at org.gradle.api.internal.tasks.compile.NormalizingJavaCompiler.execute(NormalizingJavaCompiler.java:53) at org.gradle.api.internal.tasks.compile.NormalizingJavaCompiler.execute(NormalizingJavaCompiler.java:38) at org.gradle.api.internal.tasks.compile.CleaningJavaCompilerSupport.execute(CleaningJavaCompilerSupport.java:35) at org.gradle.api.internal.tasks.compile.CleaningJavaCompilerSupport.execute(CleaningJavaCompilerSupport.java:25) at org.gradle.api.tasks.compile.JavaCompile.performCompilation(JavaCompile.java:163) at org.gradle.api.tasks.compile.JavaCompile.compile(JavaCompile.java:145) at org.gradle.api.tasks.compile.JavaCompile.compile(JavaCompile.java:93) at com.android.build.gradle.tasks.factory.AndroidJavaCompile.compile(AndroidJavaCompile.java:49) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:75) at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$IncrementalTaskAction.doExecute(AnnotationProcessingTaskFactory.java:245) at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.execute(AnnotationProcessingTaskFactory.java:221) at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$IncrementalTaskAction.execute(AnnotationProcessingTaskFactory.java:232) at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.execute(AnnotationProcessingTaskFactory.java:210) at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:80) at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:61) at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:46) at org.gradle.api.internal.tasks.execution.PostExecutionAnalysisTaskExecuter.execute(PostExecutionAnalysisTaskExecuter.java:35) at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:68) at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:58) at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:52) at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:52) at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:53) at org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43) at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:203) at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:185) at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.processTask(AbstractTaskPlanExecutor.java:66) at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.run(AbstractTaskPlanExecutor.java:50) at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:54) at org.gradle.internal.concurrent.StoppableExecutorImpl$1.run(StoppableExecutorImpl.java:40) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.