question

Przemyslaw Pasich avatar image
1 Like"
Przemyslaw Pasich asked Jason Lightfoot commented

CallUserCallback whenever the model is saved

Description: the model throws the following error in System Console whenever it's saved:

exception: treewin__CallUserCallback
ex: CallUserCallback

How to recreate the error:

  1. Have a Calculated Table run a query that results in having an empty pointer 0x0 in its "result" part
  2. Have e.g. a Dynamic text in a process flow address any cell in that Calculated Table (doesn't even need to be that empty pointer)
  3. Now whenever the model is saved, it'll throw an error message in System Console (but saves okay)

As far as I noticed, this error is benign: I observed no erratic behavior apart from the error message appearing whenever the model is saved.

To get rid of it, just eliminate that empty pointer 0x0 from the memory of the Calculated Table - by replacing it with a non-empty pointer, by filtering it out using SQL, by changing the 0x0 into an empty string in the source table, etc.

I am attaching a dummy model that recreates the said error.

I'm making this post so that anyone looking up the enigmatic "CallUserCallback" error maybe finds a solution here - I know I was pretty worried at first when I noticed my model throws a cryptic error message whenever I saved it.

treewin_CallUserCallback on save prompted by empty pointer in Calculated Table.fsm

FlexSim 24.0.0
save errorcallusercallback
· 1
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Jason Lightfoot avatar image Jason Lightfoot ♦ commented ·

Hi @Przemyslaw Pasich, was Jason Lightfoot's answer helpful? If so, please click the "Accept" button at the bottom of their answer. Or if you still have questions, add a comment and we'll continue the conversation.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always comment back to reopen your question.

0 Likes 0 ·

1 Answer

·
Jason Lightfoot avatar image
0 Likes"
Jason Lightfoot answered

Thanks for pointing this out in case some other users find it - it looks like this was fixed in version 24.0.1.

5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.