Select to view content in your preferred language

TypeError: Cannot read property 'itemId' of null

1711
5
03-30-2018 08:57 AM
DougBrowning
MVP Esteemed Contributor

I have a form that was working but now will not submit.  No error message or anything just a red exclamation.

I have completely deleted and republished a few times.  It did work then I added external_choices so that may be it but not sure.

The log says this.  Almost seems like it cannot get the name?  Not sure where to start on this.  Thanks

<15>1 2018-03-30T15:50:49Z ILMNIRM50570528 Survey123forArcGIS 18504 - [AppStudio@11205 category="qml" function="" filename="XFormsDatabase.qml" line="347"] qml: updateStatus: {
  "rowsAffected": 1,
  "insertId": "6",
  "rows": {}
}
<15>1 2018-03-30T15:50:49Z ILMNIRM50570528 Survey123forArcGIS 18504 - [AppStudio@11205 category="qml" function="onFeatureServiceInfoChanged" filename="XFormFeatureService.qml" line="629"] qml: featureServiceInfo: null
<15>1 2018-03-30T15:50:49Z ILMNIRM50570528 Survey123forArcGIS 18504 - [AppStudio@11205 category="qml" function="update" filename="FilteredListModel.qml" line="62"] qml: Empty filterText
<12>1 2018-03-30T15:50:49Z ILMNIRM50570528 Survey123forArcGIS 18504 - [AppStudio@11205 category="default" filename="XFormWebhooks.qml" line="102"] qrc:/qml/XForms/XFormWebhooks.qml:102: TypeError: Cannot read property 'itemId' of null

Thanks

0 Kudos
5 Replies
BrandonArmstrong
Esri Regular Contributor

Hi Doug,

What version of Survey123 are you currently using?

Are you able to share your XLSForm?  If you would prefer to send it via email, let me know and I can send you my email address in a private message.

0 Kudos
DougBrowning
MVP Esteemed Contributor

Connect is 2.5.44 ( I am locked into that).

Windows 10 form app 2.6.9

Android App 2.6.9

Yes send me your email I cannot post it.

Thanks!

0 Kudos
DougBrowning
MVP Esteemed Contributor

I think we traced it down to having a Default value on a Select_one list.  Sound right?

0 Kudos
BrandonArmstrong
Esri Regular Contributor

Hi Doug,

 

There should not be an issue adding an external choices sheet and choice filter to an existing survey, and I don't think that applying a default value should cause an error during submission from the field app.

 

Is your issue resolved after removing a default value that you had applied?

 

If not, I have sent you a private message in GeoNet with my email address, which you can send to me when you get the chance.

0 Kudos
DougBrowning
MVP Esteemed Contributor

I sent you the form Friday morning - did you not get it?

Yes the issue went away when I took out the Default values on the select_one.  On this form I can break it at will using the default values.  Not sure why I think I have done that before.  If you figure out why let me know.

Thanks

0 Kudos