我遇到了一些数据库问题。似乎,首先,我必须弄清楚锁是基于表的还是基于数据库的。谁能告诉我去哪里找?这是堆栈跟踪中的相关部分:
at java.util.concurrent.locks.ReentrantLock$FairSync.tryAcquire(ReentrantLock.java:208)
at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquire(AbstractQueuedSynchronizer.java:1171)
at java.util.concurrent.locks.ReentrantLock$FairSync.lock(ReentrantLock.java:200)
at java.util.concurrent.locks.ReentrantLock.lock(ReentrantLock.java:261)
at android.database.sqlite.SQLiteDatabase.lock(SQLiteDatabase.java:378)
at android.database.sqlite.SQLiteDatabase.addSQLiteClosable(SQLiteDatabase.java:300)
at android.database.sqlite.SQLiteProgram.<init>(SQLiteProgram.java:65)
at android.database.sqlite.SQLiteQuery.<init>(SQLiteQuery.java:49)
at android.database.sqlite.SQLiteDirectCursorDriver.query(SQLiteDirectCursorDriver.java:42)
at android.database.sqlite.SQLiteDatabase.rawQueryWithFactory(SQLiteDatabase.java:1356)
at android.database.sqlite.SQLiteDatabase.rawQuery(SQLiteDatabase.java:1324)
at data.model.DeviceModel.getAll(DeviceModel.java:168)
at data.model.DeviceModel.desiredPositionOk(DeviceModel.java:368)
at unittest.classextensions.DeviceTestModel.desiredPositionOk(DeviceTestModel.java:18)
at data.model.DeviceModel.getActualPositionFromDesiredPosition(DeviceModel.java:347)
at unittest.classextensions.DeviceTestModel.getActualPositionFromDesiredPosition(DeviceTestModel.java:30)
at data.model.DeviceModel.update(DeviceModel.java:257)
at data.model.DeviceModel.compressPositionsKeepingVoidFor(DeviceModel.java:432)
at unittest.classextensions.DeviceTestModel.compressPositionsKeepingVoidFor(DeviceTestModel.java:26)
at data.model.DeviceModel.getActualPositionFromDesiredPosition(DeviceModel.java:357)
at unittest.classextensions.DeviceTestModel.getActualPositionFromDesiredPosition(DeviceTestModel.java:30)
at data.model.DeviceModel.update(DeviceModel.java:257)
at data.model.DeviceModel.compressPositionsKeepingVoidFor(DeviceModel.java:432)
at unittest.classextensions.DeviceTestModel.compressPositionsKeepingVoidFor(DeviceTestModel.java:26)
at data.model.DeviceModel.getActualPositionFromDesiredPosition(DeviceModel.java:357)
at unittest.classextensions.DeviceTestModel.getActualPositionFromDesiredPosition(DeviceTestModel.java:30)
at data.model.DeviceModel.update(DeviceModel.java:257)
at data.model.DeviceModel.compressPositionsKeepingVoidFor(DeviceModel.java:432)
at unittest.classextensions.DeviceTestModel.compressPositionsKeepingVoidFor(DeviceTestModel.java:26)
at data.model.DeviceModel.getActualPositionFromDesiredPosition(DeviceModel.java:357)
at unittest.classextensions.DeviceTestModel.getActualPositionFromDesiredPosition(DeviceTestModel.java:30)
at data.model.DeviceModel.update(DeviceModel.java:257)
at data.model.DeviceModel.compressPositionsKeepingVoidFor(DeviceModel.java:432)
at unittest.classextensions.DeviceTestModel.compressPositionsKeepingVoidFor(DeviceTestModel.java:26)
at data.model.DeviceModel.getActualPositionFromDesiredPosition(DeviceModel.java:357)
at unittest.classextensions.DeviceTestModel.getActualPositionFromDesiredPosition(DeviceTestModel.java:30)
at data.model.DeviceModel.update(DeviceModel.java:257)
at data.model.DeviceModel.compressPositionsKeepingVoidFor(DeviceModel.java:432)
at unittest.classextensions.DeviceTestModel.compressPositionsKeepingVoidFor(DeviceTestModel.java:26)
at data.model.DeviceModel.getActualPositionFromDesiredPosition(DeviceModel.java:357)
at unittest.classextensions.DeviceTestModel.getActualPositionFromDesiredPosition(DeviceTestModel.java:30)
at data.model.DeviceModel.update(DeviceModel.java:257)
at data.model.DeviceModel.compressPositionsKeepingVoidFor(DeviceModel.java:432)
at unittest.classextensions.DeviceTestModel.compressPositionsKeepingVoidFor(DeviceTestModel.java:26)
at data.model.DeviceModel.getActualPositionFromDesiredPosition(DeviceModel.java:357)
at unittest.classextensions.DeviceTestModel.getActualPositionFromDesiredPosition(DeviceTestModel.java:30)
at data.model.DeviceModel.update(DeviceModel.java:257)
at data.model.DeviceModel.compressPositionsKeepingVoidFor(DeviceModel.java:432)
at unittest.classextensions.DeviceTestModel.compressPositionsKeepingVoidFor(DeviceTestModel.java:26)
at data.model.DeviceModel.getActualPositionFromDesiredPosition(DeviceModel.java:357)
at unittest.classextensions.DeviceTestModel.getActualPositionFromDesiredPosition(DeviceTestModel.java:30)
at data.model.DeviceModel.update(DeviceModel.java:257)
at data.model.DeviceModel.compressPositionsKeepingVoidFor(DeviceModel.java:432)
at unittest.classextensions.DeviceTestModel.compressPositionsKeepingVoidFor(DeviceTestModel.java:26)
at data.model.DeviceModel.getActualPositionFromDesiredPosition(DeviceModel.java:357)
at unittest.classextensions.DeviceTestModel.getActualPositionFromDesiredPosition(DeviceTestModel.java:30)
at data.model.DeviceModel.update(DeviceModel.java:257)
at data.model.DeviceModel.compressPositionsKeepingVoidFor(DeviceModel.java:432)
at unittest.classextensions.DeviceTestModel.compressPositionsKeepingVoidFor(DeviceTestModel.java:26)
at data.model.DeviceModel.getActualPositionFromDesiredPosition(DeviceModel.java:357)
at unittest.classextensions.DeviceTestModel.getActualPositionFromDesiredPosition(DeviceTestModel.java:30)
at data.model.DeviceModel.update(DeviceModel.java:257)
at data.model.DeviceModel.compressPositionsKeepingVoidFor(DeviceModel.java:432)
at unittest.classextensions.DeviceTestModel.compressPositionsKeepingVoidFor(DeviceTestModel.java:26)
at data.model.DeviceModel.getActualPositionFromDesiredPosition(DeviceModel.java:357)
at unittest.classextensions.DeviceTestModel.getActualPositionFromDesiredPosition(DeviceTestModel.java:30)
at data.model.DeviceModel.update(DeviceModel.java:257)
at data.model.DeviceModel.compressPositionsKeepingVoidFor(DeviceModel.java:432)
at unittest.classextensions.DeviceTestModel.compressPositionsKeepingVoidFor(DeviceTestModel.java:26)
at data.model.DeviceModel.getActualPositionFromDesiredPosition(DeviceModel.java:357)
at unittest.classextensions.DeviceTestModel.getActualPositionFromDesiredPosition(DeviceTestModel.java:30)
at data.model.DeviceModel.update(DeviceModel.java:257)
at data.model.DeviceModel.compressPositionsKeepingVoidFor(DeviceModel.java:432)
at unittest.classextensions.DeviceTestModel.compressPositionsKeepingVoidFor(DeviceTestModel.java:26)
at data.model.DeviceModel.getActualPositionFromDesiredPosition(DeviceModel.java:357)
at unittest.classextensions.DeviceTestModel.getActualPositionFromDesiredPosition(DeviceTestModel.java:30)
at data.model.DeviceModel.update(DeviceModel.java:257)
at data.model.DeviceModel.compressPositionsKeepingVoidFor(DeviceModel.java:432)
at unittest.classextensions.DeviceTestModel.compressPositionsKeepingVoidFor(DeviceTestModel.java:26)
at data.model.DeviceModel.getActualPositionFromDesiredPosition(DeviceModel.java:357)
at unittest.classextensions.DeviceTestModel.getActualPositionFromDesiredPosition(DeviceTestModel.java:30)
at data.model.DeviceModel.update(DeviceModel.java:257)
at data.model.DeviceModel.compressPositionsKeepingVoidFor(DeviceModel.java:432)
at unittest.classextensions.DeviceTestModel.compressPositionsKeepingVoidFor(DeviceTestModel.java:26)
at data.model.DeviceModel.getActualPositionFromDesiredPosition(DeviceModel.java:357)
at unittest.classextensions.DeviceTestModel.getActualPositionFromDesiredPosition(DeviceTestModel.java:30)
at data.model.DeviceModel.update(DeviceModel.java:257)
at data.model.DeviceModel.compressPositionsKeepingVoidFor(DeviceModel.java:432)
at unittest.classextensions.DeviceTestModel.compressPositionsKeepingVoidFor(DeviceTestModel.java:26)
at data.model.DeviceModel.getActualPositionFromDesiredPosition(DeviceModel.java:357)
at unittest.classextensions.DeviceTestModel.getActualPositionFromDesiredPosition(DeviceTestModel.java:30)
at data.model.DeviceModel.update(DeviceModel.java:257)
at data.model.DeviceModel.compressPositionsKeepingVoidFor(DeviceModel.java:432)
at unittest.classextensions.DeviceTestModel.compressPositionsKeepingVoidFor(DeviceTestModel.java:26)
at data.model.DeviceModel.getActualPositionFromDesiredPosition(DeviceModel.java:357)
at unittest.classextensions.DeviceTestModel.getActualPositionFromDesiredPosition(DeviceTestModel.java:30)
at data.model.DeviceModel.update(DeviceModel.java:257)
at data.model.DeviceModel.compressPositionsKeepingVoidFor(DeviceModel.java:432)
at unittest.classextensions.DeviceTestModel.compressPositionsKeepingVoidFor(DeviceTestModel.java:26)
at data.model.DeviceModel.getActualPositionFromDesiredPosition(DeviceModel.java:357)
at unittest.classextensions.DeviceTestModel.getActualPositionFromDesiredPosition(DeviceTestModel.java:30)
at data.model.DeviceModel.update(DeviceModel.java:257)
at data.model.DeviceModel.compressPositionsKeepingVoidFor(DeviceModel.java:432)
at unittest.classextensions.DeviceTestModel.compressPositionsKeepingVoidFor(DeviceTestModel.java:26)
at data.model.DeviceModel.getActualPositionFromDesiredPosition(DeviceModel.java:357)
at unittest.classextensions.DeviceTestModel.getActualPositionFromDesiredPosition(DeviceTestModel.java:30)
at data.model.DeviceModel.update(DeviceModel.java:257)
at data.model.DeviceModel.compressPositionsKeepingVoidFor(DeviceModel.java:432)
at unittest.classextensions.DeviceTestModel.compressPositionsKeepingVoidFor(DeviceTestModel.java:26)
at data.model.DeviceModel.getActualPositionFromDesiredPosition(DeviceModel.java:357)
at unittest.classextensions.DeviceTestModel.getActualPositionFromDesiredPosition(DeviceTestModel.java:30)
at data.model.DeviceModel.update(DeviceModel.java:257)
at data.model.DeviceModel.compressPositionsKeepingVoidFor(DeviceModel.java:432)
at unittest.classextensions.DeviceTestModel.compressPositionsKeepingVoidFor(DeviceTestModel.java:26)
at data.model.DeviceModel.getActualPositionFromDesiredPosition(DeviceModel.java:357)
at unittest.classextensions.DeviceTestModel.getActualPositionFromDesiredPosition(DeviceTestModel.java:30)
at data.model.DeviceModel.update(DeviceModel.java:257)
at data.model.DeviceModel.compressPositionsKeepingVoidFor(DeviceModel.java:432)
at unittest.classextensions.DeviceTestModel.compressPositionsKeepingVoidFor(DeviceTestModel.java:26)
at data.model.DeviceModel.getActualPositionFromDesiredPosition(DeviceModel.java:357)
at unittest.classextensions.DeviceTestModel.getActualPositionFromDesiredPosition(DeviceTestModel.java:30)
at data.model.DeviceModel.update(DeviceModel.java:257)
at data.model.DeviceModel.compressPositionsKeepingVoidFor(DeviceModel.java:432)
at unittest.classextensions.DeviceTestModel.compressPositionsKeepingVoidFor(DeviceTestModel.java:26)
at data.model.DeviceModel.getActualPositionFromDesiredPosition(DeviceModel.java:357)
at unittest.classextensions.DeviceTestModel.getActualPositionFromDesiredPosition(DeviceTestModel.java:30)
at data.model.DeviceModel.update(DeviceModel.java:257)
at data.model.DeviceModel.compressPositionsKeepingVoidFor(DeviceModel.java:432)
at unittest.classextensions.DeviceTestModel.compressPositionsKeepingVoidFor(DeviceTestModel.java:26)
at data.model.DeviceModel.getActualPositionFromDesiredPosition(DeviceModel.java:357)
at unittest.classextensions.DeviceTestModel.getActualPositionFromDesiredPosition(DeviceTestModel.java:30)
at data.model.DeviceModel.update(DeviceModel.java:257)
at data.model.DeviceModel.compressPositionsKeepingVoidFor(DeviceModel.java:432)
at unittest.classextensions.DeviceTestModel.compressPositionsKeepingVoidFor(DeviceTestModel.java:26)
at data.model.DeviceModel.getActualPositionFromDesiredPosition(DeviceModel.java:357)
at unittest.classextensions.DeviceTestModel.getActualPositionFromDesiredPosition(DeviceTestModel.java:30)
at data.model.DeviceModel.update(DeviceModel.java:257)
at data.model.DeviceModel.compressPositionsKeepingVoidFor(DeviceModel.java:432)
at unittest.classextensions.DeviceTestModel.compressPositionsKeepingVoidFor(DeviceTestModel.java:26)
at data.model.DeviceModel.getActualPositionFromDesiredPosition(DeviceModel.java:357)
at unittest.classextensions.DeviceTestModel.getActualPositionFromDesiredPosition(DeviceTestModel.java:30)
at data.model.DeviceModel.update(DeviceModel.java:257)
at data.model.DeviceModel.compressPositionsKeepingVoidFor(DeviceModel.java:432)
at unittest.classextensions.DeviceTestModel.compressPositionsKeepingVoidFor(DeviceTestModel.java:26)
at data.model.DeviceModel.getActualPositionFromDesiredPosition(DeviceModel.java:357)
at unittest.classextensions.DeviceTestModel.getActualPositionFromDesiredPosition(DeviceTestModel.java:30)
at data.model.DeviceModel.update(DeviceModel.java:257)
at data.model.DeviceModel.compressPositionsKeepingVoidFor(DeviceModel.java:432)
at unittest.classextensions.DeviceTestModel.compressPositionsKeepingVoidFor(DeviceTestModel.java:26)
at data.model.DeviceModel.getActualPositionFromDesiredPosition(DeviceModel.java:357)
at unittest.classextensions.DeviceTestModel.getActualPositionFromDesiredPosition(DeviceTestModel.java:30)
at data.model.DeviceModel.update(DeviceModel.java:257)
at data.model.DeviceModel.compressPositionsKeepingVoidFor(DeviceModel.java:432)
at unittest.classextensions.DeviceTestModel.compressPositionsKeepingVoidFor(DeviceTestModel.java:26)
at data.model.DeviceModel.getActualPositionFromDesiredPosition(DeviceModel.java:357)
at unittest.classextensions.DeviceTestModel.getActualPositionFromDesiredPosition(DeviceTestModel.java:30)
at data.model.DeviceModel.update(DeviceModel.java:257)
at data.model.DeviceModel.compressPositionsKeepingVoidFor(DeviceModel.java:432)
at unittest.classextensions.DeviceTestModel.compressPositionsKeepingVoidFor(DeviceTestModel.java:26)
at data.model.DeviceModel.getActualPositionFromDesiredPosition(DeviceModel.java:357)
at unittest.classextensions.DeviceTestModel.getActualPositionFromDesiredPosition(DeviceTestModel.java:30)
at data.model.DeviceModel.update(DeviceModel.java:257)
at data.model.DeviceModel.compressPositionsKeepingVoidFor(DeviceModel.java:432)
at unittest.classextensions.DeviceTestModel.compressPositionsKeepingVoidFor(DeviceTestModel.java:26)
at data.model.DeviceModel.getActualPositionFromDesiredPosition(DeviceModel.java:357)
at unittest.classextensions.DeviceTestModel.getActualPositionFromDesiredPosition(DeviceTestModel.java:30)
at data.model.DeviceModel.update(DeviceModel.java:257)
at data.model.DeviceModel.compressPositionsKeepingVoidFor(DeviceModel.java:432)
at unittest.classextensions.DeviceTestModel.compressPositionsKeepingVoidFor(DeviceTestModel.java:26)
at data.model.DeviceModel.getActualPositionFromDesiredPosition(DeviceModel.java:357)
at unittest.classextensions.DeviceTestModel.getActualPositionFromDesiredPosition(DeviceTestModel.java:30)
at data.model.DeviceModel.update(DeviceModel.java:257)
at data.model.DeviceModel.compressPositionsKeepingVoidFor(DeviceModel.java:432)
at unittest.classextensions.DeviceTestModel.compressPositionsKeepingVoidFor(DeviceTestModel.java:26)
at data.model.DeviceModel.getActualPositionFromDesiredPosition(DeviceModel.java:357)
at unittest.classextensions.DeviceTestModel.getActualPositionFromDesiredPosition(DeviceTestModel.java:30)
at data.model.DeviceModel.update(DeviceModel.java:257)
at data.model.DeviceModel.compressPositionsKeepingVoidFor(DeviceModel.java:432)
at unittest.classextensions.DeviceTestModel.compressPositionsKeepingVoidFor(DeviceTestModel.java:26)
at data.model.DeviceModel.getActualPositionFromDesiredPosition(DeviceModel.java:357)
at unittest.classextensions.DeviceTestModel.getActualPositionFromDesiredPosition(DeviceTestModel.java:30)
at data.model.DeviceModel.update(DeviceModel.java:257)
at data.model.DeviceModel.compressPositionsKeepingVoidFor(DeviceModel.java:432)
at unittest.classextensions.DeviceTestModel.compressPositionsKeepingVoidFor(DeviceTestModel.java:26)
at data.model.DeviceModel.getActualPositionFromDesiredPosition(DeviceModel.java:357)
at unittest.classextensions.DeviceTestModel.getActualPositionFromDesiredPosition(DeviceTestModel.java:30)
at data.model.DeviceModel.update(DeviceModel.java:257)
at data.model.DeviceModel.compressPositionsKeepingVoidFor(DeviceModel.java:432)
at unittest.classextensions.DeviceTestModel.compressPositionsKeepingVoidFor(DeviceTestModel.java:26)
at data.model.DeviceModel.getActualPositionFromDesiredPosition(DeviceModel.java:357)
at unittest.classextensions.DeviceTestModel.getActualPositionFromDesiredPosition(DeviceTestModel.java:30)
at data.model.DeviceModel.update(DeviceModel.java:257)
at data.model.DeviceModel.compressPositionsKeepingVoidFor(DeviceModel.java:432)
at unittest.classextensions.DeviceTestModel.compressPositionsKeepingVoidFor(DeviceTestModel.java:26)
at data.model.DeviceModel.getActualPositionFromDesiredPosition(DeviceModel.java:357)
at unittest.classextensions.DeviceTestModel.getActualPositionFromDesiredPosition(DeviceTestModel.java:30)
at data.model.DeviceModel.update(DeviceModel.java:257)
at data.model.DeviceModel.compressPositionsKeepingVoidFor(DeviceModel.java:432)
at unittest.classextensions.DeviceTestModel.compressPositionsKeepingVoidFor(DeviceTestModel.java:26)
at data.model.DeviceModel.getActualPositionFromDesiredPosition(DeviceModel.java:357)
at unittest.classextensions.DeviceTestModel.getActualPositionFromDesiredPosition(DeviceTestModel.java:30)
at data.model.DeviceModel.update(DeviceModel.java:257)
at data.model.DeviceModel.compressPositionsKeepingVoidFor(DeviceModel.java:432)
at unittest.classextensions.DeviceTestModel.compressPositionsKeepingVoidFor(DeviceTestModel.java:26)
at data.model.DeviceModel.getActualPositionFromDesiredPosition(DeviceModel.java:357)
at unittest.classextensions.DeviceTestModel.getActualPositionFromDesiredPosition(DeviceTestModel.java:30)
at data.model.DeviceModel.update(DeviceModel.java:257)
at data.model.DeviceModel.compressPositionsKeepingVoidFor(DeviceModel.java:432)
at unittest.classextensions.DeviceTestModel.compressPositionsKeepingVoidFor(DeviceTestModel.java:26)
at data.model.DeviceModel.getActualPositionFromDesiredPosition(DeviceModel.java:357)
at unittest.classextensions.DeviceTestModel.getActualPositionFromDesiredPosition(DeviceTestModel.java:30)
at data.model.DeviceModel.update(DeviceModel.java:257)
at data.model.DeviceModel.compressPositionsKeepingVoidFor(DeviceModel.java:432)
at unittest.classextensions.DeviceTestModel.compressPositionsKeepingVoidFor(DeviceTestModel.java:26)
at data.model.DeviceModel.getActualPositionFromDesiredPosition(DeviceModel.java:357)
at unittest.classextensions.DeviceTestModel.getActualPositionFromDesiredPosition(DeviceTestModel.java:30)
at data.model.DeviceModel.update(DeviceModel.java:257)
at data.model.DeviceModel.compressPositionsKeepingVoidFor(DeviceModel.java:432)
at unittest.classextensions.DeviceTestModel.compressPositionsKeepingVoidFor(DeviceTestModel.java:26)
at data.model.DeviceModel.getActualPositionFromDesiredPosition(DeviceModel.java:357)
at unittest.classextensions.DeviceTestModel.getActualPositionFromDesiredPosition(DeviceTestModel.java:30)
at data.model.DeviceModel.update(DeviceModel.java:257)
at data.model.DeviceModel.compressPositionsKeepingVoidFor(DeviceModel.java:432)
at unittest.classextensions.DeviceTestModel.compressPositionsKeepingVoidFor(DeviceTestModel.java:26)
at data.model.DeviceModel.getActualPositionFromDesiredPosition(DeviceModel.java:357)
at unittest.classextensions.DeviceTestModel.getActualPositionFromDesiredPosition(DeviceTestModel.java:30)
at data.model.DeviceModel.update(DeviceModel.java:257)
at data.model.DeviceModel.compressPositionsKeepingVoidFor(DeviceModel.java:432)
at unittest.classextensions.DeviceTestModel.compressPositionsKeepingVoidFor(DeviceTestModel.java:26)
at data.model.DeviceModel.getActualPositionFromDesiredPosition(DeviceModel.java:357)
at unittest.classextensions.DeviceTestModel.getActualPositionFromDesiredPosition(DeviceTestModel.java:30)
at data.model.DeviceModel.update(DeviceModel.java:257)
at data.model.DeviceModel.compressPositionsKeepingVoidFor(DeviceModel.java:432)
at unittest.classextensions.DeviceTestModel.compressPositionsKeepingVoidFor(DeviceTestModel.java:26)
at data.model.DeviceModel.getActualPositionFromDesiredPosition(DeviceModel.java:357)
at unittest.classextensions.DeviceTestModel.getActualPositionFromDesiredPosition(DeviceTestModel.java:30)
at data.model.DeviceModel.update(DeviceModel.java:257)
at data.model.DeviceModel.compressPositionsKeepingVoidFor(DeviceModel.java:432)
at unittest.classextensions.DeviceTestModel.compressPositionsKeepingVoidFor(DeviceTestModel.java:26)
at data.model.DeviceModel.getActualPositionFromDesiredPosition(DeviceModel.java:357)
at unittest.classextensions.DeviceTestModel.getActualPositionFromDesiredPosition(DeviceTestModel.java:30)
at data.model.DeviceModel.update(DeviceModel.java:257)
at data.model.DeviceModel.compressPositionsKeepingVoidFor(DeviceModel.java:432)
at unittest.classextensions.DeviceTestModel.compressPositionsKeepingVoidFor(DeviceTestModel.java:26)
at data.model.DeviceModel.getActualPositionFromDesiredPosition(DeviceModel.java:357)
at unittest.classextensions.DeviceTestModel.getActualPositionFromDesiredPosition(DeviceTestModel.java:30)
at data.model.DeviceModel.update(DeviceModel.java:257)
at data.model.DeviceModel.compressPositionsKeepingVoidFor(DeviceModel.java:432)
at unittest.classextensions.DeviceTestModel.compressPositionsKeepingVoidFor(DeviceTestModel.java:26)
at data.model.DeviceModel.getActualPositionFromDesiredPosition(DeviceModel.java:357)
at unittest.classextensions.DeviceTestModel.getActualPositionFromDesiredPosition(DeviceTestModel.java:30)
at data.model.DeviceModel.update(DeviceModel.java:257)
at unittest.DeviceModelTest.testUpdateDevice(DeviceModelTest.java:256)
at java.lang.reflect.Method.invokeNative(Native Method)
at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:169)
at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:154)
at android.test.InstrumentationTestRunner.onStart(InstrumentationTestRunner.java:529)
at android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:1448)