vusonbmt / rosjava

Automatically exported from code.google.com/p/rosjava
0 stars 0 forks source link

Android: java.net.UnknownHostException when subscribing to a custom message. #146

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a Subscriber to custom message in an Android_tutorial_example.
2. Run it in a tablet.
3.

What is the expected output? What do you see instead?
It should work as any others subscribers I have in my code. For example 
"nav_msgs.Odometry" Subscriber. 
When running in the tablet, it produces the next log:

"E/UpdatePublisherRunnable(4793): java.lang.RuntimeException: 
java.net.UnknownHostException: Unable to resolve host "arturo-desktop": No 
address associated with hostname" 

When I remove this subscriber the log disappear.
What version of the product are you using? On what operating system?
I am using Android 4.0.3 and working in Ubuntu 10.04

Please provide any additional information below.

My custom message is a List of Lists that provide information about the nodes 
running in the system. It provides a List of NodesInfo composed of Subscribers 
and Publishers, etc. I include my custom message.
Thanks!

Original issue reported on code.google.com by jmatas...@gmail.com on 28 Sep 2012 at 8:53

Attachments: