I have an android 3.0 project and associated test project that have
been under development for a few months. We are currently testing via
maven, but we see the same thing using eclipse or intellij IDEA. When
we run the tests, we randomly see errors like the following:


com.xxx.apps.select.test.endtoend.FacebookShareTest:.INSTRUMENTATION_RESULT:
shortMsg=android.content.res.Resources$NotFoundException
INSTRUMENTATION_RESULT: longMsg=android.content.res.Resources
$NotFoundException: Resource ID #0x7f03000b
INSTRUMENTATION_CODE: 0

Interestingly, the missing resource is typically the same resource and
occurs about half way through the running of the tests. That resource
does exist, as it is defined:


>grep -r 0x7f03000b application
application/target/generated-sources/r/com/xx/apps/select/
R.java:        public static final int tab_container=0x7f03000b;

Also, that resource is the main container used by a tab interface. It
seems that if the resource was really gone there's no way the previous
tests could pass.

I've run the tests about 10 times in the last hour and I've gotten
that failure about 6 times even though the code hasn't changed at all.

Does anyone have suggestions to debug and/or fix?

Mike

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to