# Bearing widget causes form not to upload to Aggregate running on App Engine

**URL:** <https://forum.getodk.org/t/bearing-widget-causes-form-not-to-upload-to-aggregate-running-on-app-engine/4943>\
**Category:** Support\
**Created:** [November 1, 2015, 8:20pm UTC](https://forum.getodk.org/t/bearing-widget-causes-form-not-to-upload-to-aggregate-running-on-app-engine/4943 "2015-11-01T20:20:24Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sid\_Patel](https://getodk.b-cdn.net/user_avatar/forum.getodk.org/sid_patel/32/1621_2.png) [@Sid\_Patel](https://forum.getodk.org/u/Sid_Patel)\
**Post date:** [November 1, 2015, 8:20pm UTC](https://forum.getodk.org/t/bearing-widget-causes-form-not-to-upload-to-aggregate-running-on-app-engine/4943/1 "2015-11-01T20:20:24Z")

</div>

I'm running ODK Aggregate 1.4.6 on Google App Engine and ODK Collect 1.4.7  
on my XPERIA Z3. I'm trying out the Bearing widget in a form. However, when  
I try to send the finalised form to the server I get an error message from  
ODK Collect. The error is "Internal server error (500)".

In XLSForms the prompt is defined:  
TYPE: decimal, NAME: Bearing, APPERANCE: bearing. This is causing an error!  
If i delete the value in the APPERANCE column, I can send the form without  
any errors.

The log in App Engine will show:  
org.opendatakit.aggregate.servlet.SubmissionServlet doPost: Unexpected  
exception: null  
when I'm using the Bearing widget.

Anyone got any ideas how to resolve this?

---

<div class="post-metadata">

**Author:** ![yanokwa](https://getodk.b-cdn.net/user_avatar/forum.getodk.org/yanokwa/32/1695_2.png) [@yanokwa](https://forum.getodk.org/u/yanokwa)\
**Post date:** [November 2, 2015, 3:29am UTC](https://forum.getodk.org/t/bearing-widget-causes-form-not-to-upload-to-aggregate-running-on-app-engine/4943/2 "2015-11-02T03:29:06Z")

</div>

Sid,

Appearance shouldn't cause change in behavior on Aggregate. I just  
tested with Collect 1.4.7 and Aggregate 1.4.5 and it worked great with  
the attached form and submission.

Yaw

[bearing.xlsx](https://getodk.b-cdn.net/uploads/default/original/1X/a1433bcf4ebf1e9942b3a03d7a5960b8ba6640fe.xlsx) (10.4 KB)

[bearing.xml](https://getodk.b-cdn.net/uploads/default/original/1X/4c57318b37327b002b6feb6b38e6d05202fe04c5.xml) (828 Bytes)

[bearing\_2015-11-02\_10-22-00.xml](https://getodk.b-cdn.net/uploads/default/original/1X/67d77e27cffa764c48275eda822c44c5d44dacd6.xml) (159 Bytes)

> **···**
>
> -- Need ODK consultants? https://nafundi.com provides form design, server setup, in-field training, and software development for ODK.
> 
> On Mon, Nov 2, 2015 at 3:20 AM, Sid Patel [4sidpatel@gmail.com](mailto:4sidpatel@gmail.com) wrote:
> 
> > I'm running ODK Aggregate 1.4.6 on Google App Engine and ODK Collect 1.4.7  
> > on my XPERIA Z3. I'm trying out the Bearing widget in a form. However, when  
> > I try to send the finalised form to the server I get an error message from  
> > ODK Collect. The error is "Internal server error (500)".
> > 
> > In XLSForms the prompt is defined:  
> > TYPE: decimal, NAME: Bearing, APPERANCE: bearing. This is causing an error!  
> > If i delete the value in the APPERANCE column, I can send the form without  
> > any errors.
> > 
> > The log in App Engine will show:  
> > org.opendatakit.aggregate.servlet.SubmissionServlet doPost: Unexpected  
> > exception: null  
> > when I'm using the Bearing widget.
> > 
> > Anyone got any ideas how to resolve this?
> > 
> > ## --
> > 
> > Post: [opendatakit@googlegroups.com](mailto:opendatakit@googlegroups.com)  
> > Unsubscribe: [opendatakit+unsubscribe@googlegroups.com](mailto:opendatakit+unsubscribe@googlegroups.com)  
> > Options: [http://groups.google.com/group/opendatakit?hl=en](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](mailto:opendatakit+unsubscribe@googlegroups.com).  
> > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Sid\_Patel](https://getodk.b-cdn.net/user_avatar/forum.getodk.org/sid_patel/32/1621_2.png) [@Sid\_Patel](https://forum.getodk.org/u/Sid_Patel)\
**Post date:** [November 2, 2015, 7:13pm UTC](https://forum.getodk.org/t/bearing-widget-causes-form-not-to-upload-to-aggregate-running-on-app-engine/4943/3 "2015-11-02T19:13:36Z")

</div>

Hi Yaw,

Thanks for your answer. Unfortunately I'm getting the same problems when  
using your XLSForm/Xform. When I delete the 'bearing'-value in the  
APPERANCE-column, submission works as it should.

Since last post I have upgraded ODK Aggregate to version 1.4.7, but this  
doesn't help, still same problem. I've enclosed my AppEngine logs for  
Aggregate. When I upload a form I get warnings, and when I submit the same  
form I get errors. See the attached file.

Form upload warnings:

```
W 19:21:18.623 org.opendatakit.aggregate.form.FormDefinition getSubmissionAssociation: No sa record matching this formId bearing
W 19:21:18.623 org.opendatakit.aggregate.form.FormDefinition getFormDefinition: No complete persistence model for sa record matching this formId bearing
W 19:21:19.278 org.opendatakit.aggregate.form.FormDefinition getSubmissionAssociation: No sa record matching this formId bearing
W 19:21:19.278 org.opendatakit.aggregate.form.FormDefinition getFormDefinition: No complete persistence model for sa record matching this formId bearing

```

Form submission error (last row):

```
I 19:22:36.193 org.opendatakit.aggregate.form.FormFactory internalGetForms: FormCache: fetching new list of Forms
I 19:22:36.269 org.opendatakit.aggregate.util.BackendActionsTable logValues: incoming- last Fetch: -23133 [S: -22964 Eq: -23133 Fs: -33645] futureMillis: 876867
I 19:22:36.292 org.opendatakit.aggregate.util.BackendActionsTable logValues: -fetched- last Fetch: 0 [S: -22964 Eq: -23133 Fs: -33645] futureMillis: -1
I 19:22:36.396 org.opendatakit.aggregate.util.BackendActionsTable logValues: Fs-update last Fetch: 0 [S: -22964 Eq: -23133 Fs: 876867] futureMillis: 876867 requested: 876867
E 19:22:36.415 org.opendatakit.aggregate.servlet.SubmissionServlet doPost: Unexpected exception: null

```

Sid

Den måndag 2 november 2015 kl. 04:29:49 UTC+1 skrev Yaw Anokwa:

 ![image](https://getodk.b-cdn.net/uploads/default/original/2X/c/ce3af3b45deb08d54b24cd804771c220f4bb6bc6.PNG)

> **···**
>
> \> \> Sid, \> \> Appearance shouldn't cause change in behavior on Aggregate. I just \> tested with Collect 1.4.7 and Aggregate 1.4.5 and it worked great with \> the attached form and submission. \> \> Yaw \> -- \> Need ODK consultants? https://nafundi.com provides form design, server \> setup, in-field training, and software development for ODK. \> \> On Mon, Nov 2, 2015 at 3:20 AM, Sid Patel \<4sid...@gmail.com \> wrote: \> \> I'm running ODK Aggregate 1.4.6 on Google App Engine and ODK Collect \> 1.4.7 \> \> on my XPERIA Z3. I'm trying out the Bearing widget in a form. However, \> when \> \> I try to send the finalised form to the server I get an error message \> from \> \> ODK Collect. The error is "Internal server error (500)". \> \> \> \> In XLSForms the prompt is defined: \> \> TYPE: decimal, NAME: Bearing, APPERANCE: bearing. This is causing an \> error! \> \> If i delete the value in the APPERANCE column, I can send the form \> without \> \> any errors. \> \> \> \> The log in App Engine will show: \> \> org.opendatakit.aggregate.servlet.SubmissionServlet doPost: Unexpected \> \> exception: null \> \> when I'm using the Bearing widget. \> \> \> \> Anyone got any ideas how to resolve this? \> \> \> \> \> \> -- \> \> -- \> \> Post: opend...@googlegroups.com \> \> Unsubscribe: opendatakit...@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...@googlegroups.com . \> \> For more options, visit https://groups.google.com/d/optout. \>

---

<div class="post-metadata">

**Author:** ![Mitch\_S](https://getodk.b-cdn.net/letter_avatar_proxy/v4/letter/m/3ec8ea/32.png) [@Mitch\_S](https://forum.getodk.org/u/Mitch_S)\
**Post date:** [November 2, 2015, 7:23pm UTC](https://forum.getodk.org/t/bearing-widget-causes-form-not-to-upload-to-aggregate-running-on-app-engine/4943/4 "2015-11-02T19:23:49Z")

</div>

If you get a form upload error, then the submission will not work.

Try deleting the form definition. Then re-add it.

> **···**
>
> On Mon, Nov 2, 2015 at 11:13 AM, Sid Patel \<4sidpatel@gmail.com\> wrote:
> 
> > Hi Yaw,
> > 
> > Thanks for your answer. Unfortunately I'm getting the same problems when  
> > using your XLSForm/Xform. When I delete the 'bearing'-value in the  
> > APPERANCE-column, submission works as it should.
> > 
> > Since last post I have upgraded ODK Aggregate to version 1.4.7, but this  
> > doesn't help, still same problem. I've enclosed my AppEngine logs for  
> > Aggregate. When I upload a form I get warnings, and when I submit the same  
> > form I get errors. See the attached file.
> > 
> > Form upload warnings:
> > 
> > ```
> > W 19:21:18.623 org.opendatakit.aggregate.form.FormDefinition getSubmissionAssociation: No sa record matching this formId bearing
> > W 19:21:18.623 org.opendatakit.aggregate.form.FormDefinition getFormDefinition: No complete persistence model for sa record matching this formId bearing
> > W 19:21:19.278 org.opendatakit.aggregate.form.FormDefinition getSubmissionAssociation: No sa record matching this formId bearing
> > W 19:21:19.278 org.opendatakit.aggregate.form.FormDefinition getFormDefinition: No complete persistence model for sa record matching this formId bearing
> > 
> > ```
> > 
> > Form submission error (last row):
> > 
> > ```
> > I 19:22:36.193 org.opendatakit.aggregate.form.FormFactory internalGetForms: FormCache: fetching new list of Forms
> > I 19:22:36.269 org.opendatakit.aggregate.util.BackendActionsTable logValues: incoming- last Fetch: -23133 [S: -22964 Eq: -23133 Fs: -33645] futureMillis: 876867
> > I 19:22:36.292 org.opendatakit.aggregate.util.BackendActionsTable logValues: -fetched- last Fetch: 0 [S: -22964 Eq: -23133 Fs: -33645] futureMillis: -1
> > I 19:22:36.396 org.opendatakit.aggregate.util.BackendActionsTable logValues: Fs-update last Fetch: 0 [S: -22964 Eq: -23133 Fs: 876867] futureMillis: 876867 requested: 876867
> > E 19:22:36.415 org.opendatakit.aggregate.servlet.SubmissionServlet doPost: Unexpected exception: null
> > 
> > ```
> > 
> > Sid
> > 
> > Den måndag 2 november 2015 kl. 04:29:49 UTC+1 skrev Yaw Anokwa:
> > 
> > > Sid,
> > > 
> > > Appearance shouldn't cause change in behavior on Aggregate. I just  
> > > tested with Collect 1.4.7 and Aggregate 1.4.5 and it worked great with  
> > > the attached form and submission.
> > > 
> > > ## Yaw
> > > 
> > > Need ODK consultants? [https://nafundi.com](https://nafundi.com) provides form design, server  
> > > setup, in-field training, and software development for ODK.
> > > 
> > > On Mon, Nov 2, 2015 at 3:20 AM, Sid Patel [4sid...@gmail.com](mailto:4sid...@gmail.com) wrote:
> > > 
> > > > I'm running ODK Aggregate 1.4.6 on Google App Engine and ODK Collect  
> > > > 1.4.7  
> > > > on my XPERIA Z3. I'm trying out the Bearing widget in a form. However,  
> > > > when  
> > > > I try to send the finalised form to the server I get an error message  
> > > > from  
> > > > ODK Collect. The error is "Internal server error (500)".
> > > > 
> > > > In XLSForms the prompt is defined:  
> > > > TYPE: decimal, NAME: Bearing, APPERANCE: bearing. This is causing an  
> > > > error!  
> > > > If i delete the value in the APPERANCE column, I can send the form  
> > > > without  
> > > > any errors.
> > > > 
> > > > The log in App Engine will show:  
> > > > org.opendatakit.aggregate.servlet.SubmissionServlet doPost: Unexpected  
> > > > exception: null  
> > > > when I'm using the Bearing widget.
> > > > 
> > > > Anyone got any ideas how to resolve this?
> > > > 
> > > > ## --
> > > > 
> > > > Post: [opend...@googlegroups.com](mailto:opend...@googlegroups.com)  
> > > > Unsubscribe: [opendatakit...@googlegroups.com](mailto:opendatakit...@googlegroups.com)  
> > > > Options: [http://groups.google.com/group/opendatakit?hl=en](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...@googlegroups.com](mailto:opendatakit...@googlegroups.com).  
> > > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > 
> > ## --
> > 
> > Post: [opendatakit@googlegroups.com](mailto:opendatakit@googlegroups.com)  
> > Unsubscribe: [opendatakit+unsubscribe@googlegroups.com](mailto:opendatakit+unsubscribe@googlegroups.com)  
> > Options: [http://groups.google.com/group/opendatakit?hl=en](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](mailto:opendatakit+unsubscribe@googlegroups.com).  
> > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> 
> --  
> Mitch Sundt  
> Software Engineer  
> University of Washington  
> [mitchellsundt@gmail.com](mailto:mitchellsundt@gmail.com)

---

<div class="post-metadata">

**Author:** ![Sid\_Patel](https://getodk.b-cdn.net/user_avatar/forum.getodk.org/sid_patel/32/1621_2.png) [@Sid\_Patel](https://forum.getodk.org/u/Sid_Patel)\
**Post date:** [November 2, 2015, 8:18pm UTC](https://forum.getodk.org/t/bearing-widget-causes-form-not-to-upload-to-aggregate-running-on-app-engine/4943/5 "2015-11-02T20:18:37Z")

</div>

Mitch,

I've tried your solution and it doesn't work. However I've found that in  
Yaw's example the response file uses decimal points and in my file decimal  
commas are used for bearing values. That is probably because my device is  
configured with swedish settings.

It appears that the bearing widget will use a decimal comma for swedish  
devices, which seems to be incompatible with the decimal data type. Which  
in turn generates an error when submitting the form to ODK aggregate.

If i edit the response XML file on the device, substituting commas for  
points, form submission works as it should.

Is there a way to force ODK Collect to use decimal points in the bearing  
widget?

Sid

Den måndag 2 november 2015 kl. 20:23:52 UTC+1 skrev Mitch Sundt:

> **···**
>
> \> \> If you get a form upload error, then the submission will not work. \> \> Try deleting the form definition. Then re-add it. \> \> \> \> On Mon, Nov 2, 2015 at 11:13 AM, Sid Patel \<4sid...@gmail.com \> wrote: \> \>\> Hi Yaw, \>\> \>\> Thanks for your answer. Unfortunately I'm getting the same problems when \>\> using your XLSForm/Xform. When I delete the 'bearing'-value in the \>\> APPERANCE-column, submission works as it should. \>\> \>\> Since last post I have upgraded ODK Aggregate to version 1.4.7, but this \>\> doesn't help, still same problem. I've enclosed my AppEngine logs for \>\> Aggregate. When I upload a form I get warnings, and when I submit the same \>\> form I get errors. See the attached file. \>\> \>\> Form upload warnings: \>\> \>\> W 19:21:18.623 org.opendatakit.aggregate.form.FormDefinition getSubmissionAssociation: No sa record matching this formId bearing \>\> W 19:21:18.623 org.opendatakit.aggregate.form.FormDefinition getFormDefinition: No complete persistence model for sa record matching this formId bearing \>\> W 19:21:19.278 org.opendatakit.aggregate.form.FormDefinition getSubmissionAssociation: No sa record matching this formId bearing \>\> W 19:21:19.278 org.opendatakit.aggregate.form.FormDefinition getFormDefinition: No complete persistence model for sa record matching this formId bearing \>\> \>\> \>\> Form submission error (last row): \>\> \>\> I 19:22:36.193 org.opendatakit.aggregate.form.FormFactory internalGetForms: FormCache: fetching new list of Forms \>\> I 19:22:36.269 org.opendatakit.aggregate.util.BackendActionsTable logValues: incoming- last Fetch: -23133 [S: -22964 Eq: -23133 Fs: -33645] futureMillis: 876867 \>\> I 19:22:36.292 org.opendatakit.aggregate.util.BackendActionsTable logValues: -fetched- last Fetch: 0 [S: -22964 Eq: -23133 Fs: -33645] futureMillis: -1 \>\> I 19:22:36.396 org.opendatakit.aggregate.util.BackendActionsTable logValues: Fs-update last Fetch: 0 [S: -22964 Eq: -23133 Fs: 876867] futureMillis: 876867 requested: 876867 \>\> E 19:22:36.415 org.opendatakit.aggregate.servlet.SubmissionServlet doPost: Unexpected exception: null \>\> \>\> \>\> Sid \>\> \>\> Den måndag 2 november 2015 kl. 04:29:49 UTC+1 skrev Yaw Anokwa: \>\>\> \>\>\> Sid, \>\>\> \>\>\> Appearance shouldn't cause change in behavior on Aggregate. I just \>\>\> tested with Collect 1.4.7 and Aggregate 1.4.5 and it worked great with \>\>\> the attached form and submission. \>\>\> \>\>\> Yaw \>\>\> -- \>\>\> Need ODK consultants? https://nafundi.com provides form design, server \>\>\> setup, in-field training, and software development for ODK. \>\>\> \>\>\> On Mon, Nov 2, 2015 at 3:20 AM, Sid Patel \<4sid...@gmail.com\> wrote: \>\>\> \> I'm running ODK Aggregate 1.4.6 on Google App Engine and ODK Collect \>\>\> 1.4.7 \>\>\> \> on my XPERIA Z3. I'm trying out the Bearing widget in a form. However, \>\>\> when \>\>\> \> I try to send the finalised form to the server I get an error message \>\>\> from \>\>\> \> ODK Collect. The error is "Internal server error (500)". \>\>\> \> \>\>\> \> In XLSForms the prompt is defined: \>\>\> \> TYPE: decimal, NAME: Bearing, APPERANCE: bearing. This is causing an \>\>\> error! \>\>\> \> If i delete the value in the APPERANCE column, I can send the form \>\>\> without \>\>\> \> any errors. \>\>\> \> \>\>\> \> The log in App Engine will show: \>\>\> \> org.opendatakit.aggregate.servlet.SubmissionServlet doPost: Unexpected \>\>\> \> exception: null \>\>\> \> when I'm using the Bearing widget. \>\>\> \> \>\>\> \> Anyone got any ideas how to resolve this? \>\>\> \> \>\>\> \> \>\>\> \> -- \>\>\> \> -- \>\>\> \> Post: opend...@googlegroups.com \>\>\> \> Unsubscribe: opendatakit...@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...@googlegroups.com. \>\>\> \> For more options, visit https://groups.google.com/d/optout. \>\>\> \>\> -- \>\> -- \>\> Post: opend...@googlegroups.com \>\> Unsubscribe: opendatakit...@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...@googlegroups.com . \>\> For more options, visit https://groups.google.com/d/optout. \>\> \> \> \> \> -- \> Mitch Sundt \> Software Engineer \> University of Washington \> mitche...@gmail.com \>

---

<div class="post-metadata">

**Author:** ![Mitch\_S](https://getodk.b-cdn.net/letter_avatar_proxy/v4/letter/m/3ec8ea/32.png) [@Mitch\_S](https://forum.getodk.org/u/Mitch_S)\
**Post date:** [November 2, 2015, 11:23pm UTC](https://forum.getodk.org/t/bearing-widget-causes-form-not-to-upload-to-aggregate-running-on-app-engine/4943/6 "2015-11-02T23:23:11Z")

</div>

That would definitely be a problem.

I've pushed a fix for this - it will be in the next release.

> **···**
>
> On Mon, Nov 2, 2015 at 12:18 PM, Sid Patel \<4sidpatel@gmail.com\> wrote:
> 
> > Mitch,
> > 
> > I've tried your solution and it doesn't work. However I've found that in  
> > Yaw's example the response file uses decimal points and in my file decimal  
> > commas are used for bearing values. That is probably because my device is  
> > configured with swedish settings.
> > 
> > It appears that the bearing widget will use a decimal comma for swedish  
> > devices, which seems to be incompatible with the decimal data type. Which  
> > in turn generates an error when submitting the form to ODK aggregate.
> > 
> > If i edit the response XML file on the device, substituting commas for  
> > points, form submission works as it should.
> > 
> > Is there a way to force ODK Collect to use decimal points in the bearing  
> > widget?
> > 
> > Sid
> > 
> > Den måndag 2 november 2015 kl. 20:23:52 UTC+1 skrev Mitch Sundt:
> > 
> > > If you get a form upload error, then the submission will not work.
> > > 
> > > Try deleting the form definition. Then re-add it.
> > > 
> > > On Mon, Nov 2, 2015 at 11:13 AM, Sid Patel [4sid...@gmail.com](mailto:4sid...@gmail.com) wrote:
> > > 
> > > > Hi Yaw,
> > > > 
> > > > Thanks for your answer. Unfortunately I'm getting the same problems when  
> > > > using your XLSForm/Xform. When I delete the 'bearing'-value in the  
> > > > APPERANCE-column, submission works as it should.
> > > > 
> > > > Since last post I have upgraded ODK Aggregate to version 1.4.7, but this  
> > > > doesn't help, still same problem. I've enclosed my AppEngine logs for  
> > > > Aggregate. When I upload a form I get warnings, and when I submit the same  
> > > > form I get errors. See the attached file.
> > > > 
> > > > Form upload warnings:
> > > > 
> > > > ```
> > > > W 19:21:18.623 org.opendatakit.aggregate.form.FormDefinition getSubmissionAssociation: No sa record matching this formId bearing
> > > > W 19:21:18.623 org.opendatakit.aggregate.form.FormDefinition getFormDefinition: No complete persistence model for sa record matching this formId bearing
> > > > W 19:21:19.278 org.opendatakit.aggregate.form.FormDefinition getSubmissionAssociation: No sa record matching this formId bearing
> > > > W 19:21:19.278 org.opendatakit.aggregate.form.FormDefinition getFormDefinition: No complete persistence model for sa record matching this formId bearing
> > > > 
> > > > ```
> > > > 
> > > > Form submission error (last row):
> > > > 
> > > > ```
> > > > I 19:22:36.193 org.opendatakit.aggregate.form.FormFactory internalGetForms: FormCache: fetching new list of Forms
> > > > I 19:22:36.269 org.opendatakit.aggregate.util.BackendActionsTable logValues: incoming- last Fetch: -23133 [S: -22964 Eq: -23133 Fs: -33645] futureMillis: 876867
> > > > I 19:22:36.292 org.opendatakit.aggregate.util.BackendActionsTable logValues: -fetched- last Fetch: 0 [S: -22964 Eq: -23133 Fs: -33645] futureMillis: -1
> > > > I 19:22:36.396 org.opendatakit.aggregate.util.BackendActionsTable logValues: Fs-update last Fetch: 0 [S: -22964 Eq: -23133 Fs: 876867] futureMillis: 876867 requested: 876867
> > > > E 19:22:36.415 org.opendatakit.aggregate.servlet.SubmissionServlet doPost: Unexpected exception: null
> > > > 
> > > > ```
> > > > 
> > > > Sid
> > > > 
> > > > Den måndag 2 november 2015 kl. 04:29:49 UTC+1 skrev Yaw Anokwa:
> > > > 
> > > > > Sid,
> > > > > 
> > > > > Appearance shouldn't cause change in behavior on Aggregate. I just  
> > > > > tested with Collect 1.4.7 and Aggregate 1.4.5 and it worked great with  
> > > > > the attached form and submission.
> > > > > 
> > > > > ## Yaw
> > > > > 
> > > > > Need ODK consultants? [https://nafundi.com](https://nafundi.com) provides form design, server  
> > > > > setup, in-field training, and software development for ODK.
> > > > > 
> > > > > On Mon, Nov 2, 2015 at 3:20 AM, Sid Patel [4sid...@gmail.com](mailto:4sid...@gmail.com) wrote:
> > > > > 
> > > > > > I'm running ODK Aggregate 1.4.6 on Google App Engine and ODK Collect  
> > > > > > 1.4.7  
> > > > > > on my XPERIA Z3. I'm trying out the Bearing widget in a form.  
> > > > > > However, when  
> > > > > > I try to send the finalised form to the server I get an error message  
> > > > > > from  
> > > > > > ODK Collect. The error is "Internal server error (500)".
> > > > > > 
> > > > > > In XLSForms the prompt is defined:  
> > > > > > TYPE: decimal, NAME: Bearing, APPERANCE: bearing. This is causing an  
> > > > > > error!  
> > > > > > If i delete the value in the APPERANCE column, I can send the form  
> > > > > > without  
> > > > > > any errors.
> > > > > > 
> > > > > > The log in App Engine will show:  
> > > > > > org.opendatakit.aggregate.servlet.SubmissionServlet doPost:  
> > > > > > Unexpected  
> > > > > > exception: null  
> > > > > > when I'm using the Bearing widget.
> > > > > > 
> > > > > > Anyone got any ideas how to resolve this?
> > > > > > 
> > > > > > ## --
> > > > > > 
> > > > > > Post: [opend...@googlegroups.com](mailto:opend...@googlegroups.com)  
> > > > > > Unsubscribe: [opendatakit...@googlegroups.com](mailto:opendatakit...@googlegroups.com)  
> > > > > > Options: [http://groups.google.com/group/opendatakit?hl=en](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...@googlegroups.com](mailto:opendatakit...@googlegroups.com).  
> > > > > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > > > 
> > > > ## --
> > > > 
> > > > Post: [opend...@googlegroups.com](mailto:opend...@googlegroups.com)  
> > > > Unsubscribe: [opendatakit...@googlegroups.com](mailto:opendatakit...@googlegroups.com)  
> > > > Options: [http://groups.google.com/group/opendatakit?hl=en](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...@googlegroups.com](mailto:opendatakit...@googlegroups.com).  
> > > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > > 
> > > --  
> > > Mitch Sundt  
> > > Software Engineer  
> > > University of Washington  
> > > [mitche...@gmail.com](mailto:mitche...@gmail.com)
> > 
> > ## --
> > 
> > Post: [opendatakit@googlegroups.com](mailto:opendatakit@googlegroups.com)  
> > Unsubscribe: [opendatakit+unsubscribe@googlegroups.com](mailto:opendatakit+unsubscribe@googlegroups.com)  
> > Options: [http://groups.google.com/group/opendatakit?hl=en](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](mailto:opendatakit+unsubscribe@googlegroups.com).  
> > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> 
> --  
> Mitch Sundt  
> Software Engineer  
> University of Washington  
> [mitchellsundt@gmail.com](mailto:mitchellsundt@gmail.com)

---

<div class="post-metadata">

**Author:** ![Sid\_Patel](https://getodk.b-cdn.net/user_avatar/forum.getodk.org/sid_patel/32/1621_2.png) [@Sid\_Patel](https://forum.getodk.org/u/Sid_Patel)\
**Post date:** [November 3, 2015, 6:03am UTC](https://forum.getodk.org/t/bearing-widget-causes-form-not-to-upload-to-aggregate-running-on-app-engine/4943/7 "2015-11-03T06:03:01Z")

</div>

Thanks Mitch and Yaw for your help. Looking forward to the next release of ODK Collect soon then.
