cancel
Showing results for 
Search instead for 
Did you mean: 

UDF error

Former Member
0 Kudos

Hi all,

I got a strange problem with my UDF. When I use the method Integer.parseInt(java.lang.String[]) in my Advanced UDF(Context or Queue) I get the error:

cannot resolve symbol symbol : method parseInt (java.lang.String[]) location: class java.lang.Integer

But if I change it to a Simple UDF(Value), it works fine. I did specify java.lang.Integer as the import.

Am I missing something?

Regards,

Gökhan

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

I think with Context or Queue you need to pass the current index..of the array. e.g. a<i>

With Simple as cache parameter in UDF ...it will consider string only not array.

Thanks

Swarup

Answers (1)

Answers (1)

Former Member
0 Kudos

Oh my.. what a dumb thing.

This solved it. Thanks Swarup.