Servoy 3 - method stopped working in client

I have just installed 3.0 alpha 11 on our server, since it appeared very stable in testing (I realize it’s alpha, but Jan said to go ahead and use it unless lives are at stake, or we’re launching rockets). It works great for the most part. However, I’m having some strange behavior with a few methods. Most work fine, but a handful fail on the client. When I go into the developer, they work fine. I have now found three different functions that exhibit this behavior. I’m at a loss how to troubleshoot it. I have upgraded the client to JRE 1.5.05, and it happens even when client and developer are on the same machine.

The error message is just: Error while performing method with name ViewsList.addView

The code in this method is quite lengthy, so I don’t want to post it all. But it has not changed in some time, and this error happened only after the update to Servoy 3.0. Do I need to roll back to 2.2.2 for now, or is there something else I can do to resolve this?

Kurt

The easiest to find it out is to turn on error logging to file (in your webstart preferences) after which you should find a bit more details on the error in your logfile on the client machine. In most cases it will even tell you on which line things went wrong.

Jan,

Thanks for the tip on logging. I turned on logging. This is the relevant line that shows up everytime I get an error:

2005-11-30T14:44:08 1133387048727 290 com.sun.deploy FINE com.sun.deploy.util.LoggerTraceListener print 10 at com.servoy.j2db.util.a.c.run(Unknown Source)

Maybe that makes sense to you?

Since my first post I’ve tried deleting the whole solution and re-importing it, but that did not help. Any other suggestions would be appreciated.

Kurt

can you email the full logfile to: support@servoy.com?

thanks.

its a bit hard to read in plain text because it is xml but i see that you are setting an url on a label with setImageUrl() in youre script gotoWorks line 2 (i think triggered by onShow())

And that url is not a valid url.
So what url do you set in it?

Well, I do have a script that sets that URL, but it does not run when I click on the Add View button, which is when I get the error message. That script does a query and then prompts the user for input, but I never see the dialog.

I set up a new server running 2.2.3, and copied the same solution over, and it runs fine. However, I still get the error when trying to run the solution under 3.0. I will be running the production site on 2.2.3 for now, and do development on the new solution on a separate box (like I should have done in the first place).

Kurt

what kind of error do you get?
I only see those setImageUrl() problems in the log nothing more.

i need to see the solution then to test it.