[bisq-network/bisq] Increase trade limit. Make trade limit a DAO parameter (#2413)

Christoph Atteneder notifications at github.com
Wed Feb 13 09:24:38 UTC 2019


Starting with an existing client throws following error in the background:
```
Feb.-13 10:23:08.431 [JavaFX Application Thread] ERROR b.common.storage.FileManager: Exception at proto read: tradeLimits must not be null file:/Users/christoph/Library/Application Support/bisq-BTC_REGTEST_Bob_dao/btc_regtest/db/UserPayload java.lang.NullPointerException: tradeLimits must not be null
	at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:787)
	at bisq.core.payment.payload.PaymentMethod.getAllValues(PaymentMethod.java:161)
	at bisq.core.payment.payload.PaymentMethod.getPaymentMethodById(PaymentMethod.java:272)
	at bisq.core.payment.PaymentAccount.fromProto(PaymentAccount.java:102)
	at bisq.core.user.UserPayload.lambda$fromProto$15(UserPayload.java:117)
	at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195)
	at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1492)
	at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
	at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
	at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913)
	at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
	at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:578)
	at bisq.core.user.UserPayload.fromProto(UserPayload.java:118)
	at bisq.core.proto.persistable.CorePersistenceProtoResolver.fromProto(CorePersistenceProtoResolver.java:105)
	at bisq.common.storage.FileManager.read(FileManager.java:126)
	at bisq.common.storage.Storage.getPersisted(Storage.java:153)
	at bisq.common.storage.Storage.initAndGetPersistedWithFileName(Storage.java:85)
	at bisq.core.user.User.readPersisted(User.java:91)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1378)
	at bisq.common.proto.persistable.PersistedDataHost.apply(PersistedDataHost.java:26)
	at bisq.core.app.BisqExecutable.setupPersistedDataHosts(BisqExecutable.java:253)
	at bisq.desktop.app.BisqAppMain.setupPersistedDataHosts(BisqAppMain.java:122)
	at bisq.core.app.BisqExecutable.applyInjector(BisqExecutable.java:238)
	at bisq.desktop.app.BisqAppMain.applyInjector(BisqAppMain.java:114)
	at bisq.core.app.BisqExecutable.setupGuice(BisqExecutable.java:224)
	at bisq.core.app.BisqExecutable.onApplicationLaunched(BisqExecutable.java:212)
	at bisq.desktop.app.BisqAppMain.onApplicationLaunched(BisqAppMain.java:99)
	at com.sun.javafx.application.PlatformImpl.lambda$runLater$10(PlatformImpl.java:428)
	at java.base/java.security.AccessController.doPrivileged(Native Method)
	at com.sun.javafx.application.PlatformImpl.lambda$runLater$11(PlatformImpl.java:427)
	at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:96)

java.lang.NullPointerException: tradeLimits must not be null
	at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:787)
	at bisq.core.payment.payload.PaymentMethod.getAllValues(PaymentMethod.java:161)
	at bisq.core.payment.payload.PaymentMethod.getPaymentMethodById(PaymentMethod.java:272)
	at bisq.core.payment.PaymentAccount.fromProto(PaymentAccount.java:102)
	at bisq.core.user.UserPayload.lambda$fromProto$15(UserPayload.java:117)
	at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195)
	at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1492)
	at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
	at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
	at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913)
	at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
	at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:578)
	at bisq.core.user.UserPayload.fromProto(UserPayload.java:118)
	at bisq.core.proto.persistable.CorePersistenceProtoResolver.fromProto(CorePersistenceProtoResolver.java:105)
	at bisq.common.storage.FileManager.read(FileManager.java:126)
	at bisq.common.storage.Storage.getPersisted(Storage.java:153)
	at bisq.common.storage.Storage.initAndGetPersistedWithFileName(Storage.java:85)
	at bisq.core.user.User.readPersisted(User.java:91)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1378)
	at bisq.common.proto.persistable.PersistedDataHost.apply(PersistedDataHost.java:26)
	at bisq.core.app.BisqExecutable.setupPersistedDataHosts(BisqExecutable.java:253)
	at bisq.desktop.app.BisqAppMain.setupPersistedDataHosts(BisqAppMain.java:122)
	at bisq.core.app.BisqExecutable.applyInjector(BisqExecutable.java:238)
	at bisq.desktop.app.BisqAppMain.applyInjector(BisqAppMain.java:114)
	at bisq.core.app.BisqExecutable.setupGuice(BisqExecutable.java:224)
	at bisq.core.app.BisqExecutable.onApplicationLaunched(BisqExecutable.java:212)
	at bisq.desktop.app.BisqAppMain.onApplicationLaunched(BisqAppMain.java:99)
	at com.sun.javafx.application.PlatformImpl.lambda$runLater$10(PlatformImpl.java:428)
	at java.base/java.security.AccessController.doPrivileged(Native Method)
	at com.sun.javafx.application.PlatformImpl.lambda$runLater$11(PlatformImpl.java:427)
	at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:96)
```

-- 
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/pull/2413#issuecomment-463123123
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20190213/47efb0a9/attachment-0001.html>


More information about the bisq-github mailing list