You could try running the arduino_debug.exe file that's included in the Arduino IDE installation folder from the command line to see if there will be more information about the problem displayed in the command line window after it happens.
It would be best to find the solution but a workaround is to use the Arduino Web Editor: