Warning: null passed to a callee that requires a non-null argument [-Wnonnull]

Hello kialbert,

You were right, I only had to open my input file. I used

TFile* file = TFile::Open("xfile.root");
...
file->GetName()

and it works, thanks a lot.

Cheers,
Karen