We downloaded the code you gave me after the error occured. We were testing autonomous code at the time.
Yes they all work well before the error.
I copy & pasted your code exactly.
Here are the #pragmas:
#pragma config(I2C_Usage, I2C1, i2cSensors)
#pragma config(Sensor, in1, ArmPot, sensorPotentiometer)
#pragma config(Sensor, in2, ShovPot, sensorPotentiometer)
#pragma config(Sensor, in3, LineRight, sensorLineFollower)
#pragma config(Sensor, in4, LineLeft, sensorLineFollower)
#pragma config(Sensor, in8, dial, sensorPotentiometer)
#pragma config(Sensor, dgtl1, Bumper, sensorTouch)
#pragma config(Sensor, dgtl2, ShovPist, sensorDigitalOut)
#pragma config(Sensor, dgtl3, JumperLeft, sensorTouch)
#pragma config(Sensor, dgtl4, JumperRight, sensorTouch)
#pragma config(Sensor, dgtl7, SonarLeft, sensorSONAR_mm)
#pragma config(Sensor, dgtl9, SonarRight, sensorSONAR_mm)
#pragma config(Sensor, dgtl11, ArmTouch, sensorTouch)
#pragma config(Sensor, I2C_1, topLeftEnc, sensorQuadEncoderOnI2CPort, , AutoAssign)
#pragma config(Sensor, I2C_2, topRightEnc, sensorQuadEncoderOnI2CPort, , AutoAssign)
#pragma config(Sensor, I2C_3, bottomLeftEnc, sensorQuadEncoderOnI2CPort, , AutoAssign)
#pragma config(Sensor, I2C_4, bottomRightEnc, sensorQuadEncoderOnI2CPort, , AutoAssign)
#pragma config(Motor, port1, Shovel1, tmotorVex269, openLoop, reversed)
#pragma config(Motor, port2, Arm2, tmotorVex393, openLoop, reversed)
#pragma config(Motor, port3, Arm3, tmotorVex393, openLoop, reversed)
#pragma config(Motor, port4, Arm4, tmotorVex393, openLoop)
#pragma config(Motor, port5, Arm5, tmotorVex393, openLoop)
#pragma config(Motor, port6, topLeft, tmotorVex393, openLoop, encoder, encoderPort, I2C_1, 1000)
#pragma config(Motor, port7, topRight, tmotorVex393, openLoop, reversed, encoder, encoderPort, I2C_2, 1000)
#pragma config(Motor, port8, bottomLeft, tmotorVex393, openLoop, encoder, encoderPort, I2C_3, 1000)
#pragma config(Motor, port9, bottomRight, tmotorVex393, openLoop, reversed, encoder, encoderPort, I2C_4, 1000)
#pragma config(Motor, port10, Shovel10, tmotorVex269, openLoop)