Multibit-Legacy / multibit-hd

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

NPE in filter code #717

Closed jim618 closed 8 years ago

jim618 commented 8 years ago

error report uploaded. Id: ebb9094

MultiBit HD version: 0.1.3 Operating system: 64 6.1 Windows 7

No user notes

Number of stack traces: 4 First stack trace: java.lang.NullPointerException: null at org.multibit.hd.core.utils.DocumentMaxLengthFilter.replace(DocumentMaxLengthFilter.java:36) ~[multibit-hd.jar:na] at javax.swing.text.AbstractDocument.replace(Unknown Source) ~[na:1.7.0_80] at javax.swing.text.JTextComponent.replaceSelection(Unknown Source) ~[na:1.7.0_80] at javax.swing.text.JTextComponent.replaceInputMethodText(Unknown Source) ~[na:1.7.0_80] at javax.swing.text.JTextComponent.processInputMethodEvent(Unknown Source) ~[na:1.7.0_80]

gary-rowe commented 8 years ago

Fixed by means of some defensive programming against unexpected null parameters.

Ready for review and close.

jim618 commented 8 years ago

LGTM. Closing.