Uploaded image for project: 'Qt Mobility'
  1. Qt Mobility
  2. QTMOBILITY-1536

QServiceManager:: loadInterface API randomly returns NULL

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 1.1.x, 1.2.0
    • 1.1.2
    • Service Framework
    • None
    • wk 09
    • 2b15ddb74099ff3a9179de0b37f8726add54b133 3955b8eb388277f62dcc122da39dda7ba7e06cd4

    Description

      QServiceManager:: loadInterface, sometimes, it returns NULL and console shows following messages.

      [Qt Message] - response->isFinished: false

      209.165 [Qt Message] finished ObjectEndPoint::waitForResponse

      209.165 [Qt Message] response passed but not finished

      209.165 [Qt Message] QObject::connect: Cannot connect RServiceSession::errorUnrecoverableIPCFault(QService::UnrecoverableIPCError) to (null)::errorUnrecoverableIPCFault(QService::UnrecoverableIPCError)

      However, it does not happen always. Sometimes it gets the interface pointer.

      I have attached the client app(helloworldclient) and service app(helloworldservice) with which I could reproduce the issue.
      Steps to reproduce:

      1)Run the helloworldservice and put it in backgroud.
      2)Run the helloworldclient , select the first option to load the service.

      The code where the loadinterface is called:

      void View::openClicked() - view.cpp from helloworldclient.

      Fell free to ask any queries.

      Attachments

        Activity

          People

            stanleyj Andrew Stanley-Jones (closed Nokia identity) (Inactive)
            pradeepgm G M pradeepkumar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: