Has anyone else had findViewById(R.id.xyz) return null? I have an app that does it. Not all the time, but with a specific TextView and EditView I just added, I always get null when I call findViewById for that object in the onCreate of my main activity. I've resorted to wrapping latter uses of that variable in if statements that call findViewById again if it's null. This works for the TextView in question, but the EditView always comes up null.
It seems like this should be impossible since I'm using an ID from R, which the SDK itself generated. It also seems like it just shouldn't compile is there were typos in my XML or Java (i.e. xyz wouldn't match anything generated in R.)
The first time this happened ran `ant uninstall; ant clean; ant install` and it went away, but it happened again with a new EditView and I can't findViewById to get a handle for this object. The object DOES appear on the screen just fine though.
I'm willing to deal with a few bugs on a new platform, but this one seems quite awful. Any hints on secret debugging or how to get Google's attention about such things.