Fatal Error After Mass Reindexing

Hi,

We tried installing the magento extension from magento connect and entered the reqd. credentials in magento admin panel, it asked for mass reindexing. On Mass Reindex we are getting below error:
Fatal error: Call to a member function getCode() on a non-object in /public_html/app/code/local/Mage/Directory/Model/Currency.php on line 194

Kindly let us know the root cause and resolution.

Thanks

Hello @virender.sharma,

thank you for the post.
The issue comes from not defined currency rates. In your Magento administration, can you navigate to Configuration > Manage Currency > Rates and there fill all the blank fields with value 1?
If you cannot see any currency on that page, could you add one and set it’s rate to 1?

It’ll solve the indexing issue.