I think you need to enable the server part on your joplin client (on your pc). No idea how it works as I don't use that feature.
Anyways, the crash is a bug. If the client isn't listening a message should be enough. There's no need to crash the whole program