Java Exception Error When Attempting to Add New Connection for Online Banking

Sarah's Avatar


24 Jan, 2010 10:15 PM

I downloaded Moneydance yesterday (Linux x86 processor, includes Java) and am running it on Ubuntu 7.10. When I attempt to set up online banking by choosing "New Connection" in the Online Banking Signup window, I get the following error:

I'm not sure if it's related, but when I initially start Moneydance and am prompted to sign up for Moneydance News, I also get an error that says:

Moneydance was unable to contact the registration server. Please try again later.

I was able to successfully enter my registration key but I'm not sure if there was some other step I missed in making a connection with Moneydance.


  1. 1 Posted by ljb on 25 Jan, 2010 01:43 AM

    ljb's Avatar

    That sounds like a DNS (hostname lookup) error.

    Is that same PC able to reach the web site from a browser?

    If you type at a command line: dig
    does it respond with an ANSWER Section and an IP Address?

    Any unusual firewall setup on that PC?

    The registration key thing is all local, so that would work even if you had no network connection at all.

  2. 2 Posted by ljb on 25 Jan, 2010 01:45 AM

    ljb's Avatar

    Oops, one other thought. Ubuntu 7.10 is kind of old so your Java version could be the problem too. What does Help > About Moneydance say about Java? Hopefully it is 1.6_something.

  3. 3 Posted by Sarah on 25 Jan, 2010 03:41 AM

    Sarah's Avatar

    Yep, I can reach and yes, I get an ANSWER and IP when I dig I have no particular firewall setup that I know of, just whatever (if any) defaults exist on my wireless router and cable modem. My Java version is 1.6.0_16.

    I'm not opposed to upgrading Ubuntu, just lazy. :-) If you think that would help, I can try it...


  4. 4 Posted by ljb on 25 Jan, 2010 03:26 PM

    ljb's Avatar

    Your Java version is up to date, so I really doubt the Ubuntu version itself is the problem. I'm at a loss here, so I'll list what I know and hope somebody else can add.

    I know 3 places where MD tries to contact If you register for news, if you try to create a new connection for online banking and don't use manual setup, and if you ask it for a list of available extensions (Extensions > Add). You got your error on 2 of those, and I'm sure you would get it on the third, too.

    The error you saw has been reported by others, but only when trying to connect to a bank where MD has out-of-date information. No reports of it to in these forums.

    But here is someone with the same problem with Moneydance on Ubuntu 8.04:
    Probably won't help - says it fixed itself...

  5. 5 Posted by Sarah on 26 Jan, 2010 02:58 PM

    Sarah's Avatar

    I went ahead and upgraded to Ubuntu 9.04, checking after each step up to if I could connect to Moneydance yet, but still no luck, still getting the same error.

  6. 6 Posted by ljb on 26 Jan, 2010 07:19 PM

    ljb's Avatar

    Just to be sure, when you say your Java version is 1.6.0_16, you do mean that's what Moneydance reports with Help > About Moneydance, right? I'm only asking because I've heard issues with having multiple versions of Java installed, and the wrong one gets used. (You said you downloaded the version with Java included, so I would hope it is using that version.)

    I found more references to Java hostname resolution errors with Ubuntu and similar Linux distributions. There are a few fixes suggested, but here is one you can try without much risk: edit the file /etc/nsswitch.conf (you will have to do this as root with something like gksudo). The line that starts "hosts" controls hostname resolution. What you want to do is move the "dns" word up towards the front, before the mdns4 words, so the line ends up looking like this:

     hosts:   files dns mdns4_minimal [NOTFOUND=return] mdns4

    Apparently the problem was with the MDNS4 resolver and specific to Java applications, and moving DNS up in priority fixed it. Try that and see if it helps.

  7. 7 Posted by Jon Hoover on 26 Jan, 2010 07:38 PM

    Jon Hoover's Avatar

    Sarah, I think ljb is giving you excellent advice. I will be keeping an eye on this discussion thread to see if I can lend any assistance as well.
    Jon Hoover, Moneydance Support

  8. 8 Posted by Sarah on 27 Jan, 2010 04:57 AM

    Sarah's Avatar

    Yes! Swapping the order definitely fixed it!

    Thanks so much for your help, a million thanks!

  9. 9 Posted by Angie Rauscher on 27 Jan, 2010 02:52 PM

    Angie Rauscher's Avatar


    Glad to hear it! Please let us know if we can be of further assistance,

    Angie Rauscher
    Moneydance Support

  10. Angie Rauscher closed this discussion on 27 Jan, 2010 02:55 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac