java.lang.NullPointerException: Cannot invoke "at.wtioit.intellij.plugins.odoo.records.OdooRecord.getDefiningElement()" because "record" is null
```
java.lang.NullPointerException: Cannot invoke "at.wtioit.intellij.plugins.odoo.records.OdooRecord.getDefiningElement()" because "record" is null
at at.wtioit.intellij.plugins.odoo.AbstractOdooCompletionContributor.lambda$suggestRecordXmlId$1(AbstractOdooCompletionContributor.java:119)
at at.wtioit.intellij.plugins.odoo.WithinProject.run(WithinProject.java:25)
at at.wtioit.intellij.plugins.odoo.AbstractOdooCompletionContributor.suggestRecordXmlId(AbstractOdooCompletionContributor.java:118)
at at.wtioit.intellij.plugins.odoo.OdooXmlCompletionContributor.fillCompletionVariants(OdooXmlCompletionContributor.java:22)
at com.intellij.codeInsight.completion.CompletionService.getVariantsFromContributor(CompletionService.java:81)
...
at com.intellij.codeInsight.completion.CodeCompletionHandlerBase.lambda$startContributorThread$7(CodeCompletionHandlerBase.java:374)
at io.opentelemetry.context.Context.lambda$wrap$1(Context.java:212)
at com.intellij.codeInsight.completion.AsyncCompletion.lambda$tryReadOrCancel$5(CompletionThreading.java:169)
...
at com.intellij.codeInsight.completion.CodeCompletionHandlerBase.lambda$startContributorThread$8(CodeCompletionHandlerBase.java:365)
at io.opentelemetry.context.Context.lambda$wrap$1(Context.java:212)
at com.intellij.codeInsight.completion.AsyncCompletion.lambda$startThread$0(CompletionThreading.java:92)
...
at com.intellij.openapi.application.impl.ApplicationImpl$1.run(ApplicationImpl.java:252)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
...
at java.base/java.lang.Thread.run(Thread.java:833)
```
<-- If you remember any details about how the error can be reproduced please add them -->
Plugin Version: 0.6.11 IntelliJ Version: PyCharm 2023.1.1 IntelliJ Build: PC-231.8770.66
java.lang.NullPointerException: Cannot invoke "at.wtioit.intellij.plugins.odoo.records.OdooRecord.getDefiningElement()" because "record" is null
``` java.lang.NullPointerException: Cannot invoke "at.wtioit.intellij.plugins.odoo.records.OdooRecord.getDefiningElement()" because "record" is null at at.wtioit.intellij.plugins.odoo.AbstractOdooCompletionContributor.lambda$suggestRecordXmlId$1(AbstractOdooCompletionContributor.java:119) at at.wtioit.intellij.plugins.odoo.WithinProject.run(WithinProject.java:25) at at.wtioit.intellij.plugins.odoo.AbstractOdooCompletionContributor.suggestRecordXmlId(AbstractOdooCompletionContributor.java:118) at at.wtioit.intellij.plugins.odoo.OdooXmlCompletionContributor.fillCompletionVariants(OdooXmlCompletionContributor.java:22) at com.intellij.codeInsight.completion.CompletionService.getVariantsFromContributor(CompletionService.java:81) ... at com.intellij.codeInsight.completion.CodeCompletionHandlerBase.lambda$startContributorThread$7(CodeCompletionHandlerBase.java:374) at io.opentelemetry.context.Context.lambda$wrap$1(Context.java:212) at com.intellij.codeInsight.completion.AsyncCompletion.lambda$tryReadOrCancel$5(CompletionThreading.java:169) ... at com.intellij.codeInsight.completion.CodeCompletionHandlerBase.lambda$startContributorThread$8(CodeCompletionHandlerBase.java:365) at io.opentelemetry.context.Context.lambda$wrap$1(Context.java:212) at com.intellij.codeInsight.completion.AsyncCompletion.lambda$startThread$0(CompletionThreading.java:92) ... at com.intellij.openapi.application.impl.ApplicationImpl$1.run(ApplicationImpl.java:252) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539) ... at java.base/java.lang.Thread.run(Thread.java:833) ```