Error in <TClass::New>: cannot create object

Dear experts,

with an application that uses Root 5.10.00e I get the runtime error

Error in TClass::New: cannot create object of class SttTrkHotK

Compiling and linking worked fine, and there were no warnings from cint.
What can be the source of this error? In which direction do I have to search?

Thanks,
Matthias

Is the class an abstract class or deriving from an abstract base class having some pure functions not implemented in your class ?

Rene

Hi Rene,

there’s a lot of inheritance involved, and I’ll check if there’s a not implemented pure
virtual function.

Thanks,
Matthias

[quote=“brun”]Is the class an abstract class or deriving from an abstract base class having some pure functions not implemented in your class ?

Rene[/quote]

Hi Rene,

yeah, there was a pure virtual function in a base class which was implemented only by
a different class which is derived from that base class, too. I fixed that and the error
has gone (and has demasked another problem ;( ).
Thanks for the precise hint,
Matthias

[quote=“matthiasSteinke”]Hi Rene,

there’s a lot of inheritance involved, and I’ll check if there’s a not implemented pure
virtual function.

Thanks,
Matthias

[quote=“brun”]Is the class an abstract class or deriving from an abstract base class having some pure functions not implemented in your class ?

Rene[/quote][/quote]