This calc is used on a form in table view which is used on a split pane. If I only return the code, everything is fine. If I return code and year, the app freezes. If I use the calc in an other context, it works.
Any idea?
Regards
Birgit
We use:
Servoy Version: 5.2.6 - build 1011 (but the error was there in 5.2.4, too)
on Mac OS X 10.6
Are the fields used in the calc regular columns or also calcs?
When the app freezes in developer or (in case of webclient) in the appserver, you can create a thread dump (‘Dump the current stack/systeminfo’ on the admin page), this may give a hint.
The accessed dataproviders in the calculation are regular colums of type text and type integer.
So far, only on one form it freezes the application (actually you still can select records, but the view does not update. As if the app is too busy).
How do I dump the stack? I did clear the server log, did turn tracing on, clicked on the broken form, did turn tracing off and attached the servoy_log. Is this what you need?
Actually, I did abbreviate the functions code a little in the last forum entry. Maybe you need to know the exact code for debugging:
can you create a case with that stackdump?
This is about that one of the those columns that you use (i don’t think the problem is that you use more then 1, i think the problem is that you use a specific one) is using a converter method
and the calc gets the value that first wants to go to the converter and somehow there it blocks…
Converter sounds like a reasonable “bad boy”. Since I found that omitting the integer column lets the application work fine. I did file a case and uploaded the stack dump (hope it worked, didn’t get any visual feedback in the browser).