Owing to their poverty (and immediate need for cash) farmers are often driven to a distressed sale of their produce. But good harvest causes a glut (of supply) in the market. This causes a price-crash. The price may fall so much that the total revenue of the farmer decreases even when his output/sale is more than before.