Closed polishboi closed 5 months ago
I suspect that its solved by other bugfixes in that area. If you are a dev and able to run from source code, could you try the latest main branch to see if it still happens?
version 2.0.2 is out as pre-release. Can you try out with that if you get that error again? https://github.com/bisq-network/bisq2/releases/v2.0.2
Yes, still happens in 2.0.2 but it works for some.
Here's the error from logs
kwi-11 12:57:16.562 [JavaFX Application Thread] ERROR b.d.DesktopController: Uncaught exception from thread Thread[JavaFX Application Thread,5,main]
kwi-11 12:57:16.562 [JavaFX Application Thread] ERROR b.d.DesktopController: Uncaught exception: java.lang.NullPointerException: Cannot invoke "bisq.common.monetary.Monetary.getPrecision()" because "amount" is null
at bisq.presentation.formatters.AmountFormatter.getDecimalFormat(AmountFormatter.java:93)
at bisq.presentation.formatters.AmountFormatter.formatAmount(AmountFormatter.java:61)
at bisq.presentation.formatters.AmountFormatter.formatAmount(AmountFormatter.java:53)
at bisq.desktop.main.content.bisq_easy.take_offer.review.TakeOfferReviewController.onActivate(TakeOfferReviewController.java:268)
at bisq.desktop.common.view.Controller.onActivateInternal(Controller.java:31)
at bisq.desktop.common.view.View.onViewAttachedPrivate(View.java:100)
at bisq.desktop.common.view.View.handleSceneChange(View.java:55)
at bisq.desktop.common.view.View.lambda$new$0(View.java:47)
at com.sun.javafx.binding.ExpressionHelper$SingleChange.fireValueChangedEvent(ExpressionHelper.java:181)
at com.sun.javafx.binding.ExpressionHelper.fireValueChangedEvent(ExpressionHelper.java:80)
at javafx.beans.property.ReadOnlyObjectPropertyBase.fireValueChangedEvent(ReadOnlyObjectPropertyBase.java:80)
at javafx.beans.property.ReadOnlyObjectWrapper.fireValueChangedEvent(ReadOnlyObjectWrapper.java:102)
at javafx.scene.Node$ReadOnlyObjectWrapperManualFire.fireSuperValueChangedEvent(Node.java:1046)
at javafx.scene.Node.invalidatedScenes(Node.java:1097)
at javafx.scene.Node.setScenes(Node.java:1135)
at javafx.scene.Parent$2.onChanged(Parent.java:372)
at com.sun.javafx.collections.TrackableObservableList.lambda$new$0(TrackableObservableList.java:45)
at com.sun.javafx.collections.ListListenerHelper$Generic.fireValueChangedEvent(ListListenerHelper.java:329)
at com.sun.javafx.collections.ListListenerHelper.fireValueChangedEvent(ListListenerHelper.java:73)
at javafx.collections.ObservableListBase.fireChange(ObservableListBase.java:239)
at javafx.collections.ListChangeBuilder.commit(ListChangeBuilder.java:482)
at javafx.collections.ListChangeBuilder.endChange(ListChangeBuilder.java:541)
at javafx.collections.ObservableListBase.endChange(ObservableListBase.java:211)
at javafx.collections.ModifiableObservableListBase.setAll(ModifiableObservableListBase.java:98)
at com.sun.javafx.collections.VetoableListDecorator.setAll(VetoableListDecorator.java:116)
at com.sun.javafx.collections.VetoableListDecorator.setAll(VetoableListDecorator.java:108)
at bisq.desktop.main.content.bisq_easy.take_offer.TakeOfferView.lambda$new$0(TakeOfferView.java:119)
at com.sun.javafx.binding.ExpressionHelper$SingleChange.fireValueChangedEvent(ExpressionHelper.java:181)
at com.sun.javafx.binding.ExpressionHelper.fireValueChangedEvent(ExpressionHelper.java:80)
at javafx.beans.property.ObjectPropertyBase.fireValueChangedEvent(ObjectPropertyBase.java:106)
at javafx.beans.property.ObjectPropertyBase.markInvalid(ObjectPropertyBase.java:113)
at javafx.beans.property.ObjectPropertyBase.set(ObjectPropertyBase.java:147)
at bisq.desktop.common.view.NavigationModel.setView(NavigationModel.java:55)
at bisq.desktop.common.view.NavigationController.processNavigationTarget(NavigationController.java:54)
at bisq.desktop.common.view.Navigation.lambda$navigateTo$1(Navigation.java:66)
at java.base/java.util.concurrent.CopyOnWriteArrayList.forEach(CopyOnWriteArrayList.java:807)
at java.base/java.util.concurrent.CopyOnWriteArraySet.forEach(CopyOnWriteArraySet.java:425)
at bisq.desktop.common.view.Navigation.lambda$navigateTo$2(Navigation.java:66)
at java.base/java.util.concurrent.ConcurrentHashMap.forEach(ConcurrentHashMap.java:1603)
at bisq.desktop.common.view.Navigation.navigateTo(Navigation.java:64)
at bisq.desktop.main.content.bisq_easy.take_offer.TakeOfferController.onNext(TakeOfferController.java:230)
at bisq.desktop.main.content.bisq_easy.take_offer.TakeOfferView.lambda$onViewAttached$4(TakeOfferView.java:200)
at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:86)
at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:234)
at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:191)
at com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(CompositeEventDispatcher.java:59)
at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:58)
at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
at com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:74)
at com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:49)
at javafx.event.Event.fireEvent(Event.java:198)
at javafx.scene.Node.fireEvent(Node.java:8792)
at javafx.scene.control.Button.fire(Button.java:203)
at com.sun.javafx.scene.control.behavior.ButtonBehavior.mouseReleased(ButtonBehavior.java:208)
at com.sun.javafx.scene.control.inputmap.InputMap.handle(InputMap.java:274)
at com.sun.javafx.event.CompositeEventHandler$NormalEventHandlerRecord.handleBubblingEvent(CompositeEventHandler.java:247)
at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:80)
at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:234)
at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:191)
at com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(CompositeEventDispatcher.java:59)
at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:58)
at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
at com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:74)
at com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:54)
at javafx.event.Event.fireEvent(Event.java:198)
at javafx.scene.Scene$MouseHandler.process(Scene.java:3897)
at javafx.scene.Scene.processMouseEvent(Scene.java:1878)
at javafx.scene.Scene$ScenePeerListener.mouseEvent(Scene.java:2623)
at com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:411)
at com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:301)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
at com.sun.javafx.tk.quantum.GlassViewEventHandler.lambda$handleMouseEvent$2(GlassViewEventHandler.java:450)
at com.sun.javafx.tk.quantum.QuantumToolkit.runWithoutRenderLock(QuantumToolkit.java:423)
at com.sun.javafx.tk.quantum.GlassViewEventHandler.handleMouseEvent(GlassViewEventHandler.java:449)
at com.sun.glass.ui.View.handleMouseEvent(View.java:551)
at com.sun.glass.ui.View.notifyMouse(View.java:937)
at com.sun.glass.ui.mac.MacView.notifyMouse(MacView.java:127)
kwi-11 12:57:27.637 [NetworkService.dispatcher-0] INFO b.n.p.s.d.i.InventoryRequestService: We are sufficiently connected to start the inventory request. numConnections=17
kwi-11 12:57:28.839 [NetworkService.dispatcher-0
-- This offer works: Quiero VENDER Bitcoin por 100,00 - 200,00 EUR. Método(s) de pago: Bizum, Revolut, SEPA Instant Precio: 4.00% por encima del precio de mercado
The default value is 150 EUR, i see the calculation from EUR to BTC in "TRADE AMOUNT" Screen after clicking "Take offer".
These too work I want to SELL Bitcoin for 350.00 - 579.00 EUR. Payment method(s): SEPA Instant, Wise Price: 58069.60 BTC/EUR. Quiero VENDER Bitcoin por 100,00 - 500,00 EUR. Método(s) de pago: En persona, Depósito en efectivo Precio: 4.00% por encima del precio de mercado
some without ranges work too: Quero VENDI Bitcoin por 60,00 EUR. Método(s) de pagamento: Revolut Preço: Preço de mercado.
Quiero VENDER Bitcoin por 99,00 - 663,00 EUR. Método(s) de pago: Efectivo por correo, Depósito en efectivo, En persona Precio: 9.00% por encima del precio de mercado
--
These don't work I want to SELL Bitcoin for 267.00 - 662.00 EUR. Payment method(s): SEPA, SEPA Instant Price: 3.50% above market price I want to SELL Bitcoin for 50.00 - 75.00 EUR. Payment method(s): Wise, SEPA Price: 4.50% above market price I want to SELL Bitcoin for 42.00 - 651.00 EUR. Payment method(s): Bizum, Wise, SWIFT Price: 3.33% above market price I want to SELL Bitcoin for 6.00 - 81.00 EUR. Payment method(s): F2F Price: 3.00% above market price I want to SELL Bitcoin for 6.00 - 59.00 EUR. Payment method(s): Revolut, Bizum, SEPA Instant Price: 4.00% above market price I want to SELL Bitcoin for 6.00 - 102.00 EUR. Payment method(s): Revolut, Bizum, SEPA Instant Price: 5.00% above market price I want to SELL Bitcoin for 7.00 - 48.00 EUR. Payment method(s): Revolut, Bizum, SEPA Instant Price: 8.00% above market price I want to SELL Bitcoin for 6.00 - 78.00 EUR. Payment method(s): Revolut, Bizum, SEPA Instant Price: 6.00% above market price I want to SELL Bitcoin for 501.00 - 670.00 EUR. Payment method(s): Revolut, Bizum, SEPA Instant Price: 10.00% above market price I want to SELL Bitcoin for 99.66 - 300.00 EUR. Payment method(s): F2F Price: 5.00% above market price I want to SELL Bitcoin for 7.00 - 77.00 EUR. Payment method(s): Revolut, Bizum, SEPA Instant Price: 7.00% above market price I want to SELL Bitcoin for 18.00 - 200.00 EUR. Payment method(s): SEPA Instant Price: 7.00% above market price I want to SELL Bitcoin for 7.00 - 60.00 EUR. Payment method(s): SEPA Instant, Bizum, Revolut, SEPA Price: 8.00% above market price I want to SELL Bitcoin for 7.00 - 300.00 EUR. Payment method(s): SEPA Instant, Bizum, Revolut, SEPA Price: 6.00% above market price I want to SELL Bitcoin for 7.00 - 101.00 EUR. Payment method(s): SEPA Instant, Bizum, Revolut Price: 8.00% above market price I want to SELL Bitcoin for 50.00 - 673.00 EUR. Payment method(s): SEPA Instant, Bizum, Revolut, F2F Price: 9.00% above market price I want to SELL Bitcoin for 10.00 - 450.00 EUR. Payment method(s): SEPA Instant, F2F Price: 8.00% above market price I want to SELL Bitcoin for 176.00 - 530.00 EUR. Payment method(s): Bizum, Revolut, SEPA Instant Price: 6.00% above market price
For these after clicking "Take offer" in "TRADE AMOUNT" I see the default "100 EUR", but no calculation for how much that is in BTC, the slider position is on the leftmost place and moving it does nothing. Proceeding with "Next" takes me to "PAYMENT METHOD" step, after clicking "Next" on that screen I get the error pasted above.
--
This one does not have range, and still doesnt work Ich möchte VERKAUFEN Bitcoin für 117,00 EUR. Zahlungsmethode(n): paypal Preis: Marktpreis.
After clicking "Take offer" I see instantly "REVIEW TRADE" screen with all data blank and "Confirm take offer" green button, and underneath that the same "Error" screen with "Cannot invoke ... getPrecision() because amount is null" error, same as above.
Same for I want to SELL Bitcoin for 99.00 EUR. Payment method(s): SEPA Instant Price: 50.00% above market price I want to SELL Bitcoin for 100.00 EUR. Payment method(s): Revolut Price: 15.00% above market price
After restart of Bisq 2 the list of which offers work and which don't seems to stay the same
This is fixed for next release. It is caused by the language difference of the maker and yourself. Top mitigate with current version you can either change your language to the estimated of the maker or to take another offer in the same language.
Version: v2.0.1 Platform: MacOS Happens for any sell offers that have ranges Seller: L8Knighter [Seemingly-Eruptive-Anecdote-880] EUR USD Seller: Verbist EUR
Firstly the conversion to bitcoin does not appear in this particular trade (all L8Knighter's trades: EUR, USD). Also moving the slider does not change the amount.
I pick the method then get this
I press "Close" then "X" and get this:
Possible duplicate https://github.com/bisq-network/bisq2/issues/1728