Closed GoogleCodeExporter closed 9 years ago
Thanks for reporting this. Can you please try this scenario on the Jelly Bean
emulator? Just to rule out that it is not a device specific issue.
Original comment by renasr...@gmail.com
on 9 Aug 2012 at 12:11
So I tried that with another Nexus S device [unfortunately I don't have any
other available on 4.1] and issue persists
Then I tried that with 4.1 simulator and still the same
Original comment by vladimir...@qnective.com
on 9 Aug 2012 at 2:33
Can you send me a sample app that displays this behavior?
Original comment by renasr...@gmail.com
on 9 Aug 2012 at 9:10
unfortunately I cannot - I cannot share with you the application and it is out
of my possibilities to create similar one :-(
On the other hand I can send you all information I can gather [like memory
stack and so on...] - just let me know what exactly you need and how I can
obtain them
Original comment by vladimir...@qnective.com
on 10 Aug 2012 at 7:17
I will try to reproduce it my self with the applications that I have. Will get
back to you if I am not able to successfully reproduce the issue.
Original comment by renasr...@gmail.com
on 10 Aug 2012 at 7:23
Was not able to reproduce this issue with other applications. Will open up if a
sample app can be provided that exhibits this issue.
Original comment by renasr...@gmail.com
on 11 Oct 2012 at 5:08
I think I have the same problem, but with a different function. When I use
searchText("String") on a 2.3.3-4.0 device it works as expected, but when I run
the same test on a 4.1 device I get the following error "Test run failed:
Instrumentation run failed due to 'java.lang.IllegalStateException'"
Is this caused by something in Robotium? I havent seen anything different from
4.0 to 4.1 android sdk that would cause this.
Original comment by JeffreyR...@gmail.com
on 25 Oct 2012 at 3:54
Can you please paste the stack trace?
Original comment by renasr...@gmail.com
on 25 Oct 2012 at 3:55
Just a note, this happens on 3.4.1 and 3.5.1 robotium versions (those are the
two I have tested)
10-25 08:04:01.950: E/AndroidRuntime(15858): FATAL EXCEPTION: main
10-25 08:04:01.950: E/AndroidRuntime(15858): java.lang.IllegalStateException:
Fragment LookFragment{4187f558} not attached to Activity
10-25 08:04:01.950: E/AndroidRuntime(15858): at
android.support.v4.app.Fragment.getResources(Fragment.java:551)
10-25 08:04:01.950: E/AndroidRuntime(15858): at
android.support.v4.app.Fragment.getString(Fragment.java:573)
10-25 08:04:01.950: E/AndroidRuntime(15858): at
com.digimarc.corvallis.lookmodestates.StartState$1.run(StartState.java:45)
10-25 08:04:01.950: E/AndroidRuntime(15858): at
android.os.Handler.handleCallback(Handler.java:615)
10-25 08:04:01.950: E/AndroidRuntime(15858): at
android.os.Handler.dispatchMessage(Handler.java:92)
10-25 08:04:01.950: E/AndroidRuntime(15858): at
android.os.Looper.loop(Looper.java:137)
10-25 08:04:01.950: E/AndroidRuntime(15858): at
android.app.ActivityThread.main(ActivityThread.java:4745)
10-25 08:04:01.950: E/AndroidRuntime(15858): at
java.lang.reflect.Method.invokeNative(Native Method)
10-25 08:04:01.950: E/AndroidRuntime(15858): at
java.lang.reflect.Method.invoke(Method.java:511)
10-25 08:04:01.950: E/AndroidRuntime(15858): at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786)
10-25 08:04:01.950: E/AndroidRuntime(15858): at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
10-25 08:04:01.950: E/AndroidRuntime(15858): at
dalvik.system.NativeStart.main(Native Method)
Original comment by JeffreyR...@gmail.com
on 25 Oct 2012 at 4:08
Can you please test with robotium 3.3?
Den 25 okt 2012 18:08 skrev <robotium@googlecode.com>:
Original comment by renasr...@gmail.com
on 25 Oct 2012 at 4:49
It fails on 3.3 as well
Original comment by JeffreyR...@gmail.com
on 25 Oct 2012 at 5:04
It seems like anything that extends something from actionbarsherlock on 4.1 is
the problem. My preferences extend SherlockPreferenceActivity and my about
screen extends SherlockActivity. Is there anything I can provide to help?
Original comment by JeffreyR...@gmail.com
on 25 Oct 2012 at 5:10
I agree. Your issue is due to actionbarsherlock not being fully compatible with
4.1.
Original comment by renasr...@gmail.com
on 26 Oct 2012 at 4:49
Original issue reported on code.google.com by
vladimir...@qnective.com
on 9 Aug 2012 at 12:00