当我启动 baasbox 时,我在提交时收到 NullPointerException。我在 baasbox 的 DbHelper.java 文件中注释掉了事务逻辑。
orientdb 版本是 1.6.3。以前在这个版本中出现过这个问题吗?
有人对此有想法吗?
这是一个例外:
java.lang.NullPointerException: null
at com.orientechnologies.orient.core.tx.OTransactionOptimistic$2.run(OTransactionOptimistic.java:145) ~[orientdb-core-1.6.3.jar:1.6.3]
at com.orientechnologies.orient.core.storage.impl.local.paginated.OLocalPaginatedStorage.commit(OLocalPaginatedStorage.java:1446) ~[orientdb-core-1.6.3.jar:1.6.3]
Wrapped by: com.orientechnologies.orient.core.exception.OStorageException: Error during transaction commit.
at com.orientechnologies.orient.core.storage.impl.local.paginated.OLocalPaginatedStorage.commit(OLocalPaginatedStorage.java:1460) ~[orientdb-core-1.6.3.jar:1.6.3]
at com.orientechnologies.orient.core.tx.OTransactionOptimistic.commit(OTransactionOptimistic.java:176) ~[orientdb-core-1.6.3.jar:1.6.3]
at com.orientechnologies.orient.core.db.record.ODatabaseRecordTx.commit(ODatabaseRecordTx.java:115) ~[orientdb-core-1.6.3.jar:1.6.3]
at com.baasbox.db.DbHelper.commitTransaction(DbHelper.java:119) ~[classes/:na]
at com.baasbox.service.user.UserService.signUp(UserService.java:283) ~[classes/:na]
at com.baasbox.service.user.UserService.createDefaultUsers(UserService.java:74) ~[classes/:na]