mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
NPE.
This commit is contained in:
@@ -51,7 +51,8 @@ public class PsiFileNode extends BasePsiNode<PsiFile>{
|
||||
}
|
||||
|
||||
public VirtualFile getVirtualFile() {
|
||||
return getValue().getVirtualFile();
|
||||
PsiFile value = getValue();
|
||||
return value != null ? value.getVirtualFile() : null;
|
||||
}
|
||||
|
||||
public int getWeight() {
|
||||
|
||||
Reference in New Issue
Block a user