ROOT : Error in <HandleInterpreterException>: Trying to access a pointer that points to an invalid memory address

Hey all !

I am trying to plot an 2D histogram. I have getting this kind of error pasted below whenever I am trying to run the macro in root.

I did myself few checks , like tried to print and scan the tree before eventloop.
Everything is fine except when I am trying to print value of i after the line t1->GetEntry(i);
in the event loop. Though it has total 9617 entries in total checked via getentries but its printing only the i value from 0 to 57 and then gives error that you can see in the below screenshot attached!

Please have a look at the issue and let me know how should I approach to resolve it!
thanks !

ROOT Version: 6.24/06 Not Provided
_Compiler:_cern lxplus

Hi all,
Please ignore the issue!
Its resolved now !

thank you !

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.