I get an error when entering data on the phone

I have managed to design my own form and load it on my android mobile its
Motorola XT720, but after loading the form when I start to answer the
question I get an error when moving to the second question. The error reads
as Sorry! The application ODK collect (process org.odk.collect.android) has
stopped unexpectedly. Please try again

Irene

Irene,

You probably have a form that has a runtime error. Can you copy and
paste the text into http://dpaste.com/ and send out a link? If it's a
private form, send it to me directly. If it can be public, email the
list so others learn from it.

Thanks,

Yaw

··· On Tue, Feb 7, 2012 at 01:36, Irene Mremi wrote: > I have managed to design my own form and load it on my android mobile its > Motorola XT720, but after loading the form when I start to answer the > question I get an error when moving to the second question. The error reads > as Sorry! The application ODK collect (process org.odk.collect.android) has > stopped unexpectedly. Please try again > > Irene > > -- > Post: opendatakit@googlegroups.com > Unsubscribe: opendatakit+unsubscribe@googlegroups.com > Options: http://groups.google.com/group/opendatakit?hl=en

Hi Yaw,

During our piloting today (form attached; too long for dpaste), we
encountered this same error/crash twice, once at the beginning of a survey
and once at the end (with data from the latter survey being lost).
Unfortunately, both errors were encountered by surveyors out-of-sight and
we don't have much information about what might have caused the errors. In
both cases, they exited ODK Collect, restarted, and all was well. Neither
error has been reproduced. (In all, then, errors occurred in 2 out of about
62 form entries.)

People are particularly worried about the case where data was lost and the
interview had to be re-done. Do you have any suggestions regarding how I
might debug this sort of intermittent error? Is there a log file someplace
that might provide more detail?

Thanks very much,

Chris

B2_Census_Form.xml (38.6 KB)

··· On Tuesday, February 7, 2012, Yaw Anokwa wrote:

Irene,

You probably have a form that has a runtime error. Can you copy and
paste the text into http://dpaste.com/ and send out a link? If it's a
private form, send it to me directly. If it can be public, email the
list so others learn from it.

Thanks,

Yaw

On Tue, Feb 7, 2012 at 01:36, Irene Mremi <imremi@nimr.or.tz<javascript:;>> wrote:

I have managed to design my own form and load it on my android mobile its
Motorola XT720, but after loading the form when I start to answer the
question I get an error when moving to the second question. The error
reads
as Sorry! The application ODK collect (process org.odk.collect.android)
has
stopped unexpectedly. Please try again

Irene

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

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

What version of Collect was this?

··· 2012/2/7 Christopher Robert : > Hi Yaw, > > During our piloting today (form attached; too long for dpaste), we > encountered this same error/crash twice, once at the beginning of a survey > and once at the end (with data from the latter survey being lost). > Unfortunately, both errors were encountered by surveyors out-of-sight and we > don't have much information about what might have caused the errors. In both > cases, they exited ODK Collect, restarted, and all was well. Neither error > has been reproduced. (In all, then, errors occurred in 2 out of about 62 > form entries.) > > People are particularly worried about the case where data was lost and the > interview had to be re-done. Do you have any suggestions regarding how I > might debug this sort of intermittent error? Is there a log file someplace > that might provide more detail? > > Thanks very much, > > Chris > > > On Tuesday, February 7, 2012, Yaw Anokwa wrote: >> >> Irene, >> >> You probably have a form that has a runtime error. Can you copy and >> paste the text into http://dpaste.com/ and send out a link? If it's a >> private form, send it to me directly. If it can be public, email the >> list so others learn from it. >> >> Thanks, >> >> Yaw >> >> On Tue, Feb 7, 2012 at 01:36, Irene Mremi wrote: >> > I have managed to design my own form and load it on my android mobile >> > its >> > Motorola XT720, but after loading the form when I start to answer the >> > question I get an error when moving to the second question. The error >> > reads >> > as Sorry! The application ODK collect (process org.odk.collect.android) >> > has >> > stopped unexpectedly. Please try again >> > >> > Irene >> > >> > -- >> > Post: opendatakit@googlegroups.com >> > Unsubscribe: opendatakit+unsubscribe@googlegroups.com >> > Options: http://groups.google.com/group/opendatakit?hl=en >> >> -- >> Post: opendatakit@googlegroups.com >> Unsubscribe: opendatakit+unsubscribe@googlegroups.com >> Options: http://groups.google.com/group/opendatakit?hl=en > > -- > Post: opendatakit@googlegroups.com > Unsubscribe: opendatakit+unsubscribe@googlegroups.com > Options: http://groups.google.com/group/opendatakit?hl=en

