Desktop-Wallet icon indicating copy to clipboard operation
Desktop-Wallet copied to clipboard

Aion Wallet - v1.0.0 cannot connect due to kernel database integrity check

Open AionMiner opened this issue 6 years ago • 0 comments

When re-launching the kernel a user must wait for the database integrity check to complete before the Aion Wallet GUI can establish a connection. GUI shows "DISCONNECTED 0 peers" and CLI throws:

18-08-07 10:25:52.072 WARN  BSE  [pool-3-thread-1]: API not initialized yet!
18-08-07 10:25:52.073 WARN  BSE  [pool-3-thread-1]: API not initialized yet!
18-08-07 10:25:52.073 ERROR WLT  [pool-3-thread-1]: Could not get SyncInfo - sync displays latest block!
18-08-07 10:25:52.073 WARN  BSE  [pool-3-thread-1]: API not initialized yet!
18-08-07 10:25:52.074 ERROR WLT  [api]: null
java.lang.NullPointerException: null
        at org.aion.wallet.connector.api.ApiBlockchainConnector.getSyncInfo(Unknown Source)
        at org.aion.wallet.ui.components.partials.SyncStatusController.lambda$refreshView$0(Unknown Source)
        at org.aion.wallet.ui.components.AbstractController$1.call(Unknown Source)
        at javafx.graphics/javafx.concurrent.Task$TaskCallable.call(Unknown Source)
        ...

The kernel database integrity check is enabled by default and can take quite some time to complete. Arguably it's common for users to be shutting down and launching the kernel as needed for accessing the wallet interface only (not running a 24/7 node). Suggest updating documentation initially, possibly add notifications/helper pane to GUI on disconnected state?

AionMiner avatar Aug 07 '18 00:08 AionMiner