How to dishearten newbies: Wallet refuses to start after blockchain import


#1

Hey guys, could use a hand here…

Installed latest QBundle 1.5 on Win 7 64 Bit.
It downloaded Portable Java and happily started.
As recommended I stopped the wallet when it started to sync in slomo, downloaded the .bbd file and imported it.
Took an insane amount of time, but eventually finished successfully.
Closed everything.
Rebooted, just in case.
Started the wallet: nope.
Shows “starting wallet” briefly, then goes to “stopped” again.

A non-technical person would dump the “buggy shitcoin” at that point.

A semi-technical person like me gives it another chance and checks the console output for error messages -
please see spoiler below.

Can anyone kindly enlighten me what the f is the problem?

Also, dear John McAfee: you brought me here, now send 10K BURST to BURST-F7Y3-RN9F-MC34-2ZWWG to compensate for the wasted time. Thanks.

And merry Christmas everyone… :wink:


Dec 24, 2017 6:57:27 AM nxt.Nxt getBooleanProperty
INFO: nxt.disableGenerateBlocksThread not defined, assuming false
[INFO] 2017-12-24 06:57:27 LoggerConfigurator - logging enabled
[INFO] 2017-12-24 06:57:27 nxt.Nxt - nxt.maxRollback = “1440”
[INFO] 2017-12-24 06:57:27 nxt.Nxt - nxt.isTestnet = “false”
[INFO] 2017-12-24 06:57:27 nxt.Nxt - nxt.isOffline = “false”
[INFO] 2017-12-24 06:57:27 nxt.Nxt - nxt.dbUrl = “jdbc:h2:./burst_db/burst;DB_CLOSE_ON_EXIT=False”
[INFO] 2017-12-24 06:57:27 nxt.Nxt - burst.enableSqlMetrics = “false”
[INFO] 2017-12-24 06:57:27 nxt.Nxt - nxt.dbUrl = “jdbc:h2:./burst_db/burst;DB_CLOSE_ON_EXIT=False”
[INFO] 2017-12-24 06:57:27 nxt.Nxt - nxt.dbUsername = “sa”
[INFO] 2017-12-24 06:57:27 nxt.Nxt - nxt.dbPassword = “sa”
[INFO] 2017-12-24 06:57:27 nxt.Nxt - nxt.dbMaximumPoolSize = “10”
[INFO] 2017-12-24 06:57:27 com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Starting…
[SEVERE] 2017-12-24 06:57:30 com.zaxxer.hikari.pool.HikariPool - HikariPool-1 - Exception during pool initialization.
org.h2.jdbc.JdbcSQLException: General error: “java.lang.NullPointerException” [50000-196]
at org.h2.message.DbException.getJdbcSQLException(DbException.java:345)
at org.h2.message.DbException.get(DbException.java:168)
at org.h2.message.DbException.convert(DbException.java:295)
at org.h2.engine.Database.openDatabase(Database.java:307)
at org.h2.engine.Database.(Database.java:270)
at org.h2.engine.Engine.openSession(Engine.java:64)
at org.h2.engine.Engine.openSession(Engine.java:176)
at org.h2.engine.Engine.createSessionAndValidate(Engine.java:154)
at org.h2.engine.Engine.createSession(Engine.java:137)
at org.h2.engine.Engine.createSession(Engine.java:27)
at org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:354)
at org.h2.jdbc.JdbcConnection.(JdbcConnection.java:116)
at org.h2.jdbc.JdbcConnection.(JdbcConnection.java:100)
at org.h2.Driver.connect(Driver.java:69)
at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:117)
at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:123)
at com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:375)
at com.zaxxer.hikari.pool.PoolBase.newPoolEntry(PoolBase.java:204)
at com.zaxxer.hikari.pool.HikariPool.createPoolEntry(HikariPool.java:445)
at com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:516)
at com.zaxxer.hikari.pool.HikariPool.(HikariPool.java:116)
at com.zaxxer.hikari.HikariDataSource.(HikariDataSource.java:72)
at nxt.db.sql.Db.(Db.java:130)
at nxt.Nxt$Init.(Nxt.java:245)
at nxt.Nxt.init(Nxt.java:202)
at nxt.Nxt.main(Nxt.java:193)
Caused by: java.lang.NullPointerException
at org.h2.mvstore.db.ValueDataType.compare(ValueDataType.java:104)
at org.h2.mvstore.MVMap.compare(MVMap.java:713)
at org.h2.mvstore.Page.binarySearch(Page.java:334)
at org.h2.mvstore.MVMap.binarySearch(MVMap.java:466)
at org.h2.mvstore.MVMap.get(MVMap.java:455)
at org.h2.mvstore.MVMap.remove(MVMap.java:543)
at org.h2.mvstore.db.TransactionStore.rollbackTo(TransactionStore.java:506)
at org.h2.mvstore.db.TransactionStore$Transaction.rollback(TransactionStore.java:803)
at org.h2.mvstore.db.MVTableEngine$Store.initTransactions(MVTableEngine.java:256)
at org.h2.engine.Database.open(Database.java:767)
at org.h2.engine.Database.openDatabase(Database.java:276)
… 22 more
Exception in thread “main” java.lang.ExceptionInInitializerError
at nxt.Nxt$Init.(Nxt.java:245)
at nxt.Nxt.init(Nxt.java:202)
at nxt.Nxt.main(Nxt.java:193)
Caused by: java.lang.RuntimeException: com.zaxxer.hikari.pool.HikariPool$PoolInitializationException: Failed to initialize pool: General error: “java.lang.NullPointerException” [50000-196]
at nxt.db.sql.Db.(Db.java:143)
… 3 more
Caused by: com.zaxxer.hikari.pool.HikariPool$PoolInitializationException: Failed to initialize pool: General error: “java.lang.NullPointerException” [50000-196]
at com.zaxxer.hikari.pool.HikariPool.throwPoolInitializationException(HikariPool.java:545)
at com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:537)
at com.zaxxer.hikari.pool.HikariPool.(HikariPool.java:116)
at com.zaxxer.hikari.HikariDataSource.(HikariDataSource.java:72)
at nxt.db.sql.Db.(Db.java:130)
… 3 more
Caused by: org.h2.jdbc.JdbcSQLException: General error: “java.lang.NullPointerException” [50000-196]
at org.h2.message.DbException.getJdbcSQLException(DbException.java:345)
at org.h2.message.DbException.get(DbException.java:168)
at org.h2.message.DbException.convert(DbException.java:295)
at org.h2.engine.Database.openDatabase(Database.java:307)
at org.h2.engine.Database.(Database.java:270)
at org.h2.engine.Engine.openSession(Engine.java:64)
at org.h2.engine.Engine.openSession(Engine.java:176)
at org.h2.engine.Engine.createSessionAndValidate(Engine.java:154)
at org.h2.engine.Engine.createSession(Engine.java:137)
at org.h2.engine.Engine.createSession(Engine.java:27)
at org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:354)
at org.h2.jdbc.JdbcConnection.(JdbcConnection.java:116)
at org.h2.jdbc.JdbcConnection.(JdbcConnection.java:100)
at org.h2.Driver.connect(Driver.java:69)
at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:117)
at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:123)
at com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:375)
at com.zaxxer.hikari.pool.PoolBase.newPoolEntry(PoolBase.java:204)
at com.zaxxer.hikari.pool.HikariPool.createPoolEntry(HikariPool.java:445)
at com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:516)
… 6 more
Caused by: java.lang.NullPointerException
at org.h2.mvstore.db.ValueDataType.compare(ValueDataType.java:104)
at org.h2.mvstore.MVMap.compare(MVMap.java:713)
at org.h2.mvstore.Page.binarySearch(Page.java:334)
at org.h2.mvstore.MVMap.binarySearch(MVMap.java:466)
at org.h2.mvstore.MVMap.get(MVMap.java:455)
at org.h2.mvstore.MVMap.remove(MVMap.java:543)
at org.h2.mvstore.db.TransactionStore.rollbackTo(TransactionStore.java:506)
at org.h2.mvstore.db.TransactionStore$Transaction.rollback(TransactionStore.java:803)
at org.h2.mvstore.db.MVTableEngine$Store.initTransactions(MVTableEngine.java:256)
at org.h2.engine.Database.open(Database.java:767)
at org.h2.engine.Database.openDatabase(Database.java:276)
… 22 more
Exception in thread “Thread-1” java.lang.ExceptionInInitializerError
at nxt.peer.Peers.(Peers.java:480)
at nxt.Nxt.shutdown(Nxt.java:209)
at nxt.Nxt$1.run(Nxt.java:190)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NullPointerException
at nxt.Account.(Account.java:151)
… 4 more


#2

Hirlock said everything I am feeling after working at this for 10 days. I have 11 other local wallets for other coins. Never had an experience like this.


#3

Hirlock you inspired me. Your console output looked like mine with the Java errors for h2. I noticed the option to change databases and I opted for the portable Maria db and now my wallet starts instead of stopping after a few minutes. I chose the copy option after choosing the portable maria db.

Let me know if that helps. Now i am getting some openCL errors which i dont understand but perhaps this is progress for us?


#4

Thaniks for the feedback guys!

To follow up on this:

As suggested in another thread I switched DB type to ‘Maria’.
Re-imported the whole freaking .bbd file again (took about one hour less this time, so just ALMOST another day…)
And: now it works.

Begs the question why a client needs a fistful of database options and why use the one known to cause trouble as default…

{{{start ex-consultant wiseass mode}}}
Unstable, complicated, buggy and/or too nerdy wallet/client applications are one of the main reasons why technically ‘good’ coins remain in moms basement and < $1
Nobody actually wants to (or can) use them.
{{{/end wiseass mode}}}

Looks like mining is about as intuitive as well, and from what I read you need several TB dedicated to Burst if you want to achieve anything, and need a dedicated machine nevertheless because it needs computing power as well, not just HD space.

I’ll give it a shot, because I like some of the concepts behind BURST and the community seems to be nice so far, but mining ETN/Monero will remain my focus for now, I think…


#5

I wish i was in front of a computer to help everyone today. I’d like to let everyone know that i recommend mariadb. H2 is the db used bu burst core up until now, what we have is a situation where we’re trying to evolve past that, except there are tons of people still using old wallets. Qbundle is recommended for windows users which uses the wallet made by the poc consortium 1.3.6.