You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am unsure whether #3744 introduced a regression when calling setSimpleName on a model built from a VirtualFile. Is it valid to combine a VirtualFile and the SniperJavaPrettyPrinter?
Here is a minimal example that will throw a NullPointerException:
Hi everyone,
I am unsure whether #3744 introduced a regression when calling
setSimpleName
on a model built from aVirtualFile
. Is it valid to combine aVirtualFile
and theSniperJavaPrettyPrinter
?Here is a minimal example that will throw a
NullPointerException
:Exception location:
https://github.com/INRIA/spoon/pull/3744/files#diff-befbcc64ff160d86d9fa914487968edee1031311321a89dafbae1d0f69e4ee3bR254
spoon.support.sniper.internal.ElementSourceFragment.fromSameFile
as theSourcePosition.getFile()
call returns null.The text was updated successfully, but these errors were encountered: