Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Monkey测试一定概率Crash问题(或者内存回收) #39

Closed
wangwangheng opened this issue Aug 18, 2016 · 3 comments
Closed

Monkey测试一定概率Crash问题(或者内存回收) #39

wangwangheng opened this issue Aug 18, 2016 · 3 comments

Comments

@wangwangheng
Copy link

java.lang.NullPointerException: Attempt to invoke virtual method 'void android.opengl.GLSurfaceView.setLayoutParams(android.view.ViewGroup$LayoutParams)' on a null object reference
at com.ksy.recordlib.service.core.h.p(Unknown Source)
at com.ksy.recordlib.service.core.h.m(Unknown Source)
at com.ksy.recordlib.service.core.h$a.handleMessage(Unknown Source)
at android.os.Handler.dispatchMessage(Handler.java:111)
at android.os.Looper.loop(Looper.java:194)
at android.app.ActivityThread.main(ActivityThread.java:5628)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:980)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:775)

@zanxiaofei
Copy link
Contributor

从log信息上看,应该是GLSurfaceView被回收了,但是KSYStreamer可能没有释放。我们加个容错吧

@wangwangheng
Copy link
Author

@zanxiaofei 这个问题在哪个版本解决?TKS!

@zanxiaofei
Copy link
Contributor

@wangwangheng 3.3.2.0 本周五发

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants