Uploaded image for project: 'Sample Applications'
  1. Sample Applications
  2. APP-121

Unable to connect to "sound system" device via "smart house" device after OS was restarted

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: Kaa 0.7.1
    • Fix Version/s: Kaa 0.7.1
    • Component/s: Sample app: common
    • Labels:
      None
    • Environment:
      kaa-sandbox-ubuntu-64bit-v0.5.1.ova
    • Sprint:
      Sprint 1

      Description

      Steps to reproduce:
      1) Install Smart House Demo on 3 devices
      2) Create user
      3) Connect thermostat to the user
      4) Connect sound system to the user
      5) Change temperature on the thermostat
      6) Start to play music
      7) Restart operation server

      Get an error while trying to connect to the sound system#1:
      07-31 14:16:27.320: E/org.kaaproject.kaa.demo.smarthousedemo.command.CommandAsyncTask(30995): Throwable catched in command async task
      07-31 14:16:27.320: E/org.kaaproject.kaa.demo.smarthousedemo.command.CommandAsyncTask(30995): java.util.concurrent.TimeoutException
      07-31 14:16:27.320: E/org.kaaproject.kaa.demo.smarthousedemo.command.CommandAsyncTask(30995): at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:229)
      07-31 14:16:27.320: E/org.kaaproject.kaa.demo.smarthousedemo.command.CommandAsyncTask(30995): at java.util.concurrent.FutureTask.get(FutureTask.java:90)
      07-31 14:16:27.320: E/org.kaaproject.kaa.demo.smarthousedemo.command.CommandAsyncTask(30995): at org.kaaproject.kaa.demo.smarthousedemo.concurrent.TimeoutExecutor.execute(TimeoutExecutor.java:35)
      07-31 14:16:27.320: E/org.kaaproject.kaa.demo.smarthousedemo.command.CommandAsyncTask(30995): at org.kaaproject.kaa.demo.smarthousedemo.concurrent.BlockingCallable.execute(BlockingCallable.java:37)
      07-31 14:16:27.320: E/org.kaaproject.kaa.demo.smarthousedemo.command.CommandAsyncTask(30995): at org.kaaproject.kaa.demo.smarthousedemo.controller.SmartHouseController$16.executeCommand(SmartHouseController.java:461)
      07-31 14:16:27.320: E/org.kaaproject.kaa.demo.smarthousedemo.command.CommandAsyncTask(30995): at org.kaaproject.kaa.demo.smarthousedemo.controller.SmartHouseController$16.executeCommand(SmartHouseController.java:458)
      07-31 14:16:27.320: E/org.kaaproject.kaa.demo.smarthousedemo.command.CommandAsyncTask(30995): at org.kaaproject.kaa.demo.smarthousedemo.command.CommandAsyncTask.doInBackground(CommandAsyncTask.java:36)
      07-31 14:16:27.320: E/org.kaaproject.kaa.demo.smarthousedemo.command.CommandAsyncTask(30995): at android.os.AsyncTask$2.call(AsyncTask.java:287)
      07-31 14:16:27.320: E/org.kaaproject.kaa.demo.smarthousedemo.command.CommandAsyncTask(30995): at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
      07-31 14:16:27.320: E/org.kaaproject.kaa.demo.smarthousedemo.command.CommandAsyncTask(30995): at java.util.concurrent.FutureTask.run(FutureTask.java:137)
      07-31 14:16:27.320: E/org.kaaproject.kaa.demo.smarthousedemo.command.CommandAsyncTask(30995): at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:230)
      07-31 14:16:27.320: E/org.kaaproject.kaa.demo.smarthousedemo.command.CommandAsyncTask(30995): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076)
      07-31 14:16:27.320: E/org.kaaproject.kaa.demo.smarthousedemo.command.CommandAsyncTask(30995): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569)
      07-31 14:16:27.320: E/org.kaaproject.kaa.demo.smarthousedemo.command.CommandAsyncTask(30995): at java.lang.Thread.run(Thread.java:856)

        Attachments

          Activity

            People

            Assignee:
            ikulikov Igor Kulikov
            Reporter:
            oandreychenko Olga Andreychenko
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Git Integration