Asked

Missing Method Exception With Running Servo Pad Skill In ARC

, could you please provide insights into the following exception encountered when running the ARC servo Pad Skill?

Background:

  • ARC Version: 2025.01.30.00
  • Operating System: Windows 11
  • Robot: Humanoid Meccano Meccanoid
  • Modifications: Original servos have been replaced with EZ-Robot servos.
  • Note: The setup functioned correctly with previous updates of ARC.

Exception Details:

System.MissingMethodException: Method not found: 'Jint.Engine ARC.Scripting.JavaScript.JavascriptEngine.get_JintEngine()'.
   at Servo_Script.ServoBindManager.Servo_OnServoMoveDetailed2(EZB ezb, ServoPositionItem[] servos, ServoPositionItem[] servosAfterFineTuned)
   at EZ_B.Servo.iW9mg2DKj8ZZfHLnnkdr(Object , Object , Object , Object )
   at EZ_B.Servo.SetServoPosition(ServoPositionItem[] servos)
   at ARC.EZBManager.SetServoPositionScalar(ServoDescriptor[] servos, Single inputMin, Single inputMax, Single input)
   at ARC.EZBManager.L8rQ7iJ6lxLkgMJojgqE(Object , Single inputMin, Single inputMax, Single input)
   at ARC.EZBManager.SetServoPositionScalar(ServoDescriptor[] servos, Int32 inputMin, Int32 inputMax, Int32 input)
   at ARC.UCForms.FormServoPad.vySlvXgqpJY(Object  , MouseEventArgs  )
   at System.Windows.Forms.Control.OnMouseMove(MouseEventArgs e)
   at System.Windows.Forms.Control.WmMouseMove(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

I would appreciate any guidance on resolving this issue. Thank you!


Related Hardware EZ-B v4

ARC Pro

Upgrade to ARC Pro

ARC Pro will give you immediate updates and new features needed to unleash your robot's potential!

#9   — Edited

Athena does not have access to provide files to download - she is an AI, not a person. I am a human working to assist you this Saturday afternoon. Please let me know what robot skills you used in this project, and I will help you.

If you have an existing project that you were using, let me know what robot skills were in the project before they were removed. I believe a robot's skills are somehow resident and causing the error. A robot skill binding to the on-servo movement event, as seen in the error. I can help fix this error if you tell me what robot skills were used in this project or this ARC session.

#10  

Thank you..

The skills used were ServoPad,  EZ-B v4 info,  and Connection.

ARC is also running in a Parallels Virtual machine running Windows 11 which could be causing the problem.

I would like to try my configuration on a previous version of ARC (2025 1.15.00) if possible.

#11  

Reviewing the log and comparing against robot skills using the servo binding class. Would you have used the servo Script robot skill?

PRO
Synthiam
#12  

Oh good call support, you nailed it. It was right there in front of us this whole time.

System.MissingMethodException: Method not found: 'Jint.Engine ARC.Scripting.JavaScript.JavascriptEngine.get_JintEngine()'.
   at Servo_Script.ServoBindManager.Servo_OnServoMoveDetailed2(EZB ezb, ServoPositionItem[] servos, ServoPositionItem[] servosAfterFineTuned)

The servo script is creating that error. Looks like there's two issues.

  1. servo script isn't disposting itself correctly by not releasing events it has assigned to itself

  2. the updated ARC javascript engine update isn't exposed to the robot skill

#13  

Okay an update has been posted for that fix. It was in front of me the whole time - I can't believe I missed it. The update is documented in the previous release: https://synthiam.com/Products/ARC/Releases/ARC-2025-02-01-00-Pro-and-Runtime-22624

In the future, we'll need to identify better what robot skills were used in a project to locate causes quicker. Perhaps a log to the debug when robot skills are added to a project. That way, we can look through a history and identify the cause of an issue.

PRO
Synthiam
#15   — Edited

Awesome - all is working. The updated ARC release gives the servo script access to the new Javascript engine, and the servo script robot skill has been updated to unsubscribe from events by properly disposing itself.

User-inserted image

#16  

Awesome!  Can't wait to try this out. Best support ever!