Can not find mapping [Id]...

I seem to run into something strange and can't find a clue in the manual.

The code below raises "Can not find mapping [Id] on class TSQLiteStatement" during the fObjManager.Flush.

Anyone have a clue on possible causes?

procedure TDlgEditNote.btnDeleteClick(Sender: TObject);
begin
  inherited;
  if Assigned(fNote) and
     Assigned(fObjmanager) then
    begin
//      if not fObjManager.IsAttached(fNote) then   {error persists when checking for attached fNote}
//        fObjManager.Update(fNote);
      fObjManager.Remove( fNote );
      fObjManager.Flush;
    end;
end;

What is the mapping of your class TSQLiteStatement? 

That's the interesting thing Wagner. I don't use any TSQLiteStatement class...

I've made a screengrab of the stack here.
 

My guess is that either fNote or fObjManager have been previously destroyed and Aurelius is accessing garbage data.