-
Notifications
You must be signed in to change notification settings - Fork 6
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
NullPointerException & Warning #64
Comments
Can you switch your call to Teads from About the warning it's an issue with ExoPlayer that we used, we'll update Exoplayer soon, this will maybe remove the warning. |
moved to TeadsAd, now got this 2 crash though only once. using version 2.2.10. thanks
|
Have you a pattern to reproduce this crash? |
For activity and fragment both case it happens when I open the ad in big screen and close or when I close the activity and come back to fragment onResume mode. Now its not regular case like it was before. Now also I am not getting the warning let me know if u need more info. thanks |
The two bugs are not related, I didn't succed to reproduce this two crash. For the first do you call |
for fragment i am using |
I fixed the second crash, it will be available in the next release the 2.2.12 before the end of this week. For the first, I didn't succed to reproduce it, if it will happen with this new release, please open a new issue. For the warning, it come from our exoplayer version, you can have more information here google/ExoPlayer#426, I will upgrade to 2.x in the new release |
As last time on issue #62 you explained now using without resume, pause and clean method. Now a days sometime suddenly app goes down because of this exception:
FATAL EXCEPTION: main java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.res.Resources android.content.Context.getResources()' on a null object reference at tv.teads.utils.DeviceUtility.getAppDeviceFamily(Unknown Source) at tv.teads.sdk.publisher.BaseTeadsVideo$1.interceptPostRequest(BaseTeadsVideo.java:98) at tv.teads.logger.RemoteLog.a(Unknown Source) at tv.teads.logger.RemoteLog.sendEvent(Unknown Source) at tv.teads.sdk.publisher.BaseTeadsAd.adDidCollapse(BaseTeadsAd.java:616) at tv.teads.sdk.adContent.video.VideoAdContent.q(VideoAdContent.java:497) at tv.teads.sdk.adContainer.InReadTopAdContainer$3.onAnimationEnd(InReadTopAdContainer.java:201) at android.view.animation.Animation$3.run(Animation.java:376) at android.os.Handler.handleCallback(Handler.java:739) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:158) at android.app.ActivityThread.main(ActivityThread.java:7229) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)
and this warning showing sometime when closing activity :(
MessageQueue: Handler (tv.teads.exoplayer.upstream.Loader$LoadTask) {dcce0ff} sending message to a Handler on a dead thread java.lang.IllegalStateException: Handler (tv.teads.exoplayer.upstream.Loader$LoadTask) {dcce0ff} sending message to a Handler on a dead thread at android.os.MessageQueue.enqueueMessage(MessageQueue.java:543) at android.os.Handler.enqueueMessage(Handler.java:631) at android.os.Handler.sendMessageAtTime(Handler.java:600) at android.os.Handler.sendMessageDelayed(Handler.java:570) at android.os.Handler.sendEmptyMessageDelayed(Handler.java:534) at android.os.Handler.sendEmptyMessage(Handler.java:519) at tv.teads.exoplayer.upstream.Loader$LoadTask.run(Loader.java:212) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:423) at java.util.concurrent.FutureTask.run(FutureTask.java:237) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588) at java.lang.Thread.run(Thread.java:818)
The text was updated successfully, but these errors were encountered: