When this message is printed with teh CVS head version, you also get the 
following print:
This error is symptomatic of a Tree created as a memory-resident Tree Instead of doing:
    TTree *T = new TTree(...)
    TFile *f = new TFile(...)
 you should do:
    TFile *f = new TFile(...)
    TTree *T = new TTree(...)
Rene Brun
Alberto Pulvirenti wrote:
> Dear rooters,
>
> sometimes, while filling a TTree, I encountered this message:
>
> Error in <TTree::Fill>: Failed filling branch:matches.matches, nbytes=-1
>
> can someone explain me what does it mean? What mistake did I do while 
> creating the code to fill that TTree?
> For completeness I must say that this TTree is filled with a branch 
> made from a  struct of primitive data types.
>
> Thanks,
>
>     Alberto
>
> **************************************
> ----- Alberto Pulvirenti, Ph. D. -----
>  Universita' di Catania,
>  Dipartimento di Fisica e Astronomia
>  Via Santa Sofia, 64
>  I-95129, Catania, Italy
>
>  Tel :+39-095-3785286
> **************************************
Received on Wed Jun 28 2006 - 17:53:15 MEST
This archive was generated by hypermail 2.2.0 : Mon Jan 01 2007 - 16:31:59 MET