This looks really, really strange.
I can see in the code where it fails, but there is no reasonable explanation why it fails.
OK it sounds strange but the following question: did you update your Java runtime recently? If so, did you restart your PC after that? If not, please restart it and try again. Thanks.
Please let me know the outcome. If it does not work, I'll put some additional tracing in-place to see exactly what is going on. It seems the "host" reported by Chrome main tab when launching the browser is not valid.