We are getting one error TypeError: GELEVERDAttr.equals is not a function
 

While checking we could see that the attribute GELEVERD is of type Integer that has been compared with long integer.

Whether this may cause the issue?

Please someone help on this asap.


Hello Akshaya Dhayal,

What exactly you are trying to do? When you get this error, can you please explain more

Suhas Jamdade wrote:

Hello Akshaya Dhayal,

What exactly you are trying to do? When you get this error, can you please explain more

In our code there is one comparison which caused error.They are comparing Integer and longInteger by that time the error occurs.

Akshaya Dhayal wrote:

Suhas Jamdade wrote:

Hello Akshaya Dhayal,

What exactly you are trying to do? When you get this error, can you please explain more

In our code there is one comparison which caused error.They are comparing Integer and longInteger by that time the error occurs.

Whether that cause the type error?


Hello Akshaya,

It is not possible to help you with so little information...

Web or mobile?
Which version?
When does the error happen?
Can you show the comparison? A screenshot of the code?

Cheers

Eduardo Jauch wrote:

Hello Akshaya,

It is not possible to help you with so little information...

Web or mobile?
Which version?
When does the error happen?
Can you show the comparison? A screenshot of the code?

Cheers

Mobile..Version is 10.0..While doing List filter we are getting 

TypeError: GELEVERDAttr.equals is not a function

Actually we shouldn't take screenshot of the code.



Hello Akshaya,

The error is "classical" in the sense you are comparing things that are not comparable.
If you search on the net, you will find lots of resources about this error.

I understand that you can't show the code, but without knowing what are you doing, how are you comparing, at which point of the code the comparison is, etc, it is hard to help. At least for me.

Cheers.

P.S. In any case, you can try to use LongIntegerToInteger on the long integer parameter to see if the error goes away...