Exception while calling service of node '<my_node>' : None
When running navigation2
and then calling ros2 param list
, I get following errors:
- Exception while calling service of node '/bt_navigator_rclcpp_node': None
- Exception while calling service of node '/controller_server': None
- Exception while calling service of node '/global_costmap_client': None
- Exception while calling service of node '/lifecycle_manager_navigation': None
- Exception while calling service of node '/local_costmap_client': None
- Exception while calling service of node '/waypoint_follower_rclcpp_node': None
How to reproduce
- Copy the foxy navigation 2 launch file into own workspace
- Run with the default param file
Environment
- foxy (0.9.2-1focal.20211119.123452)
- Ubuntu 20.04
Additional Information
Switching to Galactic yields following (related) error:
Exception while calling service of node '/bt_navigatornavigate_through_poses_rclcpp_node': None
Traceback (most recent call last):
File "/opt/ros/galactic/bin/ros2", line 11, in <module>
load_entry_point('ros2cli==0.13.1', 'console_scripts', 'ros2')()
File "/opt/ros/galactic/lib/python3.8/site-packages/ros2cli/cli.py", line 67, in main
rc = extension.main(parser=parser, args=args)
File "/opt/ros/galactic/lib/python3.8/site-packages/ros2param/command/param.py", line 39, in main
return extension.main(args=args)
File "/opt/ros/galactic/lib/python3.8/site-packages/ros2param/verb/list.py", line 116, in main
sorted_names = sorted(response.result.names)
AttributeError: 'NoneType' object has no attribute 'result'