Select to view content in your preferred language

Modelbuilder Crashes ArcMap when using Connect tool

1196
4
Jump to solution
04-03-2018 07:34 AM
ChrisHolmes
Frequent Contributor

I have the following model. Whenever I try to use the connect tool to make a connection from "Lu Code Field" to "Get LuCodes" and select "Field". After this is completed, ArcMap crashes. Does the same thing whether I try doing this on desktop ArcMap or citrix ArcMap. Appreciate any thoughts.

Thanks,

Chris

Tags (1)
0 Kudos
1 Solution

Accepted Solutions
curtvprice
MVP Alum

The crash is happening when Model Builder is validating the Lu Code Field parameter against Source Lu Code Table using the parameter setup in your Get LUCodes script tool. This could be a data specific issue or a bug in your parameter validation setup or code. I'm wondering if there is some table or field file naming that is making the validation process crash ArcMap.

(Your workaround inserting a string variable (%Lu Code Field%) bypasses the parameter validation, which also doesn't allow the user a pick list if you make it a parameter -- so I bet you'd rather have it work!)

View solution in original post

4 Replies
ChrisHolmes
Frequent Contributor

If I make the following change in the parameter list for the script tool: change display name from Lu Code Field to %Lu Code Field%. It works fine.

Still, do not understand why it crashes when I try to use the connect tool?

0 Kudos
curtvprice
MVP Alum

The crash is happening when Model Builder is validating the Lu Code Field parameter against Source Lu Code Table using the parameter setup in your Get LUCodes script tool. This could be a data specific issue or a bug in your parameter validation setup or code. I'm wondering if there is some table or field file naming that is making the validation process crash ArcMap.

(Your workaround inserting a string variable (%Lu Code Field%) bypasses the parameter validation, which also doesn't allow the user a pick list if you make it a parameter -- so I bet you'd rather have it work!)

ChrisHolmes
Frequent Contributor

Thanks Curtis. I’ll look into this.

Sent from my iPhone

0 Kudos
ChrisHolmes
Frequent Contributor

That's got it working now. Thank you Curtis.

0 Kudos