function is working in debug but not smart client

How could it be that a function is working without any issues and errors in the debug client but not in the smart client?
There are no errors in the server logs and the java client-console.

What could be the reason for this?

Servoy 6.0.5
Java 1.6_29
PostgreSQL 9.1.2

Developer and Servoy server are separated.

Regards

how does it not work?
isn’t it called?
did you put any logging into it?

jcompagner:
how does it not work?

This function should return an userObject for increasing a counter:

var _item = forms.frm_edit.elements.bean_sourcelist.getItemFromUserObject(21);
_item.counterValue ++;

In the debug client I always get a value as return for the variable and the function is working well. But in the Smart Client it returns “null” and the function cannot work.

jcompagner:
isn’t it called?

It is called, but with no return.

jcompagner:
did you put any logging into it?

No!

please log then in the function that you call what you return, because currently we have no idea what goes wrong.