Android Mobile SDK to easily integrate communication features (WebRTC, messaging, presence, voice, video, screensharing) based on RestComm into native Mobile Applications
While we are on the call screen (call in progress), pull down the notifications and tap on call notification. The application crash with log:
Process: org.restcomm.android.olympus.premium.debug, PID: 9353
java.lang.NullPointerException: Attempt to invoke virtual method 'void org.webrtc.SurfaceViewRenderer.setVisibility(int)' on a null object reference
at org.restcomm.android.sdk.RCConnection.detachVideo(RCConnection.java:1467)
at org.restcomm.android.olympus.CallActivity.onPause(CallActivity.java:182)
at android.app.Activity.performPause(Activity.java:7115)
at android.app.Instrumentation.callActivityOnPause(Instrumentation.java:1407)
at android.app.ActivityThread.performNewIntents(ActivityThread.java:2981)
at android.app.ActivityThread.handleNewIntent(ActivityThread.java:2999)
at android.app.ActivityThread.-wrap14(Unknown Source:0)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1672)
at android.os.Handler.dispatchMessage(Handler.java:105)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6541)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:767)
While we are on the call screen (call in progress), pull down the notifications and tap on call notification. The application crash with log: Process: org.restcomm.android.olympus.premium.debug, PID: 9353 java.lang.NullPointerException: Attempt to invoke virtual method 'void org.webrtc.SurfaceViewRenderer.setVisibility(int)' on a null object reference at org.restcomm.android.sdk.RCConnection.detachVideo(RCConnection.java:1467) at org.restcomm.android.olympus.CallActivity.onPause(CallActivity.java:182) at android.app.Activity.performPause(Activity.java:7115) at android.app.Instrumentation.callActivityOnPause(Instrumentation.java:1407) at android.app.ActivityThread.performNewIntents(ActivityThread.java:2981) at android.app.ActivityThread.handleNewIntent(ActivityThread.java:2999) at android.app.ActivityThread.-wrap14(Unknown Source:0) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1672) at android.os.Handler.dispatchMessage(Handler.java:105) at android.os.Looper.loop(Looper.java:164) at android.app.ActivityThread.main(ActivityThread.java:6541) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:767)