Closed Putukresna365 closed 1 year ago
error
this is fixed with 0.6.11 (pending jetbrains approval) if you are eager to test it you can use the jar file from: https://github.com/wt-io-it/odoo-pycharm-plugin/tree/v0.6.11
same as #115
0.6.11 is now available in the marketplace
Plugin Version: 0.6.9 IntelliJ Version: PyCharm 2022.2.4 IntelliJ Build: PC-222.4459.20
java.lang.NullPointerException: Cannot invoke "com.intellij.psi.PsiFile.getProject()" because "manifestFile" is null
``` java.lang.NullPointerException: Cannot invoke "com.intellij.psi.PsiFile.getProject()" because "manifestFile" is null at at.wtioit.intellij.plugins.odoo.modules.impl.OdooManifestParser.parse(OdooManifestParser.java:26) at at.wtioit.intellij.plugins.odoo.modules.index.OdooDeserializedModuleImpl.getDependencies(OdooDeserializedModuleImpl.java:83) at at.wtioit.intellij.plugins.odoo.modules.impl.AbstractOdooModuleImpl.dependsOn(AbstractOdooModuleImpl.java:62) at at.wtioit.intellij.plugins.odoo.records.impl.OdooRecordServiceImpl.lambda$getRecord$1(OdooRecordServiceImpl.java:61) at at.wtioit.intellij.plugins.odoo.WithinProject.call(WithinProject.java:15) at at.wtioit.intellij.plugins.odoo.records.impl.OdooRecordServiceImpl.getRecord(OdooRecordServiceImpl.java:53) at at.wtioit.intellij.plugins.odoo.AbstractOdooCompletionContributor.suggestRecordXmlId(AbstractOdooCompletionContributor.java:117) at at.wtioit.intellij.plugins.odoo.OdooXmlCompletionContributor.fillCompletionVariants(OdooXmlCompletionContributor.java:22) at com.intellij.codeInsight.completion.CompletionService.getVariantsFromContributors(CompletionService.java:76) ... at com.intellij.openapi.application.impl.ApplicationImpl$1.run(ApplicationImpl.java:297) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539) ... at java.base/java.lang.Thread.run(Thread.java:833) ```