[android-developers] java.lang.IllegalArgumentException: parameter must be a descendant of this view

2012-09-03 Thread Li Sun
Hi,
It is monkey test issue. But I do not know how to fix it. Could someone 
help me?  Thanks a lot!
8-31 21:23:14.339 I/WindowManager(  324): SCREENLAYOUT_SIZE (1:small, 
2:normal, 3:large, 4:xlarge) 2

08-31 21:23:14.349 D/WebSettings( 1904): mDataPath: 
/data/data/com.android.browser

08-31 21:23:14.359 I/BrowserSettings( 1904): the usString=Mozilla/5.0 
MSM7627A/1.0 Linux/3.0.21 Android/4.0.4 Release/11.16.2011 
Browser/AppleWebKit533.1 Profile/ Configuration/ Mobile/4.0.4

08-31 21:23:14.379 D/WebViewTimersControl( 1904): onBrowserActivityResume

08-31 21:23:14.379 D/WebViewTimersControl( 1904): Resuming webview timers, 
view=com.android.browser.BrowserWebView@414dd450

08-31 21:23:14.389 W/InputManagerService(  324): Starting input on 
non-focused client 
com.android.internal.view.IInputMethodClient$Stub$Proxy@4153e7c8 (uid=10005 
pid=1904)

08-31 21:23:14.389 W/InputManagerService(  324): Ignoring showSoftInput of 
uid 10005: com.android.internal.view.IInputMethodClient$Stub$Proxy@414d0c68

08-31 21:23:14.699 W/dalvikvm( 1904): threadid=1: thread exiting with 
uncaught exception (group=0x40a83390)

08-31 21:23:14.719 E/AndroidRuntime( 1904): FATAL EXCEPTION: main

08-31 21:23:14.719 E/AndroidRuntime( 1904):*java.lang.IllegalArgumentException: 
parameter must be a descendant of this 
view*

08-31 21:23:14.719 E/AndroidRuntime( 1904): at 
android.view.ViewGroup.offsetRectBetweenParentAndChild(ViewGroup.java:4153)

08-31 21:23:14.719 E/AndroidRuntime( 1904): at 
android.view.ViewGroup.offsetRectIntoDescendantCoords(ViewGroup.java:4100)

08-31 21:23:14.719 E/AndroidRuntime( 1904): at 
android.view.ViewRootImpl.deliverKeyEventPostIme(ViewRootImpl.java:3400)

08-31 21:23:14.719 E/AndroidRuntime( 1904): at 
android.view.ViewRootImpl.handleFinishedEvent(ViewRootImpl.java:3306)

08-31 21:23:14.719 E/AndroidRuntime( 1904): at 
android.view.ViewRootImpl.handleMessage(ViewRootImpl.java:2466)

08-31 21:23:14.719 E/AndroidRuntime( 1904): at 
android.os.Handler.dispatchMessage(Handler.java:99)

08-31 21:23:14.719 E/AndroidRuntime( 1904): at 
android.os.Looper.loop(Looper.java:137)

08-31 21:23:14.719 E/AndroidRuntime( 1904): at 
android.app.ActivityThread.main(ActivityThread.java:4482)

08-31 21:23:14.719 E/AndroidRuntime( 1904): at 
java.lang.reflect.Method.invokeNative(Native Method)

08-31 21:23:14.719 E/AndroidRuntime( 1904): at 
java.lang.reflect.Method.invoke(Method.java:511)

08-31 21:23:14.719 E/AndroidRuntime( 1904): at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:787)

08-31 21:23:14.719 E/AndroidRuntime( 1904): at 
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:554)

08-31 21:23:14.719 E/AndroidRuntime( 1904): at 
dalvik.system.NativeStart.main(Native Method)

08-31 21:23:14.779 W/ActivityManager(  324):   Force finishing activity 
com.android.browser/.BrowserActivity

08-31 21:23:15.319 W/ActivityManager(  324): Activity pause timeout for 
ActivityRecord{41646298 com.android.browser/.BrowserActivity}

08-31 21:23:15.339 E/Perfman (  324): app.curSchedGroup = 0

08-31 21:23:15.349 I/WindowManager(  324): SCREENLAYOUT_SIZE (1:small, 
2:normal, 3:large, 4:xlarge) 2

08-31 21:23:15.439 I/SendKeyEvent( 3026): 4

08-31 21:23:15.469 D/dalvikvm( 3026): GC_CONCURRENT freed 97K, 83% free 
454K/2560K, paused 1ms+0ms

08-31 21:23:15.899 V/MainScreen( 2903): Main Screen finishing in destroy.

08-31 21:23:15.899 V/MainScreen( 2903): releaseScreen() invoked.

08-31 21:23:15.909 V/ApplicationManager( 2903): setCurrentActivity invoked.

08-31 21:23:15.909 V/MainScreen( 2903): call checkAndTerminateApplication() 
from MainScreen..

08-31 21:23:15.909 V/ApplicationManager( 2903): starting 
checkAndTerminateApplication

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

[android-developers] glGenTextures return 0 and got call to OpenGL ES API with no current context (logged once per thread)

2012-08-28 Thread Li Sun
Hi,

I just met a issue of  glGenTextures. I wrote the below codes on 
Activity.onCreate() function

int[] mTextureNames = new int[1];
GLES20.glGenTextures(1,mTextureNames,0);
SurfaceTexture mSurfaceTexture = new 
SurfaceTexture(mTextureNames[0]);

but mTextureNames[0] is always 0 and got the log call to OpenGL ES API 
with no current context (logged once per thread).  I think i may need to 
do some initialization work before calling the source code. Would someone 
help to tell me what's the steps ? Thanks a lot!

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