The thread below will show you how to get it charging again without the smarts working, but if there's an actual physical problem causing the self-test failure, it might not help.
http://www.mynissanleaf.com/viewtopic.php?f=4&t=3279" onclick="window.open(this.href);return false;