"Cannot initialize streamer that is already in use"

In my Delphi application I got some tabs. Only one tab gives sometimes an error “Cannot initialize streamer that is already in use”. On tab change I open the datatable
is there a way to detect the source of this error?
This is the only tab in my application that doesn’t use a master detail relation
It happens with big and small datasets.

Thanks, logged support request as bugs://47601
Posted by Bugs for Mac

This exception says that streamer already reads/writes a datatable.
You might receive this error if you called event handler of other datatable when it’s filling with data.

That’s what I thought, but as far as I know I don’t call the eventhandler or databasetable when it happens

This can happens implicitly, you can use OnInitialized event handle of data streamer to log streamer initialization and find out why streamer is initialized twice.

I tried that. I get in the onInitialized event everytime I open a table once during debuging. But of course it only happens when I am not debuging. The strange thing is it only happens with one table sometimes. This table has no details tables. Other tables with details table have no problems.

Hello,
You can use other TMemDataTable events: AfterEdit, AfterFieldChange, AfterPost

Some more digging revealed that somehow the OnMasterChange was called by TMasterDataLink.
I use devexpress and I made a repository item that connected to table B which wasn’t open and had details table with the same logical name astable A I tried to open and when I opened table A thr details table from table B was opend simultaniously