You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 11, 2023. It is now read-only.
This is a question about #27. I saw the same exception during some normal shutdowns. Do we have a fix for that? Or we should simply ignore it and avoid catch this type of Exception during shutdown.
org.ros.exception.RosRuntimeException: java.lang.NullPointerException
at org.ros.address.AdvertiseAddress.toString(AdvertiseAddress.java:123)
at java.lang.String.valueOf(String.java:2994)
at java.lang.StringBuilder.append(StringBuilder.java:131)
at org.ros.address.AdvertiseAddress.toUri(AdvertiseAddress.java:109)
at org.ros.internal.node.service.DefaultServiceServer.getUri(DefaultServiceServer.java:117)
at org.ros.internal.node.client.MasterClient.unregisterService(MasterClient.java:91)
at org.ros.internal.node.DefaultNode.shutdown(DefaultNode.java:424)
...
at org.ros.internal.transport.queue.MessageDispatcher$1.run(MessageDispatcher.java:125)
at org.ros.internal.transport.queue.MessageDispatcher$1.run(MessageDispatcher.java:122)
at org.ros.concurrent.EventDispatcher.loop(EventDispatcher.java:43)
at org.ros.concurrent.CancellableLoop.run(CancellableLoop.java:56)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.NullPointerException
at org.ros.internal.transport.tcp.TcpRosServer$1.call(TcpRosServer.java:91)
at org.ros.internal.transport.tcp.TcpRosServer$1.call(TcpRosServer.java:88)
at org.ros.address.AdvertiseAddress.toString(AdvertiseAddress.java:121)
... 17 more