This was 1.1.7.

Chris

··· On Feb 7, 2012 7:40 PM, "Yaw Anokwa" wrote:

What version of Collect was this?

2012/2/7 Christopher Robert chris_robert@hksphd.harvard.edu:

Hi Yaw,

During our piloting today (form attached; too long for dpaste), we
encountered this same error/crash twice, once at the beginning of a
survey
and once at the end (with data from the latter survey being lost).
Unfortunately, both errors were encountered by surveyors out-of-sight
and we
don't have much information about what might have caused the errors. In
both
cases, they exited ODK Collect, restarted, and all was well. Neither
error
has been reproduced. (In all, then, errors occurred in 2 out of about 62
form entries.)

People are particularly worried about the case where data was lost and
the
interview had to be re-done. Do you have any suggestions regarding how I
might debug this sort of intermittent error? Is there a log file
someplace
that might provide more detail?

Thanks very much,

Chris

On Tuesday, February 7, 2012, Yaw Anokwa wrote:

Irene,

You probably have a form that has a runtime error. Can you copy and
paste the text into http://dpaste.com/ and send out a link? If it's a
private form, send it to me directly. If it can be public, email the
list so others learn from it.

Thanks,

Yaw

On Tue, Feb 7, 2012 at 01:36, Irene Mremi imremi@nimr.or.tz wrote:

I have managed to design my own form and load it on my android mobile
its
Motorola XT720, but after loading the form when I start to answer the
question I get an error when moving to the second question. The error
reads
as Sorry! The application ODK collect (process
org.odk.collect.android)

has
stopped unexpectedly. Please try again

Irene

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

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

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

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

When something like this happens, if at all feasible, use a system log
viewer app like LogCat's LogViewer Lite to send the system error log to us.

Or, if you have the android SDK installed, capture the output of "adb
logcat" and send that to us.

Mitch

··· On Tue, Feb 7, 2012 at 9:46 AM, Christopher Robert < chris_robert@hksphd.harvard.edu> wrote:

This was 1.1.7.

Chris
On Feb 7, 2012 7:40 PM, "Yaw Anokwa" yanokwa@gmail.com wrote:

What version of Collect was this?

2012/2/7 Christopher Robert chris_robert@hksphd.harvard.edu:

Hi Yaw,

During our piloting today (form attached; too long for dpaste), we
encountered this same error/crash twice, once at the beginning of a
survey
and once at the end (with data from the latter survey being lost).
Unfortunately, both errors were encountered by surveyors out-of-sight
and we
don't have much information about what might have caused the errors. In
both
cases, they exited ODK Collect, restarted, and all was well. Neither
error
has been reproduced. (In all, then, errors occurred in 2 out of about 62
form entries.)

People are particularly worried about the case where data was lost and
the
interview had to be re-done. Do you have any suggestions regarding how I
might debug this sort of intermittent error? Is there a log file
someplace
that might provide more detail?

Thanks very much,

Chris

On Tuesday, February 7, 2012, Yaw Anokwa wrote:

Irene,

You probably have a form that has a runtime error. Can you copy and
paste the text into http://dpaste.com/ and send out a link? If it's a
private form, send it to me directly. If it can be public, email the
list so others learn from it.

Thanks,

Yaw

On Tue, Feb 7, 2012 at 01:36, Irene Mremi imremi@nimr.or.tz wrote:

I have managed to design my own form and load it on my android mobile
its
Motorola XT720, but after loading the form when I start to answer the
question I get an error when moving to the second question. The error
reads
as Sorry! The application ODK collect (process
org.odk.collect.android)

