# By László Dávid # Via Android Git Automerger (1) and others * commit '3c6ee5b509d6360a431290fff4b366848c293899': NullPointerException in SQLiteSession
This commit is contained in:
@@ -926,7 +926,7 @@ public final class SQLiteSession {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private void throwIfNestedTransaction() {
|
private void throwIfNestedTransaction() {
|
||||||
if (mTransactionStack == null && mTransactionStack.mParent != null) {
|
if (hasNestedTransaction()) {
|
||||||
throw new IllegalStateException("Cannot perform this operation because "
|
throw new IllegalStateException("Cannot perform this operation because "
|
||||||
+ "a nested transaction is in progress.");
|
+ "a nested transaction is in progress.");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user