attempt to reopen an already-closed object: sqlitequery
问题 So essentially I am querying the DB twice. I don't understand where this error is really coming from because I am not closing the DB anywhere. The code that returns the error runs like this. I've checked around and I just having seen a case like mine. BeaconHandler pullAllDB = new BeaconHandler(this); try { List<Beacon> beaconsShown = pullAllDB.getAllBeacons(); for (final Beacon bn : beaconsShown) { try { int messageCount = pullAllDB.getMessageCount(); Log.d("Message", messageCount + "