has
stopped unexpectedly. Please try again

Irene

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

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

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

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

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

--
Mitch Sundt
Software Engineer
University of Washington
mitchellsundt@gmail.com

Christopher,

I tried out the form and I don't see anything that'd cause a crash. If
the phones are online, you can always send the bug report when it
crashes and we'll get a stack trace that way as well.

Other things you might want to try. Swap the potentially bad phones
between users and see if the problem follows the user or the phone.
Find out what the user was doing when the phone crashed. Was it
swiping to a particular question? Was it during a save (or other
interaction with SD card) operation? Was it on rotate? The more
information we can get the better.

We do a lot of testing and have had very few reports of data loss over
the years -- most of those have been due to bad SD cards. Regardless,
I'm very sorry about the lost data. Until we track down the problem,
remember that enumerators can save the form every few questions.

Thanks,

Yaw

··· On Tue, Feb 7, 2012 at 10:16, Mitch S wrote: > When something like this happens, if at all feasible, use a system log > viewer app like LogCat's LogViewer Lite to send the system error log to us. > > Or, if you have the android SDK installed, capture the output of "adb > logcat" and send that to us. > > Mitch > > > On Tue, Feb 7, 2012 at 9:46 AM, Christopher Robert wrote: >> >> This was 1.1.7. >> >> Chris >> >> On Feb 7, 2012 7:40 PM, "Yaw Anokwa" wrote: >>> >>> What version of Collect was this? >>> >>> 2012/2/7 Christopher Robert : >>> > Hi Yaw, >>> > >>> > During our piloting today (form attached; too long for dpaste), we >>> > encountered this same error/crash twice, once at the beginning of a >>> > survey >>> > and once at the end (with data from the latter survey being lost). >>> > Unfortunately, both errors were encountered by surveyors out-of-sight >>> > and we >>> > don't have much information about what might have caused the errors. In >>> > both >>> > cases, they exited ODK Collect, restarted, and all was well. Neither >>> > error >>> > has been reproduced. (In all, then, errors occurred in 2 out of about >>> > 62 >>> > form entries.) >>> > >>> > People are particularly worried about the case where data was lost and >>> > the >>> > interview had to be re-done. Do you have any suggestions regarding how >>> > I >>> > might debug this sort of intermittent error? Is there a log file >>> > someplace >>> > that might provide more detail? >>> > >>> > Thanks very much, >>> > >>> > Chris >>> > >>> > >>> > On Tuesday, February 7, 2012, Yaw Anokwa wrote: >>> >> >>> >> Irene, >>> >> >>> >> You probably have a form that has a runtime error. Can you copy and >>> >> paste the text into http://dpaste.com/ and send out a link? If it's a >>> >> private form, send it to me directly. If it can be public, email the >>> >> list so others learn from it. >>> >> >>> >> Thanks, >>> >> >>> >> Yaw >>> >> >>> >> On Tue, Feb 7, 2012 at 01:36, Irene Mremi wrote: >>> >> > I have managed to design my own form and load it on my android >>> >> > mobile >>> >> > its >>> >> > Motorola XT720, but after loading the form when I start to answer >>> >> > the >>> >> > question I get an error when moving to the second question. The >>> >> > error >>> >> > reads >>> >> > as Sorry! The application ODK collect (process >>> >> > org.odk.collect.android) >>> >> > has >>> >> > stopped unexpectedly. Please try again >>> >> > >>> >> > Irene >>> >> > >>> >> > -- >>> >> > Post: opendatakit@googlegroups.com >>> >> > Unsubscribe: opendatakit+unsubscribe@googlegroups.com >>> >> > Options: http://groups.google.com/group/opendatakit?hl=en >>> >> >>> >> -- >>> >> Post: opendatakit@googlegroups.com >>> >> Unsubscribe: opendatakit+unsubscribe@googlegroups.com >>> >> Options: http://groups.google.com/group/opendatakit?hl=en >>> > >>> > -- >>> > Post: opendatakit@googlegroups.com >>> > Unsubscribe: opendatakit+unsubscribe@googlegroups.com >>> > Options: http://groups.google.com/group/opendatakit?hl=en >>> >>> -- >>> Post: opendatakit@googlegroups.com >>> Unsubscribe: opendatakit+unsubscribe@googlegroups.com >>> Options: http://groups.google.com/group/opendatakit?hl=en >> >> -- >> Post: opendatakit@googlegroups.com >> Unsubscribe: opendatakit+unsubscribe@googlegroups.com >> Options: http://groups.google.com/group/opendatakit?hl=en > > > > > -- > Mitch Sundt > Software Engineer > University of Washington > mitchellsundt@gmail.com > > -- > Post: opendatakit@googlegroups.com > Unsubscribe: opendatakit+unsubscribe@googlegroups.com > Options: http://groups.google.com/group/opendatakit?hl=en

