Trouble displaying forms in tabpanel or dialogue

I have a large solution that has 140 forms (so far). I have noted that after loading many of these forms by flipping through them during use of the solution Servoy begins to have problems loading new forms. The problem manifest as forms that won’t display when a tab is hit (no error just a blank form displays). If I try to display a form in dialogue I get an error that says the object doesn’t exist. If I flip back and forth between a form that is displaying and one that Servoy is having trouble displaying; the problem form eventually displays. If I repeat calling the form in dialogue several times it eventually displays. Once it displays I no longer have problems displaying it. I think it might be a memory/cache issue because it only happens after many forms have been displayed and once it manifest it becomes progressively more of a problem. When the form display problem manifest I also note that Servoy does not always display all records in the foundset. I sent Jan a sample several days ago of the solution where I encounter these issues. Sorry for the lengthy description.

Thanks for your help,

John McCann

Servoy Developer
Version R2 2.0 rc10-build 269
Java version 1.4.2_03-b02 (Windows XP)

Did you tried to increased the memory assigned to developer?

java -Xmx256M -jar servoy_developer.jar

I have tried this and it does not solve this particular problem. Any other ideas?

John McCann

Do you have this issue in the client too? I too have about the same amount of forms but only experienced this problem so far when I have switched to and from layout mode often to test changes. Restarting the solution (or restarting the developer) solved that strange behaviour for me.

And when do you experience that you don’t see all records in a foundset? Is that when you navigate from a portal?

I am still in development so I have only looked at it using the developer software. Most of my navigation is done using tab panels. Some of the forms displayed on the tabpanels have portals on them, but (with one exception) I do not use the portals for navigation. I can see the strange behavior without switching between the designer and the data ready mode.

John McCann

The problem with not all of the related records being displayed in a tabpanel occurs at exactly the same time I have problems getting the tabpanel form to load. They seem to be related problems. It is not required that I do any navigation from a portal to see this issue crop up.

John McCann

Maybe it is an idea to take out your tabs (not the panels just the tabs) and put in new tabs. When you changed relationships during development the ‘old’ tabs could contain wrong relations… At least this worked for me in some occasions…

idoctor:
I sent Jan a sample several days ago of the solution where I encounter these issues. Sorry for the lengthy description.

Thanks for that, but could you mail me the steps how to reproduce this in your solution? (is quite big)