Jump to content

How to debug O6C1 not found in session list


RobYost

Recommended Posts

I have had similar errors and received an ajax error within the debugger.  Previously it had a very long javascript piece in the message.  When I pasted it to a jave script beautifer then into jslint.com it would show where the error was (field name) and I could figure out the problem.
 
But this time all I get is a message in the chrome window:
Eventclick, Object: O6C1 not found in session list. It could be timed 
out, refresh page and try again.
How can I debug this?

 

post-4889-0-00305100-1519004486_thumb.jpg

Link to comment
Share on other sites

I show a modal form, and when I click OK or Cancel (mrOK and mrCancel) the message pops up.


procedure TfrmModal.ShowRecurringCharge(aRecurringCharge: Integer);
var
  aFrame: TfraRecurringCharges;
begin
  aFrame := TfraRecurringCharges.Create(self);
  try
    if aRecurringCharge = 0 then
      frmModal.Caption := 'Create a new scheduled charge'
    else
      frmModal.Caption := 'Edit an existing scheduled charge';
    frmModal.Height := aFrame.Height + 30;
    frmModal.Width  := aFrame.Width + 12;
    aFrame.Parent := frmModal;
    borderstyle   := bsToolWindow;
    borderIcons   := [biSystemMenu];
    aFrame.AddScheduledCharge(aRecurringCharge);
  finally
    aFrame.Free;
  end;
end;
 
procedure TfraRecurringCharges.AddScheduledCharge(aNewChargeID: Integer);
....
I commented out all above code (it is just setting defaults on form)
....
if (frmModal.ShowModal = mrOK) then   begin     ....
the code in here shouldn't matter
​ because it also happens when I click cancel. 
....
end;
end

 

Link to comment
Share on other sites

My real problem is not what is wrong with the code, but why I get an error during the run in the browser, but no error in the IDE? If I got an error on the IDE I think I could fix it.

 

EDIT: I am ignoring NO exceptions in:Tools->Options->Debugger Options->Embarcadero Debuggers->Language Exceptions

          I also tried both Run Handled and Run Unhandled for Native OS Exceptions 

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...