java.lang.NullPointerException
```
java.lang.NullPointerException
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
...
at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165)
Caused by: java.lang.NullPointerException: Cannot invoke "java.io.OutputStream.write(byte[], int, int)" because "this.out" is null
at java.base/java.io.DataOutputStream.writeInt(DataOutputStream.java:208)
at at.wtioit.intellij.plugins.odoo.AbstractDataExternalizer.saveString(AbstractDataExternalizer.java:36)
at at.wtioit.intellij.plugins.odoo.records.index.OdooRecordFileIndex$1.save(OdooRecordFileIndex.java:57)
at at.wtioit.intellij.plugins.odoo.records.index.OdooRecordFileIndex$1.save(OdooRecordFileIndex.java:54)
at at.wtioit.intellij.plugins.odoo.index.OdooIndexExtension.save(OdooIndexExtension.java:18)
at at.wtioit.intellij.plugins.odoo.index.OdooIndex$1.save(OdooIndex.java:113)
at at.wtioit.intellij.plugins.odoo.index.OdooIndex$1.save(OdooIndex.java:107)
at com.intellij.util.indexing.impl.ValueContainerImpl.saveTo(ValueContainerImpl.java:451)
...
at com.intellij.util.indexing.FileBasedIndexImpl.getContainingFiles(FileBasedIndexImpl.java:1169)
at at.wtioit.intellij.plugins.odoo.models.impl.OdooModelServiceImpl.lambda$getModels$0(OdooModelServiceImpl.java:34)
at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
...
at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:682)
at at.wtioit.intellij.plugins.odoo.modules.impl.AbstractOdooModuleImpl.getModels(AbstractOdooModuleImpl.java:33)
at at.wtioit.intellij.plugins.odoo.records.impl.OdooRecordServiceImpl.lambda$getOdooModelRecord$4(OdooRecordServiceImpl.java:108)
at at.wtioit.intellij.plugins.odoo.WithinProject.call(WithinProject.java:15)
at at.wtioit.intellij.plugins.odoo.records.impl.OdooRecordServiceImpl.getOdooModelRecord(OdooRecordServiceImpl.java:107)
at at.wtioit.intellij.plugins.odoo.records.impl.OdooRecordServiceImpl.hasRecord(OdooRecordServiceImpl.java:160)
at at.wtioit.intellij.plugins.odoo.records.inspection.MissingRecordDefinitionXmlInspection$1.visitXmlToken(MissingRecordDefinitionXmlInspection.java:44)
at com.intellij.psi.impl.source.xml.XmlTokenImpl.accept(XmlTokenImpl.java:29)
...
at java.base/java.util.concurrent.ForkJoinTask$AdaptedCallable.exec(ForkJoinTask.java:1428)
... 5 more
```
<-- 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.2 IntelliJ Build: PC-231.9011.38
java.lang.NullPointerException
``` java.lang.NullPointerException at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ... at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165) Caused by: java.lang.NullPointerException: Cannot invoke "java.io.OutputStream.write(byte[], int, int)" because "this.out" is null at java.base/java.io.DataOutputStream.writeInt(DataOutputStream.java:208) at at.wtioit.intellij.plugins.odoo.AbstractDataExternalizer.saveString(AbstractDataExternalizer.java:36) at at.wtioit.intellij.plugins.odoo.records.index.OdooRecordFileIndex$1.save(OdooRecordFileIndex.java:57) at at.wtioit.intellij.plugins.odoo.records.index.OdooRecordFileIndex$1.save(OdooRecordFileIndex.java:54) at at.wtioit.intellij.plugins.odoo.index.OdooIndexExtension.save(OdooIndexExtension.java:18) at at.wtioit.intellij.plugins.odoo.index.OdooIndex$1.save(OdooIndex.java:113) at at.wtioit.intellij.plugins.odoo.index.OdooIndex$1.save(OdooIndex.java:107) at com.intellij.util.indexing.impl.ValueContainerImpl.saveTo(ValueContainerImpl.java:451) ... at com.intellij.util.indexing.FileBasedIndexImpl.getContainingFiles(FileBasedIndexImpl.java:1169) at at.wtioit.intellij.plugins.odoo.models.impl.OdooModelServiceImpl.lambda$getModels$0(OdooModelServiceImpl.java:34) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197) ... at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:682) at at.wtioit.intellij.plugins.odoo.modules.impl.AbstractOdooModuleImpl.getModels(AbstractOdooModuleImpl.java:33) at at.wtioit.intellij.plugins.odoo.records.impl.OdooRecordServiceImpl.lambda$getOdooModelRecord$4(OdooRecordServiceImpl.java:108) at at.wtioit.intellij.plugins.odoo.WithinProject.call(WithinProject.java:15) at at.wtioit.intellij.plugins.odoo.records.impl.OdooRecordServiceImpl.getOdooModelRecord(OdooRecordServiceImpl.java:107) at at.wtioit.intellij.plugins.odoo.records.impl.OdooRecordServiceImpl.hasRecord(OdooRecordServiceImpl.java:160) at at.wtioit.intellij.plugins.odoo.records.inspection.MissingRecordDefinitionXmlInspection$1.visitXmlToken(MissingRecordDefinitionXmlInspection.java:44) at com.intellij.psi.impl.source.xml.XmlTokenImpl.accept(XmlTokenImpl.java:29) ... at java.base/java.util.concurrent.ForkJoinTask$AdaptedCallable.exec(ForkJoinTask.java:1428) ... 5 more ```