SocketHandler.listAccounts blindly trusts that an array of File objects is initialized when reading the config data directory. When there is no data directory this results in an NPE as the array remains uninitialized. I tested registering a new account with this fix in place and everything seemed to work well.