de.greenrobot.dao.DaoException: Method may be called only in owner thread, use forCurrentThread to get an instance for this thread

GitHub | Macarse | 7 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Crash on checkThread()

    GitHub | 7 months ago | Macarse
    de.greenrobot.dao.DaoException: Method may be called only in owner thread, use forCurrentThread to get an instance for this thread

    Root Cause Analysis

    1. de.greenrobot.dao.DaoException

      Method may be called only in owner thread, use forCurrentThread to get an instance for this thread

      at de.greenrobot.dao.query.AbstractQuery.checkThread()
    2. greenDAO
      Query.setParameter
      1. de.greenrobot.dao.query.AbstractQuery.checkThread(SourceFile:80)
      2. de.greenrobot.dao.query.AbstractQuery.setParameter(SourceFile:70)
      3. de.greenrobot.dao.query.AbstractQueryWithLimit.setParameter(SourceFile:48)
      4. de.greenrobot.dao.query.Query.setParameter(SourceFile:30)
      4 frames