[cRIO] Uncaught exception in Thread.run():
[cRIO] on thread edu.wpi.first.wpilibj.templates.RobotTemplate - main
[cRIO] java.lang.IllegalArgumentException: MIDlet class specified, edu.wpi.first.wpilibj.templates.RobotTemplate, was not found
[cRIO] at java.lang.Throwable.<init>(88)
[cRIO] at java.lang.Throwable.<init>(102)
[cRIO] at java.lang.Exception.<init>(53)
[cRIO] at java.lang.RuntimeException.<init>(58)
[cRIO] at java.lang.IllegalArgumentException.<init>(54)
[cRIO] at com.sun.squawk.imp.MIDletMainWrapper.main(94)
[cRIO] in virtual method #95 of com.sun.squawk.Klass(bci=25)
[cRIO] at com.sun.squawk.Isolate.run(1554)
[cRIO] at java.lang.Thread.run(231)
[cRIO] in virtual method #47 of com.sun.squawk.VMThread(bci=42)
[cRIO] in static method #3 of com.sun.squawk.VM(bci=6)
We don’t really know how this happened, but it broke sometime around when we tried to change the package name of the default code. Is there a way to get around this? How would we modify the midlet configurations in the Manifest file?
You’ll see this behavior if you change your package name after creating your project. Edit the file in ./resources/META-INF/MANIFEST.MF so that it uses your package and class name.