kotlin.UninitializedPropertyAccessException: lateinit property expressionTypeCheckBox has not been initialized

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via YouTrack by Unknown author, 1 year ago
lateinit property expressionTypeCheckBox has not been initialized
kotlin.UninitializedPropertyAccessException: lateinit property expressionTypeCheckBox has not been initialized
at org.jetbrains.kotlin.idea.refactoring.introduce.introduceVariable.KotlinVariableInplaceIntroducer.updateTitle(KotlinVariableInplaceIntroducer.kt:143)
at org.jetbrains.kotlin.idea.refactoring.introduce.introduceVariable.KotlinVariableInplaceIntroducer.updateTitle(KotlinVariableInplaceIntroducer.kt:47)
at org.jetbrains.kotlin.idea.refactoring.introduce.AbstractKotlinInplaceIntroducer.updateTitle(AbstractKotlinInplaceIntroducer.kt:96)
at org.jetbrains.kotlin.idea.refactoring.introduce.AbstractKotlinInplaceIntroducer.updateTitle(AbstractKotlinInplaceIntroducer.kt:36)
at com.intellij.refactoring.introduce.inplace.AbstractInplaceIntroducer.lambda$startInplaceIntroduceTemplate$1(AbstractInplaceIntroducer.java:228)
at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:122)
at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:100)
at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:86)
at org.jetbrains.kotlin.idea.refactoring.introduce.introduceVariable.KotlinIntroduceVariableHandler$doRefactoring$callback$1$2$1.invoke(KotlinIntroduceVariableHandler.kt:596)
at org.jetbrains.kotlin.idea.refactoring.introduce.introduceVariable.KotlinIntroduceVariableHandler$doRefactoring$callback$1$2$1.invoke(KotlinIntroduceVariableHandler.kt:77)
at org.jetbrains.kotlin.idea.util.application.ApplicationUtilsKt$executeCommand$1.run(ApplicationUtils.kt:42)
at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:129)
at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:100)
at org.jetbrains.kotlin.idea.util.application.ApplicationUtilsKt.executeCommand(ApplicationUtils.kt:42)
at org.jetbrains.kotlin.idea.refactoring.introduce.introduceVariable.KotlinIntroduceVariableHandler$doRefactoring$callback$1$2.invoke(KotlinIntroduceVariableHandler.kt:561)
at org.jetbrains.kotlin.idea.refactoring.introduce.introduceVariable.KotlinIntroduceVariableHandler$doRefactoring$callback$1$2.invoke(KotlinIntroduceVariableHandler.kt:77)
at org.jetbrains.kotlin.idea.refactoring.introduce.introduceVariable.KotlinIntroduceVariableHandler.chooseApplicableComponentFunctionsForVariableDeclaration(KotlinIntroduceVariableHandler.kt:390)
at org.jetbrains.kotlin.idea.refactoring.introduce.introduceVariable.KotlinIntroduceVariableHandler.access$chooseApplicableComponentFunctionsForVariableDeclaration(KotlinIntroduceVariableHandler.kt:77)
at org.jetbrains.kotlin.idea.refactoring.introduce.introduceVariable.KotlinIntroduceVariableHandler$doRefactoring$callback$1.invoke(KotlinIntroduceVariableHandler.kt:537)
at org.jetbrains.kotlin.idea.refactoring.introduce.introduceVariable.KotlinIntroduceVariableHandler$doRefactoring$callback$1.invoke(KotlinIntroduceVariableHandler.kt:77)
at org.jetbrains.kotlin.idea.refactoring.KotlinRefactoringUtilKt$Pass$1.pass(kotlinRefactoringUtil.kt:746)
at org.jetbrains.kotlin.idea.refactoring.introduce.introduceVariable.KotlinIntroduceVariableHandler.doRefactoring(KotlinIntroduceVariableHandler.kt:615)
at org.jetbrains.kotlin.idea.refactoring.introduce.introduceVariable.KotlinIntroduceVariableHandler$doRefactoring$2.invoke(KotlinIntroduceVariableHandler.kt:703)
at org.jetbrains.kotlin.idea.refactoring.introduce.introduceVariable.KotlinIntroduceVariableHandler$doRefactoring$6.invoke(KotlinIntroduceVariableHandler.kt:722)
at org.jetbrains.kotlin.idea.refactoring.introduce.introduceVariable.KotlinIntroduceVariableHandler$doRefactoring$6.invoke(KotlinIntroduceVariableHandler.kt:77)
at org.jetbrains.kotlin.idea.refactoring.KotlinRefactoringUtilKt.chooseContainerElementIfNecessary(kotlinRefactoringUtil.kt:436)
at org.jetbrains.kotlin.idea.refactoring.introduce.introduceVariable.KotlinIntroduceVariableHandler.doRefactoring(KotlinIntroduceVariableHandler.kt:721)
at org.jetbrains.kotlin.idea.refactoring.introduce.introduceVariable.KotlinIntroduceVariableHandler$invoke$1.invoke(KotlinIntroduceVariableHandler.kt:731)
at org.jetbrains.kotlin.idea.refactoring.introduce.introduceVariable.KotlinIntroduceVariableHandler$invoke$1.invoke(KotlinIntroduceVariableHandler.kt:77)
at org.jetbrains.kotlin.idea.refactoring.ElementSelectionUtilsKt.selectElement(elementSelectionUtils.kt:77)
at org.jetbrains.kotlin.idea.refactoring.ElementSelectionUtilsKt.selectElement(elementSelectionUtils.kt:51)
at org.jetbrains.kotlin.idea.refactoring.introduce.introduceVariable.KotlinIntroduceVariableHandler.invoke(KotlinIntroduceVariableHandler.kt:730)
at com.intellij.refactoring.actions.BaseRefactoringAction.actionPerformed(BaseRefactoringAction.java:123)
at com.intellij.openapi.actionSystem.ex.ActionUtil$1.run(ActionUtil.java:197)
at com.intellij.openapi.application.TransactionGuardImpl.runSyncTransaction(TransactionGuardImpl.java:88)
at com.intellij.openapi.application.TransactionGuardImpl.submitTransactionAndWait(TransactionGuardImpl.java:156)
at com.intellij.openapi.actionSystem.ex.ActionUtil.performActionDumbAware(ActionUtil.java:211)
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher$1.performAction(IdeKeyEventDispatcher.java:587)
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.lambda$processAction$2(IdeKeyEventDispatcher.java:634)
at com.intellij.openapi.application.TransactionGuardImpl.performUserActivity(TransactionGuardImpl.java:199)
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.processAction(IdeKeyEventDispatcher.java:633)
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.inInitState(IdeKeyEventDispatcher.java:477)
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.dispatchKeyEvent(IdeKeyEventDispatcher.java:211)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:677)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.