[bisq-network/bisq] Not running on Ubuntu 18.04 LTS (#1791)

Sandro Trianni notifications at github.com
Fri Oct 19 17:10:12 UTC 2018


I was trying to run Bisq on a remote 18.04 LTS server instance with xrdp (xfce4)

same error for v0.8 and v0.7 with java-8-openjdk-amd64 and java-8-oracle (log attached below)

Then i tried to compile from master with java-10.0.2-openjdk-amd64 and java-11-openjdk-amd64, but ran into javafx issues:
```
> Task :common:compileJava
/root/bisq-desktop/common/src/main/java/bisq/common/util/Utilities.java:39: error: package javafx.scene.input does not exist
import javafx.scene.input.Clipboard;
..
.
/root/bisq-desktop/common/src/main/java/bisq/common/util/Utilities.java:423: error: cannot find symbol
    public static boolean isAltOrCtrlPressed(KeyCode keyCode, KeyEvent keyEvent) {
                                             ^
  symbol:   class KeyCode
  location: class Utilities
```

This type of exchange is the future (great work) but it totally lacks a serverside/gui-less daemon. Why wasn't it planned like that in the first place with a seperate frontend and backend like all other projects? Especially if it requires you to be online all the time! You should fund or join forces with this guy: https://github.com/citkane/bisq-front / https://github.com/citkane/bisq-engine

Shouldn't java be dead by cancer now?

```
java -jar bisq-desktop-0.8.0-all.jar
Successfully removed cryptography restrictions
Oct-19 16:07:50.135 [main] INFO  b.c.s.CoreSetup: 


Log files under: /root/.local/share/Bisq/bisq 
Oct-19 16:07:50.141 [main] INFO  b.c.u.Utilities: System info: os.name=Linux; os.version=4.15.0-1021-gcp; os.arch=amd64; sun.arch.data.model=64; JRE=1.8.0_191-b12 (Oracle Corporation); JVM=25.191-b12 (Java HotSpot(TM) 64-Bit Server VM) 
Oct-19 16:07:50.801 [main] INFO  b.c.app.Version: Version{VERSION=0.8.0, P2P_NETWORK_VERSION=1, LOCAL_DB_VERSION=1, TRADE_PROTOCOL_VERSION=1, BASE_CURRENCY_NETWORK=0, getP2PNetworkId()=10} 
Oct-19 16:07:50.809 [main] INFO  b.c.s.CoreSetup: Path to Bisq jar file: /root/bisq-desktop/build/libs/bisq-desktop-0.8.0-all.jar 
Oct-19 16:07:58.013 [JavaFX Application Thread] INFO  b.c.p.ProvidersRepository: Selected provider baseUrl=http://xc3nh4juf2hshy7e.onion/, providerList=[http://xc3nh4juf2hshy7e.onion/, http://62nvujg5iou3vu3i.onion/, http://ceaanhbvluug4we6.onion/, http://44mgyoe2b6oqiytt.onion/, http://5bmpx76qllutpcyp.onion/] 
Oct-19 16:07:58.929 [JavaFX Application Thread] ERROR b.d.app.BisqApp: Error during app init bisq.desktop.common.ViewfxException: Failed to load view from FXML file at [jar:file:/root/bisq-desktop/build/libs/bisq-desktop-0.8.0-all.jar!/bisq/desktop/main/MainView.fxml]
	at bisq.desktop.common.fxml.FxmlViewLoader.loadFromFxml(FxmlViewLoader.java:109)
	at bisq.desktop.common.fxml.FxmlViewLoader.load(FxmlViewLoader.java:88)
	at bisq.desktop.common.view.CachingViewLoader.load(CachingViewLoader.java:39)
	at bisq.desktop.app.BisqApp.loadMainView(BisqApp.java:240)
	at bisq.desktop.app.BisqApp.startApplication(BisqApp.java:120)
	at bisq.desktop.app.BisqAppMain.startApplication(BisqAppMain.java:121)
	at bisq.core.app.BisqExecutable.onApplicationLaunched(BisqExecutable.java:181)
	at bisq.desktop.app.BisqAppMain.onApplicationLaunched(BisqAppMain.java:89)
	at com.sun.javafx.application.PlatformImpl.lambda$null$172(PlatformImpl.java:295)
	at java.security.AccessController.doPrivileged(Native Method)
	at com.sun.javafx.application.PlatformImpl.lambda$runLater$173(PlatformImpl.java:294)
	at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
	at com.sun.glass.ui.gtk.GtkApplication._runLoop(Native Method)
	at com.sun.glass.ui.gtk.GtkApplication.lambda$null$48(GtkApplication.java:139)
	at java.lang.Thread.run(Thread.java:748)
Caused by: javafx.fxml.LoadException: 
file:/root/bisq-desktop/build/libs/bisq-desktop-0.8.0-all.jar!/bisq/desktop/main/MainView.fxml:21

	at javafx.fxml.FXMLLoader.constructLoadException(FXMLLoader.java:2601)
	at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:2579)
	at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:2441)
	at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2409)
	at bisq.desktop.common.fxml.FxmlViewLoader.loadFromFxml(FxmlViewLoader.java:99)
	... 14 common frames omitted
Caused by: com.google.inject.ProvisionException: Unable to provision, see the following errors:

1) Error injecting constructor, java.lang.NullPointerException
  at bisq.core.notifications.alerts.DisputeMsgEvents.<init>(DisputeMsgEvents.java:44)
  at bisq.core.CoreModule.configure(CoreModule.java:124) (via modules: bisq.desktop.app.BisqAppModule -> bisq.core.CoreModule)
  while locating bisq.core.notifications.alerts.DisputeMsgEvents
    for the 29th parameter of bisq.core.app.BisqSetup.<init>(BisqSetup.java:218)
  at bisq.core.CoreModule.configure(CoreModule.java:82) (via modules: bisq.desktop.app.BisqAppModule -> bisq.core.CoreModule)
  while locating bisq.core.app.BisqSetup
    for the 1st parameter of bisq.desktop.main.MainViewModel.<init>(MainViewModel.java:143)
  while locating bisq.desktop.main.MainViewModel
    for the 1st parameter of bisq.desktop.main.MainView.<init>(MainView.java:157)
  while locating bisq.desktop.main.MainView

1 error
	at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:1028)
	at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1054)
	at bisq.desktop.common.view.guice.InjectorViewFactory.call(InjectorViewFactory.java:37)
	at bisq.desktop.common.view.guice.InjectorViewFactory.call(InjectorViewFactory.java:26)
	at javafx.fxml.FXMLLoader$ValueElement.processAttribute(FXMLLoader.java:929)
	at javafx.fxml.FXMLLoader$InstanceDeclarationElement.processAttribute(FXMLLoader.java:971)
	at javafx.fxml.FXMLLoader$Element.processStartElement(FXMLLoader.java:220)
	at javafx.fxml.FXMLLoader$ValueElement.processStartElement(FXMLLoader.java:744)
	at javafx.fxml.FXMLLoader.processStartElement(FXMLLoader.java:2707)
	at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:2527)
	... 17 common frames omitted
Caused by: java.lang.NullPointerException: null
	at bisq.core.arbitration.DisputeManager.getDisputesAsObservableList(DisputeManager.java:1058)
	at bisq.core.notifications.alerts.DisputeMsgEvents.<init>(DisputeMsgEvents.java:49)
	at bisq.core.notifications.alerts.DisputeMsgEvents$$FastClassByGuice$$c5d7e8c1.newInstance(<generated>)
	at com.google.inject.internal.DefaultConstructionProxyFactory$FastClassProxy.newInstance(DefaultConstructionProxyFactory.java:89)
	at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:111)
	at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:90)
	at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:268)
	at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
	at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1092)
	at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
	at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:194)
	at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)
	at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)
	at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)
	at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:110)
	at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:90)
	at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:268)
	at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
	at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1092)
	at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
	at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:194)
	at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)
	at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)
	at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)
	at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:110)
	at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:90)
	at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:268)
	at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)
	at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)
	at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:110)
	at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:90)
	at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:268)
	at com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:1019)
	at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1085)
	at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:1015)
	... 26 common frames omitted

bisq.desktop.common.ViewfxException: Failed to load view from FXML file at [jar:file:/root/bisq-desktop/build/libs/bisq-desktop-0.8.0-all.jar!/bisq/desktop/main/MainView.fxml]
	at bisq.desktop.common.fxml.FxmlViewLoader.loadFromFxml(FxmlViewLoader.java:109)
	at bisq.desktop.common.fxml.FxmlViewLoader.load(FxmlViewLoader.java:88)
	at bisq.desktop.common.view.CachingViewLoader.load(CachingViewLoader.java:39)
	at bisq.desktop.app.BisqApp.loadMainView(BisqApp.java:240)
	at bisq.desktop.app.BisqApp.startApplication(BisqApp.java:120)
	at bisq.desktop.app.BisqAppMain.startApplication(BisqAppMain.java:121)
	at bisq.core.app.BisqExecutable.onApplicationLaunched(BisqExecutable.java:181)
	at bisq.desktop.app.BisqAppMain.onApplicationLaunched(BisqAppMain.java:89)
	at com.sun.javafx.application.PlatformImpl.lambda$null$172(PlatformImpl.java:295)
	at java.security.AccessController.doPrivileged(Native Method)
	at com.sun.javafx.application.PlatformImpl.lambda$runLater$173(PlatformImpl.java:294)
	at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
	at com.sun.glass.ui.gtk.GtkApplication._runLoop(Native Method)
	at com.sun.glass.ui.gtk.GtkApplication.lambda$null$48(GtkApplication.java:139)
	at java.lang.Thread.run(Thread.java:748)
Caused by: javafx.fxml.LoadException: 
file:/root/bisq-desktop/build/libs/bisq-desktop-0.8.0-all.jar!/bisq/desktop/main/MainView.fxml:21

	at javafx.fxml.FXMLLoader.constructLoadException(FXMLLoader.java:2601)
	at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:2579)
	at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:2441)
	at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2409)
	at bisq.desktop.common.fxml.FxmlViewLoader.loadFromFxml(FxmlViewLoader.java:99)
	... 14 common frames omitted
Caused by: com.google.inject.ProvisionException: Unable to provision, see the following errors:

1) Error injecting constructor, java.lang.NullPointerException
  at bisq.core.notifications.alerts.DisputeMsgEvents.<init>(DisputeMsgEvents.java:44)
  at bisq.core.CoreModule.configure(CoreModule.java:124) (via modules: bisq.desktop.app.BisqAppModule -> bisq.core.CoreModule)
  while locating bisq.core.notifications.alerts.DisputeMsgEvents
    for the 29th parameter of bisq.core.app.BisqSetup.<init>(BisqSetup.java:218)
  at bisq.core.CoreModule.configure(CoreModule.java:82) (via modules: bisq.desktop.app.BisqAppModule -> bisq.core.CoreModule)
  while locating bisq.core.app.BisqSetup
    for the 1st parameter of bisq.desktop.main.MainViewModel.<init>(MainViewModel.java:143)
  while locating bisq.desktop.main.MainViewModel
    for the 1st parameter of bisq.desktop.main.MainView.<init>(MainView.java:157)
  while locating bisq.desktop.main.MainView

1 error
	at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:1028)
	at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1054)
	at bisq.desktop.common.view.guice.InjectorViewFactory.call(InjectorViewFactory.java:37)
	at bisq.desktop.common.view.guice.InjectorViewFactory.call(InjectorViewFactory.java:26)
	at javafx.fxml.FXMLLoader$ValueElement.processAttribute(FXMLLoader.java:929)
	at javafx.fxml.FXMLLoader$InstanceDeclarationElement.processAttribute(FXMLLoader.java:971)
	at javafx.fxml.FXMLLoader$Element.processStartElement(FXMLLoader.java:220)
	at javafx.fxml.FXMLLoader$ValueElement.processStartElement(FXMLLoader.java:744)
	at javafx.fxml.FXMLLoader.processStartElement(FXMLLoader.java:2707)
	at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:2527)
	... 17 common frames omitted
Caused by: java.lang.NullPointerException: null
	at bisq.core.arbitration.DisputeManager.getDisputesAsObservableList(DisputeManager.java:1058)
	at bisq.core.notifications.alerts.DisputeMsgEvents.<init>(DisputeMsgEvents.java:49)
	at bisq.core.notifications.alerts.DisputeMsgEvents$$FastClassByGuice$$c5d7e8c1.newInstance(<generated>)
	at com.google.inject.internal.DefaultConstructionProxyFactory$FastClassProxy.newInstance(DefaultConstructionProxyFactory.java:89)
	at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:111)
	at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:90)
	at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:268)
	at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
	at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1092)
	at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
	at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:194)
	at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)
	at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)
	at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)
	at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:110)
	at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:90)
	at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:268)
	at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
	at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1092)
	at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
	at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:194)
	at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)
	at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)
	at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)
	at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:110)
	at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:90)
	at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:268)
	at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)
	at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)
	at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:110)
	at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:90)
	at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:268)
	at com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:1019)
	at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1085)
	at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:1015)
	... 26 common frames omitted
Oct-19 16:07:59.009 [JavaFX Application Thread] WARN  b.d.app.BisqApp: Scene not available yet, we create a new scene. The bug might be caused by an exception in a constructor or by a circular dependency in Guice. throwable=bisq.desktop.common.ViewfxException: Failed to load view from FXML file at [jar:file:/root/bisq-desktop/build/libs/bisq-desktop-0.8.0-all.jar!/bisq/desktop/main/MainView.fxml] 
```

-- 
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/1791
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20181019/ddf640d8/attachment-0001.html>


More information about the bisq-github mailing list