# Servoy 3 - method stopped working in client

**URL:** <https://forum.servoy.com/t/servoy-3-method-stopped-working-in-client/5145>\
**Category:** Classic Servoy\
**Created:** [November 30, 2005, 4:49pm UTC](https://forum.servoy.com/t/servoy-3-method-stopped-working-in-client/5145 "2005-11-30T16:49:44Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kurt\_Wiedenhoeft](https://avatars.discourse-cdn.com/v4/letter/k/8edcca/32.png) [@Kurt\_Wiedenhoeft](https://forum.servoy.com/u/Kurt_Wiedenhoeft)\
**Post date:** [November 30, 2005, 4:49pm UTC](https://forum.servoy.com/t/servoy-3-method-stopped-working-in-client/5145/1 "2005-11-30T16:49:44Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Jan\_Aleman](https://avatars.discourse-cdn.com/v4/letter/j/4af34b/32.png) [@Jan\_Aleman](https://forum.servoy.com/u/Jan_Aleman)\
**Post date:** [November 30, 2005, 5:37pm UTC](https://forum.servoy.com/t/servoy-3-method-stopped-working-in-client/5145/2 "2005-11-30T17:37:35Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Kurt\_Wiedenhoeft](https://avatars.discourse-cdn.com/v4/letter/k/8edcca/32.png) [@Kurt\_Wiedenhoeft](https://forum.servoy.com/u/Kurt_Wiedenhoeft)\
**Post date:** [November 30, 2005, 10:00pm UTC](https://forum.servoy.com/t/servoy-3-method-stopped-working-in-client/5145/3 "2005-11-30T22:00:40Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Jan\_Aleman](https://avatars.discourse-cdn.com/v4/letter/j/4af34b/32.png) [@Jan\_Aleman](https://forum.servoy.com/u/Jan_Aleman)\
**Post date:** [December 1, 2005, 8:19am UTC](https://forum.servoy.com/t/servoy-3-method-stopped-working-in-client/5145/4 "2005-12-01T08:19:33Z")

</div>

can you email the full logfile to: [support@servoy.com](mailto:support@servoy.com)?

thanks.

---

<div class="post-metadata">

**Author:** ![jcompagner](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/jcompagner/32/4889_2.png) [@jcompagner](https://forum.servoy.com/u/jcompagner)\
**Post date:** [December 2, 2005, 3:15pm UTC](https://forum.servoy.com/t/servoy-3-method-stopped-working-in-client/5145/5 "2005-12-02T15:15:48Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![Kurt\_Wiedenhoeft](https://avatars.discourse-cdn.com/v4/letter/k/8edcca/32.png) [@Kurt\_Wiedenhoeft](https://forum.servoy.com/u/Kurt_Wiedenhoeft)\
**Post date:** [December 2, 2005, 5:13pm UTC](https://forum.servoy.com/t/servoy-3-method-stopped-working-in-client/5145/6 "2005-12-02T17:13:41Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![jcompagner](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/jcompagner/32/4889_2.png) [@jcompagner](https://forum.servoy.com/u/jcompagner)\
**Post date:** [December 2, 2005, 9:36pm UTC](https://forum.servoy.com/t/servoy-3-method-stopped-working-in-client/5145/7 "2005-12-02T21:36:30Z")

</div>

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.
