java.lang.AssertionError: Transient receiver is implicit for an explicit expression: REFERENCE_EXPRESSION. Receiver: {Transient} : MyClassName

YouTrack | 8 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    AssertionError: Transient receiver is implicit for an explicit expression: REFERENCE_EXPRESSION

    YouTrack | 8 months ago
    java.lang.AssertionError: Transient receiver is implicit for an explicit expression: REFERENCE_EXPRESSION. Receiver: {Transient} : MyClassName

    Root Cause Analysis

    1. java.lang.AssertionError

      Transient receiver is implicit for an explicit expression: REFERENCE_EXPRESSION. Receiver: {Transient} : MyClassName

      at org.jetbrains.kotlin.resolve.calls.smartcasts.DataFlowValueFactory.getIdForImplicitReceiver()
    2. org.jetbrains.kotlin
      ExtractKotlinFunctionHandler.invoke
      1. org.jetbrains.kotlin.resolve.calls.smartcasts.DataFlowValueFactory.getIdForImplicitReceiver(DataFlowValueFactory.java:319)
      2. org.jetbrains.kotlin.resolve.calls.smartcasts.DataFlowValueFactory.getIdForSimpleNameExpression(DataFlowValueFactory.java:299)
      3. org.jetbrains.kotlin.resolve.calls.smartcasts.DataFlowValueFactory.getIdForStableIdentifier(DataFlowValueFactory.java:264)
      4. org.jetbrains.kotlin.resolve.calls.smartcasts.DataFlowValueFactory.createDataFlowValue(DataFlowValueFactory.java:119)
      5. org.jetbrains.kotlin.idea.refactoring.introduce.extractionEngine.ExtractionData.getPossibleTypes(ExtractionData.kt:190)
      6. org.jetbrains.kotlin.idea.refactoring.introduce.extractionEngine.ExtractionData.getBrokenReferencesInfo(ExtractionData.kt:224)
      7. org.jetbrains.kotlin.idea.refactoring.introduce.extractionEngine.InferParameterInfoKt.inferParametersInfo(inferParameterInfo.kt:78)
      8. org.jetbrains.kotlin.idea.refactoring.introduce.extractionEngine.ExtractableAnalysisUtilKt.performAnalysis(extractableAnalysisUtil.kt:635)
      9. org.jetbrains.kotlin.idea.refactoring.introduce.extractionEngine.ExtractionEngine.run(ExtractionEngine.kt:57)
      10. org.jetbrains.kotlin.idea.refactoring.introduce.extractFunction.ExtractKotlinFunctionHandler.doInvoke(ExtractKotlinFunctionHandler.kt:59)
      11. org.jetbrains.kotlin.idea.refactoring.introduce.extractFunction.ExtractKotlinFunctionHandler$invoke$1.invoke(ExtractKotlinFunctionHandler.kt:77)
      12. org.jetbrains.kotlin.idea.refactoring.introduce.extractFunction.ExtractKotlinFunctionHandler$invoke$1.invoke(ExtractKotlinFunctionHandler.kt:34)
      13. org.jetbrains.kotlin.idea.refactoring.introduce.IntroduceUtilKt$selectElementsWithTargetSibling$1.invoke(introduceUtil.kt:67)
      14. org.jetbrains.kotlin.idea.refactoring.introduce.IntroduceUtilKt$selectElementsWithTargetSibling$2.invoke(introduceUtil.kt:70)
      15. org.jetbrains.kotlin.idea.refactoring.introduce.IntroduceUtilKt$selectElementsWithTargetSibling$2.invoke(introduceUtil.kt)
      16. org.jetbrains.kotlin.idea.refactoring.introduce.IntroduceUtilKt$selectElementsWithTargetParent$2$2.invoke(introduceUtil.kt:102)
      17. org.jetbrains.kotlin.idea.refactoring.introduce.IntroduceUtilKt$selectElementsWithTargetParent$2$2.invoke(introduceUtil.kt)
      18. org.jetbrains.kotlin.idea.refactoring.KotlinRefactoringUtilKt.chooseContainerElementIfNecessary(kotlinRefactoringUtil.kt:417)
      19. org.jetbrains.kotlin.idea.refactoring.introduce.IntroduceUtilKt$selectElementsWithTargetParent$2.invoke(introduceUtil.kt:96)
      20. org.jetbrains.kotlin.idea.refactoring.introduce.IntroduceUtilKt$selectElementsWithTargetParent$4$1.run(introduceUtil.kt:122)
      21. org.jetbrains.kotlin.idea.refactoring.KotlinRefactoringUtil.selectExpression(KotlinRefactoringUtil.java:349)
      22. org.jetbrains.kotlin.idea.refactoring.introduce.IntroduceUtilKt$selectElementsWithTargetParent$4.invoke(introduceUtil.kt:120)
      23. org.jetbrains.kotlin.idea.refactoring.introduce.IntroduceUtilKt.selectElementsWithTargetParent(introduceUtil.kt:139)
      24. org.jetbrains.kotlin.idea.refactoring.introduce.IntroduceUtilKt.selectElementsWithTargetSibling(introduceUtil.kt:70)
      25. org.jetbrains.kotlin.idea.refactoring.introduce.extractFunction.ExtractKotlinFunctionHandler.selectElements(ExtractKotlinFunctionHandler.kt:65)
      26. org.jetbrains.kotlin.idea.refactoring.introduce.extractFunction.ExtractKotlinFunctionHandler.invoke(ExtractKotlinFunctionHandler.kt:77)
      26 frames
    3. IDEA
      IdeEventQueue.dispatchEvent
      1. com.intellij.refactoring.actions.BaseRefactoringAction.actionPerformed(BaseRefactoringAction.java:134)
      2. com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher$3.performAction(IdeKeyEventDispatcher.java:595)
      3. com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.processAction(IdeKeyEventDispatcher.java:646)
      4. com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.inInitState(IdeKeyEventDispatcher.java:485)
      5. com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.dispatchKeyEvent(IdeKeyEventDispatcher.java:215)
      6. com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:631)
      7. com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:386)
      7 frames
    4. Java RT
      EventDispatchThread.run
      1. java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
      2. java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
      3. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
      4. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
      5. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
      6. java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
      6 frames