Announcement

Collapse
No announcement yet.

Linear Op Mode Error when Started Twice

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Linear Op Mode Error when Started Twice

    After running the linear op mode once, I get "Error: User code threw an uncaught exception: rejectedexecutionexception..." when I press init on the driver station again.
    This generates an emergency stop and I can't run the linear op mode again without turning off the core motor controller. Just restarting the robot isn't enough. I tried stripping my linear op mode down to the bare essentials and it still generates the same error. Any advice?

    https://drive.google.com/file/d/0BwK...ew?usp=sharing

    Here is the log file. The relevant section is from 1937 to line 1978.

    https://drive.google.com/file/d/0BwK...ew?usp=sharing

    I posted this mistakenly in the Android Studio forum, so you may want to want to look there too.

    http://ftcforum.usfirst.org/showthre...7426#post27426

  • #2
    Something going horribly wrong in the FTC SDK. The Executor service that is supposed to running your code is being terminated, then by the time you press the init button again. The OpMode executor has shut down. (You should only see the init button once). Can you upload your code (as an .aia file) and your built APK?

    Comment


    • #3
      Here is the code. I am running versionName 1.7 (versionCode 8) of App Inventor (listed as a property of the Screen1 component).

      https://drive.google.com/file/d/0BwK...ew?usp=sharing

      Comment


      • #4
        Originally posted by FTC10854 View Post
        Here is the code. I am running versionName 1.7 (versionCode 8) of App Inventor (listed as a property of the Screen1 component).

        https://drive.google.com/file/d/0BwK...ew?usp=sharing
        Hi FTC10854,

        We are working on a fix for this in the upcoming beta. I think we should have a fix soon. However, unfortunately, it might not get released till this weekend.

        Tom

        Comment


        • #5
          Hi FTC 10854,

          A new version of the beta software has been released that fixes this problem:

          http://ftcforum.usfirst.org/showthre...-been-released

          Tom

          Comment


          • #6
            Hi FTC 10854,

            A new version of the beta software has been released that fixes this problem:

            http://ftcforum.usfirst.org/showthre...-been-released

            Tom

            Comment

            Working...
            X