Hi Yaw,

Thanks for the reply. We'll try to better track what's happening around any
future crashes, though sadly we won't be able to report the stack trace
(since the phones aren't connected while in use). We'll also try swapping
phones and users, as you suggest. Lastly, I'm trying to see if we can get
the system logs off of the phones, in case those can shed any light.

Thanks again,

Chris

··· On Wednesday, February 8, 2012, Yaw Anokwa wrote:

Christopher,

I tried out the form and I don't see anything that'd cause a crash. If
the phones are online, you can always send the bug report when it
crashes and we'll get a stack trace that way as well.

Other things you might want to try. Swap the potentially bad phones
between users and see if the problem follows the user or the phone.
Find out what the user was doing when the phone crashed. Was it
swiping to a particular question? Was it during a save (or other
interaction with SD card) operation? Was it on rotate? The more
information we can get the better.

We do a lot of testing and have had very few reports of data loss over
the years -- most of those have been due to bad SD cards. Regardless,
I'm very sorry about the lost data. Until we track down the problem,
remember that enumerators can save the form every few questions.

Thanks,

Yaw

On Tue, Feb 7, 2012 at 10:16, Mitch S mitchellsundt@gmail.com wrote:

When something like this happens, if at all feasible, use a system log
viewer app like LogCat's LogViewer Lite to send the system error log to
us.

Or, if you have the android SDK installed, capture the output of "adb
logcat" and send that to us.

Mitch

On Tue, Feb 7, 2012 at 9:46 AM, Christopher Robert chris_robert@hksphd.harvard.edu wrote:

This was 1.1.7.

Chris

On Feb 7, 2012 7:40 PM, "Yaw Anokwa" yanokwa@gmail.com wrote:

What version of Collect was this?

2012/2/7 Christopher Robert chris_robert@hksphd.harvard.edu:

Hi Yaw,

During our piloting today (form attached; too long for dpaste), we
encountered this same error/crash twice, once at the beginning of a
survey
and once at the end (with data from the latter survey being lost).
Unfortunately, both errors were encountered by surveyors out-of-sight
and we
don't have much information about what might have caused the errors.
In

both
cases, they exited ODK Collect, restarted, and all was well. Neither
error
has been reproduced. (In all, then, errors occurred in 2 out of about
62
form entries.)

People are particularly worried about the case where data was lost
and

the
interview had to be re-done. Do you have any suggestions regarding
how

I
might debug this sort of intermittent error? Is there a log file
someplace
that might provide more detail?

Thanks very much,

Chris

On Tuesday, February 7, 2012, Yaw Anokwa wrote:

Irene,

You probably have a form that has a runtime error. Can you copy and
paste the text into http://dpaste.com/ and send out a link? If
it's a

private form, send it to me directly. If it can be public, email the
list so others learn from it.

Thanks,

Yaw

On Tue, Feb 7, 2012 at 01:36, Irene Mremi imremi@nimr.or.tz wrote:

I have managed to design my own form and load it on my android
mobile
its
Motorola XT720, but after loading the form when I start to answer
the
question I get an error when moving to the second question. The
error
reads
as Sorry! The application ODK collect (process
org.odk.collect.android)
has
stopped unexpectedly. Please try again

Irene

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