java.lang.IllegalStateException: Error type encountered: [ERROR : ?] (ErrorTypeImpl).

YouTrack | 2 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. 0

    Internal error when inner class is used as an upper bound for a type parameter of the outer class

    YouTrack | 2 months ago
    java.lang.IllegalStateException: Error type encountered: [ERROR : ?] (ErrorTypeImpl).
  2. 0

    Support Android Studio as well

    GitHub | 1 month ago | deviant-studio
    org.jetbrains.kotlin.codegen.CompilationException: Back-end (JVM) Internal error: Failed to generate function android Cause: Error type encountered: [ERROR : AppExtension] (ErrorTypeImpl). File being compiled and position: (64,1) in C:/dev/git/gradle-script-kotlin/samples/hello-android/build.gradle.kts PsiElement: //Extension functions to allow comfortable references fun Project.android(setup: AppExtension.() -> Unit) = the<AppExtension>().setup() The root cause was thrown at: KotlinTypeMapper.java:147
  3. 0

    GitHub comment 83#273448470

    GitHub | 1 month ago | deviant-studio
    org.jetbrains.kotlin.codegen.CompilationException: Back-end (JVM) Internal error: Failed to generate function android Cause: Error type encountered: [ERROR : AppExtension] (ErrorTypeImpl). File being compiled and position: (64,1) in C:/dev/git/gradle-script-kotlin/samples/hello-android/build.gradle.kts PsiElement: //Extension functions to allow comfortable references fun Project.android(setup: AppExtension.() -> Unit) = the<AppExtension>().setup() The root cause was thrown at: KotlinTypeMapper.java:147
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Internal compiler error, jackson-module-kotlin

    YouTrack | 3 months ago
    java.lang.ClassCastException: org.jetbrains.kotlin.descriptors.impl.LazyPackageViewDescriptorImpl cannot be cast to org.jetbrains.kotlin.descriptors.ClassDescriptor
  6. 0

    Compiler issue when calling function (RepositoryHandler) -> Unit

    GitHub | 1 month ago | JLLeitschuh
    org.gradle.api.ProjectConfigurationException: A problem occurred configuring project ':PlexxiSwagger'.

    1 unregistered visitors
    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.IllegalStateException

      Error type encountered: [ERROR : ?] (ErrorTypeImpl).

      at org.jetbrains.kotlin.codegen.state.KotlinTypeMapper$1.processErrorType()
    2. org.jetbrains.kotlin
      CompileServiceImpl.remoteIncrementalCompile
      1. org.jetbrains.kotlin.codegen.state.KotlinTypeMapper$1.processErrorType(KotlinTypeMapper.java:147)
      2. org.jetbrains.kotlin.load.kotlin.TypeSignatureMappingKt.mapType(typeSignatureMapping.kt:118)
      3. org.jetbrains.kotlin.codegen.state.KotlinTypeMapper.mapType(KotlinTypeMapper.java:460)
      4. org.jetbrains.kotlin.codegen.state.KotlinTypeMapper.writeGenericArguments(KotlinTypeMapper.java:586)
      5. org.jetbrains.kotlin.codegen.state.KotlinTypeMapper.writeGenericType(KotlinTypeMapper.java:537)
      6. org.jetbrains.kotlin.codegen.state.KotlinTypeMapper.access$600(KotlinTypeMapper.java:96)
      7. org.jetbrains.kotlin.codegen.state.KotlinTypeMapper$2.invoke(KotlinTypeMapper.java:465)
      8. org.jetbrains.kotlin.codegen.state.KotlinTypeMapper$2.invoke(KotlinTypeMapper.java:462)
      9. org.jetbrains.kotlin.load.kotlin.TypeSignatureMappingKt.mapType(typeSignatureMapping.kt:162)
      10. org.jetbrains.kotlin.codegen.state.KotlinTypeMapper.mapType(KotlinTypeMapper.java:460)
      11. org.jetbrains.kotlin.codegen.state.KotlinTypeMapper.writeFormalTypeParameter(KotlinTypeMapper.java:1221)
      12. org.jetbrains.kotlin.codegen.state.KotlinTypeMapper.writeFormalTypeParameters(KotlinTypeMapper.java:1202)
      13. org.jetbrains.kotlin.codegen.ImplementationBodyCodegen.signature(ImplementationBodyCodegen.java:301)
      14. org.jetbrains.kotlin.codegen.ImplementationBodyCodegen.signature(ImplementationBodyCodegen.java:289)
      15. org.jetbrains.kotlin.codegen.ImplementationBodyCodegen.generateDeclaration(ImplementationBodyCodegen.java:124)
      16. org.jetbrains.kotlin.codegen.MemberCodegen.generate(MemberCodegen.java:125)
      17. org.jetbrains.kotlin.codegen.MemberCodegen.genClassOrObject(MemberCodegen.java:285)
      18. org.jetbrains.kotlin.codegen.MemberCodegen.genClassOrObject(MemberCodegen.java:269)
      19. org.jetbrains.kotlin.codegen.PackageCodegenImpl.generateClassOrObject(PackageCodegenImpl.java:161)
      20. org.jetbrains.kotlin.codegen.PackageCodegenImpl.generateClassesAndObjectsInFile(PackageCodegenImpl.java:85)
      21. org.jetbrains.kotlin.codegen.PackageCodegenImpl.generateFile(PackageCodegenImpl.java:123)
      22. org.jetbrains.kotlin.codegen.PackageCodegenImpl.generate(PackageCodegenImpl.java:65)
      23. org.jetbrains.kotlin.codegen.KotlinCodegenFacade.generatePackage(KotlinCodegenFacade.java:99)
      24. org.jetbrains.kotlin.codegen.KotlinCodegenFacade.doGenerateFiles(KotlinCodegenFacade.java:77)
      25. org.jetbrains.kotlin.codegen.KotlinCodegenFacade.compileCorrectFiles(KotlinCodegenFacade.java:44)
      26. org.jetbrains.kotlin.cli.jvm.compiler.KotlinToJVMBytecodeCompiler.generate(KotlinToJVMBytecodeCompiler.kt:417)
      27. org.jetbrains.kotlin.cli.jvm.compiler.KotlinToJVMBytecodeCompiler.compileModules(KotlinToJVMBytecodeCompiler.kt:151)
      28. org.jetbrains.kotlin.cli.jvm.K2JVMCompiler.doExecute(K2JVMCompiler.kt:178)
      29. org.jetbrains.kotlin.cli.jvm.K2JVMCompiler.doExecute(K2JVMCompiler.kt:56)
      30. org.jetbrains.kotlin.cli.common.CLICompiler.exec(CLICompiler.java:206)
      31. org.jetbrains.kotlin.cli.common.CLICompiler.exec(CLICompiler.java:154)
      32. org.jetbrains.kotlin.cli.common.CLICompiler.execAndOutputXml(CLICompiler.java:73)
      33. org.jetbrains.kotlin.daemon.CompileServiceImpl$remoteIncrementalCompile$1.invoke(CompileServiceImpl.kt:319)
      34. org.jetbrains.kotlin.daemon.CompileServiceImpl$remoteIncrementalCompile$1.invoke(CompileServiceImpl.kt:92)
      35. org.jetbrains.kotlin.daemon.CompileServiceImpl$doCompile$1$$special$$inlined$withValidClientOrSessionProxy$lambda$1.invoke(CompileServiceImpl.kt:618)
      36. org.jetbrains.kotlin.daemon.CompileServiceImpl$doCompile$1$$special$$inlined$withValidClientOrSessionProxy$lambda$1.invoke(CompileServiceImpl.kt:92)
      37. org.jetbrains.kotlin.daemon.common.DummyProfiler.withMeasure(PerfUtils.kt:137)
      38. org.jetbrains.kotlin.daemon.CompileServiceImpl.checkedCompile(CompileServiceImpl.kt:650)
      39. org.jetbrains.kotlin.daemon.CompileServiceImpl.access$checkedCompile(CompileServiceImpl.kt:92)
      40. org.jetbrains.kotlin.daemon.CompileServiceImpl$doCompile$1.invoke(CompileServiceImpl.kt:616)
      41. org.jetbrains.kotlin.daemon.CompileServiceImpl$doCompile$1.invoke(CompileServiceImpl.kt:92)
      42. org.jetbrains.kotlin.daemon.CompileServiceImpl.ifAlive(CompileServiceImpl.kt:764)
      43. org.jetbrains.kotlin.daemon.CompileServiceImpl.ifAlive$default(CompileServiceImpl.kt:690)
      44. org.jetbrains.kotlin.daemon.CompileServiceImpl.doCompile(CompileServiceImpl.kt:608)
      45. org.jetbrains.kotlin.daemon.CompileServiceImpl.remoteIncrementalCompile(CompileServiceImpl.kt:316)
      45 frames
    3. Java RT
      Thread.run
      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)
      5. sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:324)
      6. sun.rmi.transport.Transport$1.run(Transport.java:200)
      7. sun.rmi.transport.Transport$1.run(Transport.java:197)
      8. java.security.AccessController.doPrivileged(Native Method)
      9. sun.rmi.transport.Transport.serviceCall(Transport.java:196)
      10. sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:568)
      11. sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:826)
      12. sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:683)
      13. java.security.AccessController.doPrivileged(Native Method)
      14. sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:682)
      15. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      16. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      17. java.lang.Thread.run(Thread.java:745)
      17 frames