https://kotlinlang.org logo
d

Dhanya S Pillai

03/21/2021, 9:51 AM
Im facing an error below, please tell what are the possible causes for this error java.lang.IllegalStateException: Backend Internal error: Exception during file facade code generation My kotlin version :
Copy code
1.4.21
Android studio : 4.1.2 Note: Im not using jetpack compose
a

Alexey Belkov [JB]

03/22/2021, 4:50 PM
This is a compiler bug. Please check the full stacktrace, if it has a link to a specific file/line - try to comment out or modify that code and see if it compiles now.
d

Dhanya S Pillai

03/25/2021, 2:02 PM
In the stack trace , i didn't find any link to any project file/class. These are the main pointed files in the library class: CodegenUtil.kt:239 PackageCodegenImpl.java:78 CodegenFactory.kt:88 KotlinCodegenFacade.java:35 KotlinToJVMBytecodeCompiler.kt:647 K2JVMCompiler.kt:169 CLICompiler.kt:88 CLITool.kt:98 IncrementalJvmCompilerRunner.kt:371 NativeMethodAccessorImpl.java:62 DelegatingMethodAccessorImpl.java:43 UnicastServerRef.java:357 Transport.java:200 TCPTransport.java:573 CPTransport.java:834 KotlinTypeMapper.kt:109 MemberCodegen.java:655 PackageCodegenImpl.java:119
4 Views