I typically advise people to pass the bar and be admitted before filing bankruptcy because then you are not required to disclose the bankruptcy to the bar. However, if you have no choice, while you must disclose the bankruptcy to the bar, it is unlikely that this will stop you from being admitted. To help you to see your situation more clearly, I would recommend participating in pre-bankruptcy credit counseling to give you an objective look at your financial situation. Hope this perspective helps!
While it won't help you, it may help others reading this - cashing out a 401(k) is the worst thing to do before bankruptcy. It is 100% exempt (up to one million plus), and certainly would make a fresh start better. Your bankruptcy should not be a barrier to bar admittance, unless you ran up your debt just before filing.
You wrote, "How will filing bankruptcy affect my moral character application ... [I] will sit for the CA Bar in Feb 2015 ."
I cannot perceive how the lawful exercise of your rights under Federal law would taint your moral character for a State license.