Why might getStub() return null?

Hi,
I have an PsiElement which returns always null when asked for the stub using getStub(). Asking getContainingFile().getStub() also returns null.

What might the reason be for this behaviour?

My IStubElementType#createStub for the PsiElement is being called...

Thank you!
Wallaby

Please sign in to leave a comment.