Running the Join Field geoprocessing tool with a hosted feature service as an input table causes ArcGIS Pro to crash, and adds the new fields to the service with Null values.
Could not access the repro case hosted web layer. Was not able to reproduce the issue using the States layer published to my organization portal.
1. Copy the project package from the CR directory
\\esri.com\sf_filestore\PRD\Attachments\Defects\BUG-000095603
2. Open it in Pro
3. Log into gpportal as your portal (get login details from Ash)
4. Search and find StatesDrew in the project pane > Portal tab
5. Add StatesDrew to your map
6. In the project gdb there is a standalone table: StatesTable - add it to the map
7. Run Join Field with the Hosted\StatesDrew layer as input, StatesTable as join layer, both using STATE_NAME field.
8. Process takes about 2 minutes but completed successfully.
解决办法
Workaround 1: Use the Add Join tool, then export to a new feature class and overwrite the feature service.
Workaround 2: Run the Join Field tool with Fiddler open and a crash should occur at the end of the process. Reopening the Project shows the fields and values added as expected.