Error java.lang.string cannot be cast to java.lang.integer

i trying to know what cases this error?
and how can i fix this error??

This is very form dependent. If you are still having the problem and
can provide a one or two question form that reproduces this issue, I'm
glad to look at it for you.

Thanks,

Yaw

··· -- Need ODK consultants? Nafundi provides form design, server setup, in-field training, and software development for ODK. Go to https://nafundi.com to get started.

On Thu, Jun 30, 2016 at 6:35 AM, mustafaobeid207@gmail.com wrote:

i trying to know what cases this error?
and how can i fix this error??

--

Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en


You received this message because you are subscribed to the Google Groups "ODK Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to opendatakit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Dear Yaw and fellow ODK users,

My form is reproducing the same error. I have looked at it again and again and turned things around, but every time I try to complete it in ODK, this same error comes up just after filling a few questions. What could be the problem? Please see attached the form. Appreciate your time and support. Completion_Survey_North_Household_Questionnaire2.xlsx (41.1 KB)

After too much experimenting, I have been able to figure it out. Basically, the problem was being caused by conditioning ODK to use a string variable in the repeat group, instead of an integer.

2 Likes

I have the same problem here can you help me with that Musinguzi?

Hi @lahcen_k
welcome to the forum! Please introduce yourself here!

when it comes to your problem, could you provide more detail? share the form that is broken? tell us when it happens?