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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...