Created
July 1, 2020 02:02
-
-
Save yigit/aa20e141bee8264719ac22d2dbfad210 to your computer and use it in GitHub Desktop.
Kotlin compilation exception
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ERROR: Exception while analyzing expression at (339,28) in /home/yboyar/src/androidx-master-dev/frameworks/support/room/integration-tests/kotlintestapp/src/androidTest/java/androidx/room/integration/kotlintestapp/dao/BooksDao.kt | |
org.jetbrains.kotlin.utils.KotlinExceptionWithAttachments: Exception while analyzing expression at (339,28) in /home/yboyar/src/androidx-master-dev/frameworks/support/room/integration-tests/kotlintestapp/src/androidTest/java/androidx/room/integration/kotlintestapp/dao/BooksDao.kt | |
at org.jetbrains.kotlin.types.expressions.ExpressionTypingVisitorDispatcher.logOrThrowException(ExpressionTypingVisitorDispatcher.java:246) | |
at org.jetbrains.kotlin.types.expressions.ExpressionTypingVisitorDispatcher.lambda$getTypeInfo$0(ExpressionTypingVisitorDispatcher.java:224) | |
at org.jetbrains.kotlin.util.PerformanceCounter.time(PerformanceCounter.kt:101) | |
at org.jetbrains.kotlin.types.expressions.ExpressionTypingVisitorDispatcher.getTypeInfo(ExpressionTypingVisitorDispatcher.java:164) | |
at org.jetbrains.kotlin.types.expressions.ExpressionTypingVisitorDispatcher.getTypeInfo(ExpressionTypingVisitorDispatcher.java:134) | |
at org.jetbrains.kotlin.types.expressions.ExpressionTypingVisitorDispatcher.getTypeInfo(ExpressionTypingVisitorDispatcher.java:146) | |
at org.jetbrains.kotlin.types.expressions.ExpressionTypingServices.getBodyExpressionType(ExpressionTypingServices.java:232) | |
at org.jetbrains.kotlin.resolve.DescriptorResolver.lambda$inferReturnTypeFromExpressionBody$4(DescriptorResolver.java:1217) | |
at org.jetbrains.kotlin.storage.LockBasedStorageManager$LockBasedLazyValue.invoke(LockBasedStorageManager.java:358) | |
at org.jetbrains.kotlin.storage.LockBasedStorageManager$LockBasedNotNullLazyValue.invoke(LockBasedStorageManager.java:478) | |
at org.jetbrains.kotlin.types.DeferredType.getDelegate(DeferredType.java:107) | |
at org.jetbrains.kotlin.types.WrappedType.unwrap(KotlinType.kt:134) | |
at org.jetbrains.kotlin.resolve.calls.inference.InferenceUtilsKt.getReturnTypeOrNothing(InferenceUtils.kt:66) | |
at org.jetbrains.kotlin.ksp.symbol.impl.kotlin.KSFunctionDeclarationImpl$returnType$2$1.invoke(KSFunctionDeclarationImpl.kt:106) | |
at org.jetbrains.kotlin.ksp.symbol.impl.kotlin.KSFunctionDeclarationImpl$returnType$2$1.invoke(KSFunctionDeclarationImpl.kt:21) | |
at org.jetbrains.kotlin.ksp.symbol.impl.kotlin.KSTypeReferenceDeferredImpl$resolved$2.invoke(KSTypeReferenceDeferredImpl.kt:26) | |
at org.jetbrains.kotlin.ksp.symbol.impl.kotlin.KSTypeReferenceDeferredImpl$resolved$2.invoke(KSTypeReferenceDeferredImpl.kt:10) | |
at kotlin.SynchronizedLazyImpl.getValue(LazyJVM.kt:74) | |
at org.jetbrains.kotlin.ksp.symbol.impl.kotlin.KSTypeReferenceDeferredImpl.getResolved(KSTypeReferenceDeferredImpl.kt) | |
at org.jetbrains.kotlin.ksp.symbol.impl.kotlin.KSTypeReferenceDeferredImpl.resolve(KSTypeReferenceDeferredImpl.kt:29) | |
at androidx.room.compiler.ksp.KspExecutableType.<init>(KspExecutableType.kt:14) | |
at androidx.room.compiler.ksp.KspExecutableElement.asMemberOf(KspExecutableElement.kt:57) | |
at androidx.room.processor.DefaultMethodProcessorDelegate.extractReturnType(MethodProcessorDelegate.kt:126) | |
at androidx.room.processor.TransactionMethodProcessor.process(TransactionMethodProcessor.kt:47) | |
at androidx.room.processor.DaoProcessor.process(DaoProcessor.kt:129) | |
at androidx.room.processor.DatabaseProcessor.doProcess(DatabaseProcessor.kt:108) | |
at androidx.room.processor.DatabaseProcessor.process(DatabaseProcessor.kt:53) | |
at androidx.room.RoomKspProcessor.process(RoomKspProcessor.kt:50) | |
at org.jetbrains.kotlin.ksp.AbstractKotlinSymbolProcessingExtension.doAnalysis(KotlinSymbolProcessingExtension.kt:63) | |
at org.jetbrains.kotlin.cli.jvm.compiler.TopDownAnalyzerFacadeForJVM.analyzeFilesWithJavaIntegration(TopDownAnalyzerFacadeForJVM.kt:114) | |
at org.jetbrains.kotlin.cli.jvm.compiler.TopDownAnalyzerFacadeForJVM.analyzeFilesWithJavaIntegration$default(TopDownAnalyzerFacadeForJVM.kt:91) | |
at org.jetbrains.kotlin.cli.jvm.compiler.KotlinToJVMBytecodeCompiler$analyze$1.invoke(KotlinToJVMBytecodeCompiler.kt:560) | |
at org.jetbrains.kotlin.cli.jvm.compiler.KotlinToJVMBytecodeCompiler$analyze$1.invoke(KotlinToJVMBytecodeCompiler.kt:83) | |
at org.jetbrains.kotlin.cli.common.messages.AnalyzerWithCompilerReport.analyzeAndReport(AnalyzerWithCompilerReport.kt:115) | |
at org.jetbrains.kotlin.cli.jvm.compiler.KotlinToJVMBytecodeCompiler.analyze(KotlinToJVMBytecodeCompiler.kt:551) | |
at org.jetbrains.kotlin.cli.jvm.compiler.KotlinToJVMBytecodeCompiler.compileModules$cli(KotlinToJVMBytecodeCompiler.kt:178) | |
at org.jetbrains.kotlin.cli.jvm.K2JVMCompiler.doExecute(K2JVMCompiler.kt:164) | |
at org.jetbrains.kotlin.cli.jvm.K2JVMCompiler.doExecute(K2JVMCompiler.kt:51) | |
at org.jetbrains.kotlin.cli.common.CLICompiler.execImpl(CLICompiler.kt:86) | |
at org.jetbrains.kotlin.cli.common.CLICompiler.execImpl(CLICompiler.kt:44) | |
at org.jetbrains.kotlin.cli.common.CLITool.exec(CLITool.kt:105) | |
at org.jetbrains.kotlin.cli.common.CLITool.exec(CLITool.kt:83) | |
at org.jetbrains.kotlin.cli.common.CLICompiler.execAndOutputXml(CLICompiler.kt:50) | |
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | |
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) | |
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) | |
at java.base/java.lang.reflect.Method.invoke(Method.java:566) | |
at org.jetbrains.kotlin.compilerRunner.GradleKotlinCompilerWork.compileInProcessImpl(GradleKotlinCompilerWork.kt:350) | |
at org.jetbrains.kotlin.compilerRunner.GradleKotlinCompilerWork.access$compileInProcessImpl(GradleKotlinCompilerWork.kt:66) | |
at org.jetbrains.kotlin.compilerRunner.GradleKotlinCompilerWork$compileInProcess$future$1.call(GradleKotlinCompilerWork.kt:318) | |
at org.jetbrains.kotlin.compilerRunner.GradleKotlinCompilerWork$compileInProcess$future$1.call(GradleKotlinCompilerWork.kt:66) | |
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) | |
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) | |
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) | |
at java.base/java.lang.Thread.run(Thread.java:834) | |
Caused by: java.lang.AssertionError: Rewrite at slice ANNOTATION key: ANNOTATION_ENTRY old value: org.jetbrains.kotlin.resolve.lazy.descriptors.LazyAnnotationDescriptor@7759d8a3@2002376867 new value: org.jetbrains.kotlin.resolve.lazy.descriptors.LazyAnnotationDescriptor@b56ce3f@190238271 | |
File name: BooksDao.kt Physical: true Injected: false |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment