Author Topic: PRC / Sunrise error  (Read 155 times)

z5113452

  • Forum User
  • *
  • Posts: 3
    • View Profile
PRC / Sunrise error
« on: August 31, 2020, 06:48:23 AM »
Hey everyone,

Has anyone had this error before ? It can't seem to read the xml file correctly. I don't think it is the tool name or the base as normally the error shows that.

Any help would be greatly appreciated.

Johannes @ Robots in Architecture

  • Lead Developer
  • Administrator
  • Forum User
  • *****
  • Posts: 1067
    • View Profile
    • Robots in Architecture
Re: PRC / Sunrise error
« Reply #1 on: August 31, 2020, 07:26:53 AM »
Good Morning,

Take a look at line 369 of Core_Run and see what is going on there, maybe set a breakpoint shortly before and then step through the code. It's hard to troubleshoot from afar as I don't know your code and how the library may have been modified (i.e. if your line 369 is the same as my line 369). In any case, some element that shouldn't be null is null.

Best,
Johannes

z5113452

  • Forum User
  • *
  • Posts: 3
    • View Profile
Re: PRC / Sunrise error
« Reply #2 on: September 01, 2020, 02:07:30 AM »
Hi Johannas,

Thanks for you response, the section of code is about motionBatch - would this be something to do with missing information coming out of PRC?  The line is highlighted in image attached.


Johannes @ Robots in Architecture

  • Lead Developer
  • Administrator
  • Forum User
  • *****
  • Posts: 1067
    • View Profile
    • Robots in Architecture
Re: PRC / Sunrise error
« Reply #3 on: September 01, 2020, 07:11:03 AM »
Can you set a breakpoint and check which item is null? It might be the robot, tool list of commands or the individual command.

Thanks!
Johannes