Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BlockingServiceClientNode error in RoconInteractions onStart #10

Open
dwlee opened this issue Jun 23, 2015 · 0 comments
Open

BlockingServiceClientNode error in RoconInteractions onStart #10

dwlee opened this issue Jun 23, 2015 · 0 comments

Comments

@dwlee
Copy link
Collaborator

dwlee commented Jun 23, 2015

When RoconInteractions class is started, following error sometimes is happened.

06-23 14:45:31.882  25059-27525/com.github.robotics_in_concert.rocon_android_apps.beacon_awareness W/dalvikvm﹕ threadid=197: thread exiting with uncaught exception (group=0x41e23c08)
06-23 14:45:31.887  25059-27525/com.github.robotics_in_concert.rocon_android_apps.beacon_awareness E/AndroidRuntime﹕ FATAL EXCEPTION: pool-79-thread-17
    Process: com.github.robotics_in_concert.rocon_android_apps.beacon_awareness, PID: 25059
    org.ros.exception.RosRuntimeException
            at org.ros.internal.node.service.DefaultServiceClient.connect(DefaultServiceClient.java:140)
            at org.ros.internal.node.service.ServiceFactory.newClient(ServiceFactory.java:146)
            at org.ros.internal.node.DefaultNode.newServiceClient(DefaultNode.java:365)
            at org.ros.internal.node.DefaultNode.newServiceClient(DefaultNode.java:372)
            at com.github.robotics_in_concert.rocon_rosjava_core.rosjava_utils.BlockingServiceClientNode.<init>(BlockingServiceClientNode.java:34)
            at com.github.robotics_in_concert.rocon_rosjava_core.rocon_interactions.RoconInteractions.onStart(RoconInteractions.java:70)
            at org.ros.internal.node.DefaultNode$5.run(DefaultNode.java:506)
            at org.ros.internal.node.DefaultNode$5.run(DefaultNode.java:503)
            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:1112)
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
            at java.lang.Thread.run(Thread.java:841)

This is because BlockingServiceClientNode class does not catch RosRuntimeException error. It will also throw RosRuntimeException in here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant