Check Server Output & Tomcat Output for any clues?
If the mobile version is getting the error, but the big screen is not, there's 2 DIFFERENT queries executing, isn't there?
A different "mobile" VP is being selected for the iPhone.
So maybe THAT query has a typo in it thats making it crap out, and it will show up in the Output window.
Another thing to try is running the Web Inspect command, and switching to the mobile emulator.
Log in in that mode - saves you from hassling with the phone and should give you identical results.