bisq-network / bisq2

GNU Affero General Public License v3.0
197 stars 69 forks source link

Illegal Argument Exception for Spanish #3026

Closed nigan1 closed 5 days ago

nigan1 commented 1 week ago

Just by opening the program and trying to browse the available orders I get that error. I tried on two different computers, win10 and win11, I got the same error

I just tried a suggestion that was given to me in the Telegram group, the problem is the Spanish language, I changed to English and everything works wonderfully

Versión de Bisq: Versión: v2.1.2 / Hash del commit: addaf760c
Sistema operativo: win / x86_64 / 64 v.10.0
Mensaje de error:
java.lang.IllegalArgumentException: Unmatched braces in the pattern.
    at java.base/java.text.MessageFormat.applyPatternImpl(MessageFormat.java:556)
    at java.base/java.text.MessageFormat.<init>(MessageFormat.java:383)
    at java.base/java.text.MessageFormat.format(MessageFormat.java:898)
    at bisq.i18n.Res.get(Res.java:67)
    at bisq.desktop.main.content.bisq_easy.BisqEasyServiceUtil.getFormattedPriceSpec(BisqEasyServiceUtil.java:120)
    at bisq.desktop.main.content.bisq_easy.BisqEasyServiceUtil.createBasicOfferBookMessage(BisqEasyServiceUtil.java:72)
    at bisq.desktop.main.content.chat.message_container.list.ChatMessageListItem.getLocalizedOfferBookMessage(ChatMessageListItem.java:320)
    at bisq.desktop.main.content.chat.message_container.list.ChatMessageListItem.<init>(ChatMessageListItem.java:161)
    at bisq.desktop.main.content.chat.message_container.list.ChatMessagesListController.lambda$bindChatMessages$32(ChatMessagesListController.java:636)
    at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:212)
    at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:194)
    at java.base/java.util.concurrent.CopyOnWriteArrayList$COWIterator.forEachRemaining(CopyOnWriteArrayList.java:1236)
    at java.base/java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1939)
    at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:556)
    at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:546)
    at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:921)
    at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:265)
    at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:702)
    at bisq.desktop.main.content.chat.message_container.list.ChatMessagesListController.bindChatMessages(ChatMessagesListController.java:645)
    at bisq.desktop.main.content.chat.message_container.list.ChatMessagesListController.lambda$selectedChannelChanged$6(ChatMessagesListController.java:200)
    at bisq.desktop.common.threading.UIThread.run(UIThread.java:27)
    at bisq.desktop.main.content.chat.message_container.list.ChatMessagesListController.selectedChannelChanged(ChatMessagesListController.java:185)
    at bisq.common.observable.Observable.addObserver(Observable.java:42)
    at bisq.desktop.main.content.chat.message_container.list.ChatMessagesListController.onActivate(ChatMessagesListController.java:136)
    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:192)
    at com.sun.javafx.binding.ExpressionHelper.fireValueChangedEvent(ExpressionHelper.java:91)
    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:1047)
    at javafx.scene.Node.invalidatedScenes(Node.java:1098)
    at javafx.scene.Node.setScenes(Node.java:1136)
    at javafx.scene.Parent.scenesChanged(Parent.java:773)
    at javafx.scene.Node.invalidatedScenes(Node.java:1069)
    at javafx.scene.Node.setScenes(Node.java:1136)
    at javafx.scene.Parent.scenesChanged(Parent.java:773)
    at javafx.scene.Node.invalidatedScenes(Node.java:1069)
    at javafx.scene.Node.setScenes(Node.java:1136)
    at javafx.scene.Parent.scenesChanged(Parent.java:773)
    at javafx.scene.Node.invalidatedScenes(Node.java:1069)
    at javafx.scene.Node.setScenes(Node.java:1136)
    at javafx.scene.Parent.scenesChanged(Parent.java:773)
    at javafx.scene.Node.invalidatedScenes(Node.java:1069)
    at javafx.scene.Node.setScenes(Node.java:1136)
    at javafx.scene.Parent.scenesChanged(Parent.java:773)
    at javafx.scene.Node.invalidatedScenes(Node.java:1069)
    at javafx.scene.Node.setScenes(Node.java:1136)
    at javafx.scene.Parent.scenesChanged(Parent.java:773)
    at javafx.scene.Node.invalidatedScenes(Node.java:1069)
    at javafx.scene.Node.setScenes(Node.java:1136)
    at javafx.scene.Parent.scenesChanged(Parent.java:773)
    at javafx.scene.Node.invalidatedScenes(Node.java:1069)
    at javafx.scene.Node.setScenes(Node.java:1136)
    at javafx.scene.Parent$2.onChanged(Parent.java:373)
    at com.sun.javafx.collections.TrackableObservableList.lambda$new$0(TrackableObservableList.java:44)
    at com.sun.javafx.collections.ListListenerHelper$Generic.fireValueChangedEvent(ListListenerHelper.java:327)
    at com.sun.javafx.collections.ListListenerHelper.fireValueChangedEvent(ListListenerHelper.java:71)
    at javafx.collections.ObservableListBase.fireChange(ObservableListBase.java:246)
    at javafx.collections.ListChangeBuilder.commit(ListChangeBuilder.java:482)
    at javafx.collections.ListChangeBuilder.endChange(ListChangeBuilder.java:541)
    at javafx.collections.ObservableListBase.endChange(ObservableListBase.java:210)
    at javafx.collections.ModifiableObservableListBase.setAll(ModifiableObservableListBase.java:102)
    at com.sun.javafx.collections.VetoableListDecorator.setAll(VetoableListDecorator.java:119)
    at com.sun.javafx.collections.VetoableListDecorator.setAll(VetoableListDecorator.java:110)
    at javafx.scene.control.skin.ScrollPaneSkin.lambda$new$0(ScrollPaneSkin.java:285)
    at com.sun.javafx.scene.control.ListenerHelper$4.changed(ListenerHelper.java:212)
    at com.sun.javafx.binding.ExpressionHelper$SingleChange.fireValueChangedEvent(ExpressionHelper.java:192)
    at com.sun.javafx.binding.ExpressionHelper.fireValueChangedEvent(ExpressionHelper.java:91)
    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 javafx.scene.control.ScrollPane.setContent(ScrollPane.java:200)
    at bisq.desktop.common.view.TabView.setNewContent(TabView.java:155)
    at bisq.desktop.common.view.TabView.lambda$onChildView$7(TabView.java:143)
    at bisq.desktop.common.Transitions.lambda$slideOutHorizontal$1(Transitions.java:175)
    at javafx.animation.Animation.runHandler(Animation.java:1167)
    at javafx.animation.Animation.finished(Animation.java:1161)
    at javafx.animation.AnimationAccessorImpl.finished(AnimationAccessorImpl.java:49)
    at com.sun.scenario.animation.shared.SingleLoopClipEnvelope.timePulse(SingleLoopClipEnvelope.java:107)
    at javafx.animation.Animation.doTimePulse(Animation.java:1254)
    at javafx.animation.Animation$1.lambda$timePulse$0(Animation.java:208)
    at java.base/java.security.AccessController.doPrivileged(AccessController.java:400)
    at javafx.animation.Animation$1.timePulse(Animation.java:207)
    at com.sun.scenario.animation.AbstractPrimaryTimer.timePulseImpl(AbstractPrimaryTimer.java:343)
    at com.sun.scenario.animation.AbstractPrimaryTimer$MainLoop.run(AbstractPrimaryTimer.java:266)
    at com.sun.javafx.tk.quantum.QuantumToolkit.pulse(QuantumToolkit.java:594)
    at com.sun.javafx.tk.quantum.QuantumToolkit.pulse(QuantumToolkit.java:578)
    at com.sun.javafx.tk.quantum.QuantumToolkit.pulseFromQueue(QuantumToolkit.java:571)
    at com.sun.javafx.tk.quantum.QuantumToolkit.lambda$runToolkit$11(QuantumToolkit.java:352)
    at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
    at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
    at com.sun.glass.ui.win.WinApplication.lambda$runLoop$3(WinApplication.java:184)
    at java.base/java.lang.Thread.run(Thread.java:1570)