Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
51 Views

getservices on MCU 2.5

i am trying to use the same code from the sample app to get the services running on the server on my machine. but i get strange exception and no response from the server.

here is the log:

08-10 16:38:29.681  19313-19313/com.avidbeam.avbwebrtcconfclient I/SettingsFragment﹕ Getting Services
08-10 16:38:29.686  19313-19313/com.avidbeam.avbwebrtcconfclient I/SettingsFragment﹕ manager.getServices()
08-10 16:38:29.686  19313-19313/com.avidbeam.avbwebrtcconfclient D/WooGeen-ManagerClient﹕ GetServicess
08-10 16:38:29.686  19313-19313/com.avidbeam.avbwebrtcconfclient I/SettingsFragment﹕ java.lang.NumberFormatException: Invalid int: "3000services"
08-10 16:38:29.686  19313-19313/com.avidbeam.avbwebrtcconfclient W/System.err﹕ com.intel.webrtc.base.WoogeenException: java.lang.NumberFormatException: Invalid int: "3000services"
08-10 16:38:29.686  19313-19313/com.avidbeam.avbwebrtcconfclient W/System.err﹕ at com.intel.webrtc.conference.manager.ManagerClient$ManagerHandler.handleMessage(ManagerClient.java:578)
08-10 16:38:29.686  19313-19313/com.avidbeam.avbwebrtcconfclient W/System.err﹕ at android.os.Handler.dispatchMessage(Handler.java:102)
08-10 16:38:29.686  19313-19313/com.avidbeam.avbwebrtcconfclient W/System.err﹕ at android.os.Looper.loop(Looper.java:145)
08-10 16:38:29.686  19313-19313/com.avidbeam.avbwebrtcconfclient W/System.err﹕ at android.os.HandlerThread.run(HandlerThread.java:61)

 

here is the code that gets executed :

ManagerClient managerClient = new ManagerClient("http://196.202.104.102:3000", "545b9c625fb30a63624b83ba", "30703");

        try {
            Log.i(GlobalEntities.SETTINGS_FRAGMENT_TAG, "manager.getServices()");
            servicesList = managerClient.getServices();
            Log.i(GlobalEntities.SETTINGS_FRAGMENT_TAG, "manager.getServices() DONE"+servicesList.size());
            for(int i=0 ; i<servicesList.size() ; i++){
                serviceNamesList.add(servicesList.get(i).getName());
            }

 

the second log does get executed.

Thanks in advance.

 

Tags (2)
0 Kudos
1 Reply
Highlighted
51 Views

Our QA tried the same code and it works as expected. So the question is that what is the definition of 'servicesList' here?

And I suppose you're using the latest v2.5. Right?

0 Kudos