Nearest Neighbor Error 999998 - failed to execute

Discussion created by mlt23 on May 1, 2013
I'm running a nearest neighbor analysis on a shapefile and it keeps failing instantly and the message is "error 999998: unexpected error" and failed to execute.

I used nearest neighbor previously and had the same problem. I know I changed something to fix it but I can't figure out what. The map I previously used it on still works on the same computer, but even if I load the new shapefile into that map, it doesn't work.

Any suggestions?