Select to view content in your preferred language

Field Maps crashing when attempting to edit attributes

553
4
Jump to solution
11-26-2024 08:35 AM
NHForestHealth
Emerging Contributor

Hello all, 

I have created a Field Map where I have a 1 acre grid layer overlaid over a 1,500 acre forest. I would like to be able to assign a vegetation type to grid cells from the field using my phone. However, whenever I open the "edit" tool and click on the "vegetation" attribute to edit the layer, the app closes. 

My Field Maps app is updated and my phone is a Google Pixel 6 Pro running on Android 15 (updated today). 

Is there something I can do to prevent this problem?

0 Kudos
1 Solution

Accepted Solutions
CodyPatterson
MVP Regular Contributor

Hey @NHForestHealth 

I'm seeing something related to an identity being null:

java.lang.NullPointerException: identity must not be null

This could be the reason for the app crashing, I would check the field maps designer for the map that you're attempting to create an entry to, and see if there is some automatic assignment of a username. That could be potentially causing the issue.

Cody

View solution in original post

4 Replies
CodyPatterson
MVP Regular Contributor

Hey @NHForestHealth 

Anything unusual in the logs:

https://support.esri.com/en-us/knowledge-base/how-to-export-logs-from-the-arcgis-field-maps-mobile-a...

Also, any chance to roll-back the update? There may be an issue with that.

Cody

NHForestHealth
Emerging Contributor

Hi Cody, 

 

Thank you for the response. I will not be able to roll back the update but I have included the log here in case there is anything in there that could shine light on this issue.

0 Kudos
CodyPatterson
MVP Regular Contributor

Hey @NHForestHealth 

I'm seeing something related to an identity being null:

java.lang.NullPointerException: identity must not be null

This could be the reason for the app crashing, I would check the field maps designer for the map that you're attempting to create an entry to, and see if there is some automatic assignment of a username. That could be potentially causing the issue.

Cody

NHForestHealth
Emerging Contributor

Hi Cody, 

It turns out that when I originally added my "vegetation" field to the attribute table of the grid overlay, the default value for the field was set to "null". After reading you reply, I set the "null" values to "unassigned" and am now able to edit the attribute in the app without issue. Thank  you!