[bisq-network/bisq] GUI does not start (#4741)

pmartincalvo notifications at github.com
Tue Nov 3 06:45:53 CET 2020


### Description

Bisq process starts, but GUI does not appear.

#### Version

64bit - 1.4.2 - Ubuntu

### Steps to reproduce

On a clean Ubuntu 20.04.1:

1. Install bisq 1.4.2 with .deb
2. Open client
3. Shutdown client
4. Replace data folders to restore backup
5. Open client again

### Expected behaviour

Client starting up normally.

### Actual behaviour

Process runs, but no GUI appears. CPU consumption stuck at 0.


#### Device or machine

Medion Erazer p6705, Ubuntu 20.04.1



#### Additional info

```Nov-02 18:29:19.245 [main] INFO  b.c.s.CommonSetup: Log files under: /home/ubuntu/.local/share/Bisq/bisq 
Nov-02 18:29:19.252 [main] INFO  b.c.u.Utilities: System info: os.name=Linux; os.version=5.4.0-42-generic; os.arch=amd64; sun.arch.data.model=64; JRE=10.0.2+13 (Oracle Corporation); JVM=10.0.2+13 (Java HotSpot(TM) 64-Bit Server VM) 
Nov-02 18:29:19.258 [main] INFO  b.c.app.Version: Version{VERSION=1.4.2, P2P_NETWORK_VERSION=1, LOCAL_DB_VERSION=1, TRADE_PROTOCOL_VERSION=2, BASE_CURRENCY_NETWORK=0, getP2PNetworkId()=10} 
Nov-02 18:29:19.258 [main] INFO  b.c.s.CommonSetup: Path to Bisq jar file: /opt/Bisq/app/desktop-1.4.2-all.jar 
Nov-02 18:29:19.259 [main] INFO  b.c.u.Profiler: System report: Used memory: 20 MB; Free memory: 44 MB; Total memory: 64 MB; No. of threads: 1 
Nov-02 18:29:19.261 [main] INFO  b.c.s.CoreNetworkCapabilities: Set Capability.RECEIVE_BSQ_BLOCK 
Nov-02 18:29:19.972 [JavaFX Application Thread] INFO  b.c.a.AvoidStandbyModeService: Started -- disabled power management via /usr/bin/gnome-session-inhibit --app-id Bisq --inhibit suspend --reason Avoid Standby --inhibit-only 
Nov-02 18:29:20.061 [JavaFX Application Thread] ERROR b.c.c.KeyStorage: Could not load key Key{fileName='enc', algorithm='RSA'} 
Nov-02 18:29:20.216 [Thread-3] ERROR b.c.s.CommonSetup: Uncaught Exception from thread Thread-3 
Nov-02 18:29:20.216 [Thread-3] ERROR b.c.s.CommonSetup: throwableMessage= null 
Nov-02 18:29:20.217 [Thread-3] ERROR b.c.s.CommonSetup: throwableClass= class java.lang.NullPointerException 
Nov-02 18:29:20.218 [Thread-3] ERROR b.c.s.CommonSetup: Stack trace:
java.lang.NullPointerException
	at bisq.desktop.app.BisqApp.lambda$stop$1(BisqApp.java:148)
	at java.base/java.lang.Thread.run(Thread.java:844)
 
Nov-02 18:29:20.218 [main] ERROR b.c.s.CommonSetup: Uncaught Exception from thread main 
Nov-02 18:29:20.218 [main] ERROR b.c.s.CommonSetup: throwableMessage= Exception in Application start method 
Nov-02 18:29:20.218 [main] ERROR b.c.s.CommonSetup: throwableClass= class java.lang.RuntimeException 
Nov-02 18:29:20.224 [main] ERROR b.c.s.CommonSetup: Stack trace:
java.lang.RuntimeException: Exception in Application start method
	at javafx.graphics/com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:973)
	at javafx.graphics/com.sun.javafx.application.LauncherImpl.lambda$launchApplication$2(LauncherImpl.java:198)
	at java.base/java.lang.Thread.run(Thread.java:844)
Caused by: com.google.inject.ProvisionException: Unable to provision, see the following errors:

1) Error injecting constructor, java.lang.RuntimeException: Could not load key Key{fileName='enc', algorithm='RSA'}
  at bisq.common.crypto.KeyRing.<init>(KeyRing.java:39)
  at bisq.common.crypto.KeyRing.class(KeyRing.java:30)
  while locating bisq.common.crypto.KeyRing
    for the 2nd parameter of bisq.core.user.User.<init>(User.java:80)
  at bisq.core.user.User.class(User.java:66)
  while locating bisq.core.user.User

1 error
	at com.google.inject.internal.InternalProvisionException.toProvisionException(InternalProvisionException.java:226)
	at com.google.inject.internal.InjectorImpl$1.get(InjectorImpl.java:1053)
	at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1086)
	at bisq.core.setup.CorePersistedDataHost.getPersistedDataHosts(CorePersistedDataHost.java:57)
	at bisq.core.app.BisqExecutable.readAllPersisted(BisqExecutable.java:165)
	at bisq.desktop.app.BisqAppMain.readAllPersisted(BisqAppMain.java:118)
	at bisq.core.app.BisqExecutable.onApplicationLaunched(BisqExecutable.java:136)
	at bisq.desktop.app.BisqAppMain.onApplicationLaunched(BisqAppMain.java:89)
	at com.google.common.util.concurrent.DirectExecutor.execute(DirectExecutor.java:30)
	at bisq.common.UserThread.execute(UserThread.java:62)
	at bisq.desktop.app.BisqAppMain.lambda$launchApplication$0(BisqAppMain.java:77)
	at bisq.desktop.app.BisqApp.start(BisqApp.java:124)
	at javafx.graphics/com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$9(LauncherImpl.java:919)
	at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runAndWait$11(PlatformImpl.java:449)
	at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runLater$9(PlatformImpl.java:418)
	at java.base/java.security.AccessController.doPrivileged(Native Method)
	at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runLater$10(PlatformImpl.java:417)
	at javafx.graphics/com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:96)
	at javafx.graphics/com.sun.glass.ui.gtk.GtkApplication._runLoop(Native Method)
	at javafx.graphics/com.sun.glass.ui.gtk.GtkApplication.lambda$runLoop$11(GtkApplication.java:277)
	... 1 more
Caused by: java.lang.RuntimeException: Could not load key Key{fileName='enc', algorithm='RSA'}
	at bisq.common.crypto.KeyStorage.loadKeyPair(KeyStorage.java:125)
	at bisq.common.crypto.KeyRing.<init>(KeyRing.java:42)
	at bisq.common.crypto.KeyRing$$FastClassByGuice$$d987bafc.newInstance(<generated>)
	at com.google.inject.internal.DefaultConstructionProxyFactory$FastClassProxy.newInstance(DefaultConstructionProxyFactory.java:89)
	at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:114)
	at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:91)
	at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:306)
	at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
	at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:168)
	at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:39)
	at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:42)
	at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:65)
	at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:113)
	at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:91)
	at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:306)
	at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
	at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:168)
	at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:39)
	at com.google.inject.internal.InjectorImpl$1.get(InjectorImpl.java:1050)
	... 19 more
Caused by: java.security.spec.InvalidKeySpecException: java.security.InvalidKeyException: invalid key format
	at java.base/sun.security.rsa.RSAKeyFactory.engineGeneratePrivate(RSAKeyFactory.java:216)
	at java.base/java.security.KeyFactory.generatePrivate(KeyFactory.java:390)
	at bisq.common.crypto.KeyStorage.loadKeyPair(KeyStorage.java:122)
	... 37 more
Caused by: java.security.InvalidKeyException: invalid key format
	at java.base/sun.security.pkcs.PKCS8Key.decode(PKCS8Key.java:330)
	at java.base/sun.security.pkcs.PKCS8Key.decode(PKCS8Key.java:355)
	at java.base/sun.security.rsa.RSAPrivateCrtKeyImpl.<init>(RSAPrivateCrtKeyImpl.java:91)
	at java.base/sun.security.rsa.RSAPrivateCrtKeyImpl.newKey(RSAPrivateCrtKeyImpl.java:75)
	at java.base/sun.security.rsa.RSAKeyFactory.generatePrivate(RSAKeyFactory.java:315)
	at java.base/sun.security.rsa.RSAKeyFactory.engineGeneratePrivate(RSAKeyFactory.java:212)
	... 39 more
 ```


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/bisq-network/bisq/issues/4741
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20201102/0e69b8ad/attachment-0001.html>


More information about the bisq-github mailing list