Skip to content

Exception in Odoo Autocompletion Support #331

Description

@omaradel6

<-- If you remember any details about how the error can be reproduced please add them -->

Plugin Version: 0.6.11
IntelliJ Version: PyCharm 2023.2.7
IntelliJ Build: PY-232.10319.12

java.lang.Throwable: Unknown string value class: class com.jetbrains.python.psi.impl.PyFunctionImpl
java.lang.Throwable: Unknown string value class: class com.jetbrains.python.psi.impl.PyFunctionImpl
	at com.intellij.openapi.diagnostic.Logger.error(Logger.java:370)
	at at.wtioit.intellij.plugins.odoo.PsiElementsUtil.getStringValueForValueChild(PsiElementsUtil.java:219)
	at at.wtioit.intellij.plugins.odoo.PsiElementsUtil.getStringValueForValueChild(PsiElementsUtil.java:174)
	at at.wtioit.intellij.plugins.odoo.OdooModulePsiElementMatcherUtil.isOdooModulePsiElement(OdooModulePsiElementMatcherUtil.java:14)
	at at.wtioit.intellij.plugins.odoo.OdooGoToDeclarationHandler.getGotoDeclarationTarget(OdooGoToDeclarationHandler.java:60)
	at com.intellij.codeInsight.navigation.actions.GotoDeclarationHandlerBase.getGotoDeclarationTargets(GotoDeclarationHandlerBase.java:11)
	at at.wtioit.intellij.plugins.odoo.OdooGoToDeclarationHandler.getGotoDeclarationTargets(OdooGoToDeclarationHandler.java:33)
	at com.intellij.codeInsight.navigation.impl.GtdProvidersKt.fromGTDProvidersInner(gtdProviders.kt:32)
	...
	at com.intellij.openapi.application.rw.InternalReadAction$runReadAction$4.invoke(InternalReadAction.kt)
	at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:78)
	...
	at kotlinx.coroutines.BuildersKt.withContext(Unknown Source)
	at com.intellij.openapi.application.rw.InternalReadAction.runReadAction(InternalReadAction.kt:38)
	...
	at com.intellij.codeInsight.navigation.CtrlMouseHandler2$compute$2.invokeSuspend(CtrlMouseHandler.kt:218)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
	...
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:684)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions