Multibit-Legacy / multibit-hd

Deprecated Bitcoin Wallet
https://multibit.org/blog/2017/07/26/multibit-shutdown.html
Other
172 stars 113 forks source link

Request bitcoin screen failure #644

Closed jim618 closed 9 years ago

jim618 commented 9 years ago

"@timestamp": "2015-06-26T18:45:00.310-04:00", "level": "ERROR", "thread_name": "AWT-EventQueue-0", "logger_name": "org.multibit.hd.core.error_reporting.ExceptionHandler", "message": "Uncaught exception", "stack_trace": "java.lang.IllegalStateException: Optional.get() cannot be called on an absent value at com.google.common.base.Absent.get(Absent.java:47) ~[multibit-hd.jar:na] at org.multibit.hd.ui.views.wizards.request_bitcoin.RequestBitcoinEnterDetailsPanelView.newPanelModel(RequestBitcoinEnterDetailsPanelView.java:104) ~[multibit-hd.jar:na] at org.multibit.hd.ui.views.wizards.AbstractWizardPanelView.(AbstractWizardPanelView.java:123) ~[multibit-hd.jar:na] at org.multibit.hd.ui.views.wizards.request_bitcoin.RequestBitcoinEnterDetailsPanelView.(RequestBitcoinEnterDetailsPanelView.java:84) ~[multibit-hd.jar:na] at org.multibit.hd.ui.views.wizards.request_bitcoin.RequestBitcoinWizard.populateWizardViewMap(RequestBitcoinWizard.java:28) ~[multibit-hd.jar:na] at org.multibit.hd.ui.views.wizards.AbstractWizard.(AbstractWizard.java:117) ~[multibit-hd.jar:na] at org.multibit.hd.ui.views.wizards.AbstractWizard.(AbstractWizard.java:80) ~[multibit-hd.jar:na] at org.multibit.hd.ui.views.wizards.request_bitcoin.RequestBitcoinWizard.(RequestBitcoinWizard.java:22) ~[multibit-hd.jar:na] at org.multibit.hd.ui.views.wizards.Wizards.newRequestBitcoinWizard(Wizards.java:177) ~[multibit-hd.jar:na] at org.multibit.hd.ui.views.screens.wallet.SendRequestScreenView$2.actionPerformed(SendRequestScreenView.java:102) ~[multibit-hd.jar:na] at javax.swing.AbstractButton.fireActionPerformed(Unknown Source) ~[na:1.7.0_80] at

jim618 commented 9 years ago

Added in more optional checking. Awaiting code review and closing

gary-rowe commented 9 years ago

Any idea how the user managed to get into the situation where they could access the request button without a WalletService being present?

Either way, this will give a better chance at recovery so closing.