java.lang.IllegalStateException: java.lang.AssertionError: Variance conflict: type parameter variance 'in' and projection kind 'out' cannot be combined

YouTrack | 5 months ago
  1. 0

    cast with star on on type with contravariant generic parameter makes the compiler crash

    YouTrack | 5 months ago
    java.lang.IllegalStateException: java.lang.AssertionError: Variance conflict: type parameter variance 'in' and projection kind 'out' cannot be combined
  2. 0

    AssertionError in TypeSubstitutor: Variance conflict: type parameter variance 'in' and projection kind 'out' cannot be combined

    YouTrack | 9 months ago
    java.lang.IllegalStateException: java.lang.AssertionError: Variance conflict: type parameter variance 'in' and projection kind 'out' cannot be combined
  3. 0

    Compilation error "Variance conflict: type parameter variance 'in' and projection kind 'out' cannot be combined" reported in 1.0.1 but NOT under 1.0

    YouTrack | 9 months ago
    java.lang.IllegalStateException: java.lang.AssertionError: Variance conflict: type parameter variance 'in' and projection kind 'out' cannot be combined
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    java.lang.AssertionError: Stub and PSI element type mismatch in CRUDify.scala: stub org.jetbrains.plugins.scala.lang.psi.stubs.impl.ScFunctionStubImpl@45534a, AST parameter clauses

    YouTrack | 8 years ago
    java.lang.AssertionError: Stub and PSI element type mismatch in CRUDify.scala: stub org.jetbrains.plugins.scala.lang.psi.stubs.impl.ScFunctionStubImpl@45534a, AST parameter clauses
  6. 0

    Unknown symbol type IdeaCeylonProject kind: 63

    GitHub | 3 months ago | bjansen
    java.lang.AssertionError: Unknown symbol type org.intellij.plugins.ceylon.ide.ceylonCode.model.IdeaCeylonProject kind: 63

    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.AssertionError

      Variance conflict: type parameter variance 'in' and projection kind 'out' cannot be combined

      at org.jetbrains.kotlin.types.TypeSubstitutor.combine()
    2. org.jetbrains.kotlin
      CompileServiceImpl.remoteIncrementalCompile
      1. org.jetbrains.kotlin.types.TypeSubstitutor.combine(TypeSubstitutor.java:275)
      2. org.jetbrains.kotlin.types.TypeSubstitutor.combine(TypeSubstitutor.java:267)
      3. org.jetbrains.kotlin.types.typesApproximation.CapturedTypeApproximationKt.toTypeArgument(CapturedTypeApproximation.kt:56)
      4. org.jetbrains.kotlin.types.typesApproximation.CapturedTypeApproximationKt.approximateCapturedTypes(CapturedTypeApproximation.kt:124)
      5. org.jetbrains.kotlin.codegen.ExpressionCodegen.getOrCreateCallGenerator(ExpressionCodegen.java:2636)
      6. org.jetbrains.kotlin.codegen.ExpressionCodegen.invokeMethodWithArguments(ExpressionCodegen.java:2534)
      7. org.jetbrains.kotlin.codegen.Callable$invokeMethodWithArguments$1.invoke(Callable.kt:44)
      8. org.jetbrains.kotlin.codegen.Callable$invokeMethodWithArguments$1.invoke(Callable.kt:23)
      9. org.jetbrains.kotlin.codegen.OperationStackValue.putSelector(StackValue.kt:65)
      10. org.jetbrains.kotlin.codegen.StackValue.put(StackValue.java:109)
      11. org.jetbrains.kotlin.codegen.StackValue.put(StackValue.java:102)
      12. org.jetbrains.kotlin.codegen.ExpressionCodegen.gen(ExpressionCodegen.java:324)
      13. org.jetbrains.kotlin.codegen.ExpressionCodegen$10.invoke(ExpressionCodegen.java:1962)
      14. org.jetbrains.kotlin.codegen.ExpressionCodegen$10.invoke(ExpressionCodegen.java:1946)
      15. org.jetbrains.kotlin.codegen.OperationStackValue.putSelector(StackValue.kt:65)
      16. org.jetbrains.kotlin.codegen.StackValueWithLeaveTask.putSelector(StackValue.kt:57)
      17. org.jetbrains.kotlin.codegen.StackValue.put(StackValue.java:109)
      18. org.jetbrains.kotlin.codegen.StackValue.put(StackValue.java:102)
      19. org.jetbrains.kotlin.codegen.ExpressionCodegen.gen(ExpressionCodegen.java:324)
      20. org.jetbrains.kotlin.codegen.ExpressionCodegen.returnExpression(ExpressionCodegen.java:2026)
      21. org.jetbrains.kotlin.codegen.FunctionGenerationStrategy$FunctionDefault.doGenerateBody(FunctionGenerationStrategy.java:50)
      22. org.jetbrains.kotlin.codegen.FunctionGenerationStrategy$CodegenBased.generateBody(FunctionGenerationStrategy.java:72)
      23. org.jetbrains.kotlin.codegen.FunctionCodegen.generateMethodBody(FunctionCodegen.java:381)
      24. org.jetbrains.kotlin.codegen.FunctionCodegen.generateMethod(FunctionCodegen.java:216)
      25. org.jetbrains.kotlin.codegen.FunctionCodegen.generateMethod(FunctionCodegen.java:146)
      26. org.jetbrains.kotlin.codegen.FunctionCodegen.gen(FunctionCodegen.java:121)
      27. org.jetbrains.kotlin.codegen.MemberCodegen.genFunctionOrProperty(MemberCodegen.java:182)
      28. org.jetbrains.kotlin.codegen.PackagePartCodegen.generateBody(PackagePartCodegen.java:94)
      29. org.jetbrains.kotlin.codegen.MemberCodegen.generate(MemberCodegen.java:119)
      30. org.jetbrains.kotlin.codegen.PackageCodegen.generateFile(PackageCodegen.java:117)
      31. org.jetbrains.kotlin.codegen.PackageCodegen.generate(PackageCodegen.java:61)
      32. org.jetbrains.kotlin.codegen.KotlinCodegenFacade.generatePackage(KotlinCodegenFacade.java:99)
      33. org.jetbrains.kotlin.codegen.KotlinCodegenFacade.doGenerateFiles(KotlinCodegenFacade.java:77)
      34. org.jetbrains.kotlin.codegen.KotlinCodegenFacade.compileCorrectFiles(KotlinCodegenFacade.java:44)
      35. org.jetbrains.kotlin.cli.jvm.compiler.KotlinToJVMBytecodeCompiler.generate(KotlinToJVMBytecodeCompiler.kt:415)
      36. org.jetbrains.kotlin.cli.jvm.compiler.KotlinToJVMBytecodeCompiler.compileModules(KotlinToJVMBytecodeCompiler.kt:150)
      37. org.jetbrains.kotlin.cli.jvm.K2JVMCompiler.doExecute(K2JVMCompiler.kt:178)
      38. org.jetbrains.kotlin.cli.jvm.K2JVMCompiler.doExecute(K2JVMCompiler.kt:51)
      39. org.jetbrains.kotlin.cli.common.CLICompiler.exec(CLICompiler.java:199)
      40. org.jetbrains.kotlin.cli.common.CLICompiler.exec(CLICompiler.java:154)
      41. org.jetbrains.kotlin.cli.common.CLICompiler.execAndOutputXml(CLICompiler.java:73)
      42. org.jetbrains.kotlin.daemon.CompileServiceImpl$remoteIncrementalCompile$1.invoke(CompileServiceImpl.kt:247)
      43. org.jetbrains.kotlin.daemon.CompileServiceImpl$remoteIncrementalCompile$1.invoke(CompileServiceImpl.kt:70)
      44. org.jetbrains.kotlin.daemon.CompileServiceImpl$doCompile$1$1.invoke(CompileServiceImpl.kt:421)
      45. org.jetbrains.kotlin.daemon.CompileServiceImpl$doCompile$1$1.invoke(CompileServiceImpl.kt:70)
      46. org.jetbrains.kotlin.daemon.common.DummyProfiler.withMeasure(PerfUtils.kt:137)
      47. org.jetbrains.kotlin.daemon.CompileServiceImpl.checkedCompile(CompileServiceImpl.kt:454)
      48. org.jetbrains.kotlin.daemon.CompileServiceImpl.access$checkedCompile(CompileServiceImpl.kt:70)
      49. org.jetbrains.kotlin.daemon.CompileServiceImpl$doCompile$1.invoke(CompileServiceImpl.kt:420)
      50. org.jetbrains.kotlin.daemon.CompileServiceImpl$doCompile$1.invoke(CompileServiceImpl.kt:70)
      51. org.jetbrains.kotlin.daemon.CompileServiceImpl.ifAlive(CompileServiceImpl.kt:565)
      52. org.jetbrains.kotlin.daemon.CompileServiceImpl.ifAlive$default(CompileServiceImpl.kt:504)
      53. org.jetbrains.kotlin.daemon.CompileServiceImpl.doCompile(CompileServiceImpl.kt:411)
      54. org.jetbrains.kotlin.daemon.CompileServiceImpl.remoteIncrementalCompile(CompileServiceImpl.kt:244)
      54 frames
    3. Java RT
      Thread.run
      1. sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      3. java.lang.reflect.Method.invoke(Method.java:498)
      4. sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:324)
      5. sun.rmi.transport.Transport$1.run(Transport.java:200)
      6. sun.rmi.transport.Transport$1.run(Transport.java:197)
      7. java.security.AccessController.doPrivileged(Native Method)
      8. sun.rmi.transport.Transport.serviceCall(Transport.java:196)
      9. sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:568)
      10. sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:826)
      11. sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:683)
      12. java.security.AccessController.doPrivileged(Native Method)
      13. sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:682)
      14. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      15. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      16. java.lang.Thread.run(Thread.java:745)
      16 frames