Hi All,
I am using ArcGIS Field Maps 22.3.1 with our ArcGIS Enterprise 10.9.1 with ArcGIS Pro 3.0.1 (publish services from enterprise GDB to portal and server - federated)
We have been setting up a few asset inspection workflows by creating a "relationship class" between asset feature class (origin) and asset inspection/maintenance records (destination).
Other previously made related inspections feature classes are still working, but I'm not sure what went wrong when trying to set up any new related inspection feature class using Field Maps.
Every time our users try to add a "related" record (newly created related feature class), Field Map will just crash. I have tried to recreate the new inspection feature class (point feature class), create a test point feature class with only one attribute to isolate root issue, clear data, and caches of Android Field Maps, and uninstalled and reinstalled Field Maps, create test feature class and test related feature class and limit to using only one simple symbology...and I am running out of things that I can try.
It will only crash when click on the "link" icon (related link) to add new related inspeciton record, but will not crash when click "+" (plus) icon on Field Maps to add the new record without passing foriegn key (asset ID).
However, exact same map working fine without crashing when added a related feature by clicking "link" icon using ArcGIS Collector Anroid App (20.2.2).
Anyone has been having the same issue?
Thanks,
Reno
Have you found a solution to this bug? The exact same thing is happening to me.
We were struggling with the same issue, though we did receive an error message in the log:
java.lang.IllegalStateException: Required value was null.
When searching the issue, we found this community post. Maybe that can help you. It didn't in our case. But I have to admit that our case was definitely a bit special, since the setup of the form was not always made through the Field Maps Designer, but changes were made in the ArcGIS Online Assistant which is probably how the bug sneaked in.
When inspecting the form in the Designer, we found that one of the already added fields appeared on the right-hand side Form builder as a field to add.
Even though in the Designer, there was no apparent reason why it would do that (all form field properties seemed to be correct), inspecting the field in the ArcGIS Online Assistant we realized that the form field was referencing a non-existant field (in our case, "Contaminants" instead of "contaminants")