CyanogenMod/android_frameworks_base — pull request #6 by marcosemiao (2013-02-01 10:14:15+00:00)
Title: Gingerbread scan network

I also have the same problem with my Sony Xperia X8, looking for a little I found that ril library in C + + for my phone returned 5 information by network instead of 4 for the other telephones. The error you get is at the time of processing the data layer C + + to Java layer that supports only 4 per network information if this number is not met, the exception described in this post is recovered . I am inspired by the implementation SemcRIL.java to create another implementation to handle this case.
That's two weeks I use this on my phone and the network search and manual function works.

I want to clarify that I only tested this patch on my phone Xperia X8 (in French Bouygues Telecom phone) under CM7.