mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
when PIEAE happens while constructing PIEAE, try to get invalidation trace from file
This commit is contained in:
@@ -131,7 +131,7 @@ public class StubBasedPsiElementBase<T extends StubElement> extends ASTDelegateP
|
||||
if (mySubstrateRef instanceof SubstrateRef.StubRef) {
|
||||
ApplicationManager.getApplication().assertReadAccessAllowed();
|
||||
PsiFileImpl file = (PsiFileImpl)getContainingFile();
|
||||
if (!file.isValid()) throw new PsiInvalidElementAccessException(this);
|
||||
if (!file.isValid()) throw new PsiInvalidElementAccessException(file);
|
||||
|
||||
FileElement treeElement = file.getTreeElement();
|
||||
if (treeElement != null && mySubstrateRef instanceof SubstrateRef.StubRef) {
|
||||
|
||||
Reference in New Issue
Block a user