on 09-16-2009 9:42 AM
Hi,
I´m using PI 7.11 and trying to create a new UDF with a parameter.
But during execution of this UDF the value of the parameter is always null no matter what
value I insert.
I changed the code of the UDF to simple return the parameter given to the UDF and in case of parameter is of type
String always null is returned. When I change the parameter to the type int, the correct value which was given is returned.
I tried to create the UDF in the function tab, because there may be problems while creating it on definition tab.
In past I also created parametrized UDF and it works without problems.
could it be an problem with my local java version?
I use 1.5.0.
Does anybody else have the same problem?
Kind regards
Jochen
Hi guys,
I made some test with a dummy UDF.
It seems that this error only comes up when there is an old message mapping created on PI 7.0 which want to use the UDF.
If I use the same UDF in a new message mapping defined on PI 7.11 the param value is available and not null.
any ideas?
Kind regards
Jochen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi guys,
this issue is still open.
I made some further test.
The suspicion that only old mappings created during PI 7.0 release have this issue was wrong.
I created a new mapping and wanted to use an parametrized UDF and this error also occurs.
As I said before if I change the parameter type to int the correct value is used, only in case of String null is used.
On top of the that there are mappings where is no problem with parametrized UDFs.
Has anybody faced the same issue?
Any suggestions on how to investigate this issue further?
Kind regards
Jochen
User | Count |
---|---|
89 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.