To reindex this file IDEA has to be restarted
Hello, I am trying to test a plugin that I have developed. It was developed some month ago, so I back to implement it and tests on current IDEA (U) fails.
Error while indexing C:\Temp2\unitTest_getTraitContainingClass\unitTest\resources-tests\utils\PhpClassUtil.traitClasses.php
To reindex this file IDEA has to be restarted
java.lang.NullPointerException
at com.jetbrains.php.lang.PhpFileViewProvider$1.createTemplateText(PhpFileViewProvider.java:215)
at com.intellij.psi.templateLanguages.TemplateDataElementType.createTemplateFile(TemplateDataElementType.java:136)
at com.intellij.psi.templateLanguages.TemplateDataElementType.parseContents(TemplateDataElementType.java:87)
I have tried:
- Fully reinstall of IDEA (U) without imports my configs, and resetup project IML;
- Invalidate IDEA cache;
- Deleted the .IntelliJIdea2017.3\system\plugins-sandbox folder;
I have tried two differents projects (one my and another is the PHP EA). Both give me the same warning and tests fails. Some tests pass. The tests that fails uses the "configureByFile()" method.
Nothing of that resolves my problem.
Please sign in to leave a comment.
I'm sorry this is a bug which was introduced in 2017.3. It's already fixed (see https://youtrack.jetbrains.com/v2/issue/WI-39152) and we're trying to deliver the update ASAP. Please follow the issue to track news on the topic.