# Shouldn't happen that the trigger element names are empty,

**URL:** <https://forum.servoy.com/t/shouldnt-happen-that-the-trigger-element-names-are-empty/9624>\
**Category:** Classic Servoy\
**Created:** [September 22, 2008, 10:25am UTC](https://forum.servoy.com/t/shouldnt-happen-that-the-trigger-element-names-are-empty/9624 "2008-09-22T10:25:45Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![martinh](https://avatars.discourse-cdn.com/v4/letter/m/848f3c/32.png) [@martinh](https://forum.servoy.com/u/martinh)\
**Post date:** [September 22, 2008, 10:25am UTC](https://forum.servoy.com/t/shouldnt-happen-that-the-trigger-element-names-are-empty/9624/1 "2008-09-22T10:25:45Z")

</div>

Since I updated Servoy to 3.5.7 I see the following message in my log:

> Shouldn’t happen that the trigger element names are empty, is this called in a script that is triggered by solution startup?

Also I see errors about null pointer exception that are probably related to this message.

Indeed I save a situation that I start a webclient using a startup method, including an argument.

```auto
https://online.globis.be/servoy-webclient/ss/s/fds_webshop/m/webshop_login/a/f7fb71a2-b8fb-1234-abcd-087042dd642b

```

Was there something changed in 3.5.7 (and perhaps also in 4.0) for this kind of startup?

And is it possible to go back to version 3.5.6 or was the repository changed between 3.5.6 and 3.5.7?

Martin

---

<div class="post-metadata">

**Author:** ![ROCLASI](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/roclasi/32/4371_2.png) [@ROCLASI](https://forum.servoy.com/u/ROCLASI)\
**Post date:** [September 22, 2008, 10:56am UTC](https://forum.servoy.com/t/shouldnt-happen-that-the-trigger-element-names-are-empty/9624/2 "2008-09-22T10:56:10Z")

</div>

Hi Martin,

When do these errors happen ? When you load the solution ?

> martinh:  
> And is it possible to go back to version 3.5.6 or was the repository changed between 3.5.6 and 3.5.7?

Nothing was changed in the repository between those versions. I still have the 3.5.6 installer so if you want to downgrade give me a PM and I will send you an URL.

---

<div class="post-metadata">

**Author:** ![martinh](https://avatars.discourse-cdn.com/v4/letter/m/848f3c/32.png) [@martinh](https://forum.servoy.com/u/martinh)\
**Post date:** [September 22, 2008, 11:47am UTC](https://forum.servoy.com/t/shouldnt-happen-that-the-trigger-element-names-are-empty/9624/3 "2008-09-22T11:47:57Z")

</div>

Hi Robert,

The error occurs indeed when starting the URL.

Can it has something to do with version 4.0 that affects also version 3.5.7?

In version 3.5.6 you can’t say that a method has parameters, so you must checkout the arguments array.  
In version 4.0 you can say:

function myFunction(myParameter)

So now you can put in coding that a method has a parameter. Could it be something like this?  
Because when I look at the coding I have the impression that it is the arguments array that has null value.

Martin

---

<div class="post-metadata">

**Author:** ![ROCLASI](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/roclasi/32/4371_2.png) [@ROCLASI](https://forum.servoy.com/u/ROCLASI)\
**Post date:** [September 22, 2008, 12:03pm UTC](https://forum.servoy.com/t/shouldnt-happen-that-the-trigger-element-names-are-empty/9624/4 "2008-09-22T12:03:23Z")

</div>

Hi Martin,

> martinh:  
> Can it has something to do with version 4.0 that affects also version 3.5.7?
> 
> In version 3.5.6 you can’t say that a method has parameters, so you must checkout the arguments array.  
> In version 4.0 you can say:
> 
> function myFunction(myParameter)
> 
> So now you can put in coding that a method has a parameter. Could it be something like this?  
> Because when I look at the coding I have the impression that it is the arguments array that has null value.

I just tested the webclient with passing a parameter in 3.5.7 using your syntax and it all works for me.  
Also in Servoy 4 you still need to checkout the arguments for methods. If I remember correctly only custom functions (inside methods) can use arguments in the function name.

---

<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:** [September 25, 2008, 9:56am UTC](https://forum.servoy.com/t/shouldnt-happen-that-the-trigger-element-names-are-empty/9624/5 "2008-09-25T09:56:36Z")

</div>

yes arguments are not yet supported in 4.0.x this is being worked on.

Martin, are you touching the application.getMethodTriggerElementName() or something like that in your startup method?

---

<div class="post-metadata">

**Author:** ![martinh](https://avatars.discourse-cdn.com/v4/letter/m/848f3c/32.png) [@martinh](https://forum.servoy.com/u/martinh)\
**Post date:** [October 15, 2008, 12:36pm UTC](https://forum.servoy.com/t/shouldnt-happen-that-the-trigger-element-names-are-empty/9624/6 "2008-10-15T12:36:51Z")

</div>

> jcompagner:  
> Martin, are you touching the application.getMethodTriggerElementName() or something like that in your startup method?

No, but it looks like the security is not working anymore like it worked in 3.5.6. See the following topic:

[http://forum.servoy.com/viewtopic.php?f=22&t=6900&start=45&st=0&sk=t&sd=a](http://forum.servoy.com/viewtopic.php?f=22&t=6900&start=45&st=0&sk=t&sd=a)

The last replies in this topic explain more about this case
