Intel® Collaboration Suite for WebRTC
Community support and discussions on the Intel® Collaboration Suite for WebRTC (Intel® CS for WebRTC).
Announcements
Welcome to the Intel Community. If you get an answer you like, please mark it as an Accepted Solution to help others. Thank you!
For the latest information on Intel’s response to the Log4j/Log4Shell vulnerability, please see Intel-SA-00646
1136 Discussions

Android SDK App Crash - null object reference

tangk
Beginner
884 Views
Environment: - Ver: ICS 4.1.1 - ICS-Conferece - Do not use mixing. # log cat 2019-02-11 13:45:26.365 3645-3871/? E/ConnectivityService: RemoteException caught trying to send a callback msg for NetworkRequest [ LISTEN id=4935, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED] ] 2019-02-11 13:45:26.367 3645-3871/? E/ConnectivityService: RemoteException caught trying to send a callback msg for NetworkRequest [ LISTEN id=4936, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED] ] 2019-02-11 13:45:41.155 8203-8401/com.saeha.ezview.Dev E/AndroidRuntime: FATAL EXCEPTION: pool-5-thread-2 Process: com.saeha.ezview.Dev, PID: 8203 java.lang.NullPointerException: Attempt to invoke virtual method 'void com.intel.webrtc.conference.Subscription.onStatusUpdated(com.intel.webrtc.base.MediaConstraints$TrackKind, boolean)' on a null object reference at com.intel.webrtc.conference.ConferenceClient.lambda$onStreamUpdated$15(ConferenceClient.java:723) at com.intel.webrtc.conference.-$$Lambda$ConferenceClient$aWl5wjEHeXZzvSUNQcID27_Orgo.run(Unknown Source:6) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636) at java.lang.Thread.run(Thread.java:764) 2019-02-11 13:45:41.157 8203-8354/com.saeha.ezview.Dev E/AndroidRuntime: FATAL EXCEPTION: pool-5-thread-1 Process: com.saeha.ezview.Dev, PID: 8203 java.lang.NullPointerException: Attempt to invoke virtual method 'void com.intel.webrtc.conference.Subscription.onStatusUpdated(com.intel.webrtc.base.MediaConstraints$TrackKind, boolean)' on a null object reference at com.intel.webrtc.conference.ConferenceClient.lambda$onStreamUpdated$15(ConferenceClient.java:723) at com.intel.webrtc.conference.-$$Lambda$ConferenceClient$aWl5wjEHeXZzvSUNQcID27_Orgo.run(Unknown Source:6) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636) at java.lang.Thread.run(Thread.java:764) 2019-02-11 13:45:41.259 3645-3871/? E/ConnectivityService: RemoteException caught trying to send a callback msg for NetworkRequest [ LISTEN id=4942, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN] ] 2019-02-11 13:45:41.275 3645-3871/? E/ConnectivityService: RemoteException caught trying to send a callback msg for NetworkRequest [ REQUEST id=4941, [ Transports: CELLULAR Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN] ] 2019-02-11 13:45:41.284 3645-3871/? E/ConnectivityService: RemoteException caught trying to send a callback msg for NetworkRequest [ LISTEN id=4939, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED] ] 2019-02-11 13:45:41.288 3645-3871/? E/ConnectivityService: RemoteException caught trying to send a callback msg for NetworkRequest [ LISTEN id=4940, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED] ] # Crash Source - ConferenceClient.class - line 656: while(!pcChannel.stream.id().equals(id) && !pcChannel.key.equals(id)); - line 663: pcChannel.subscription.onStatusUpdated(trackKind, active); It occurs randomly when a new stream is added or removed.
0 Kudos
2 Replies
Jianjun_Z_Intel
Employee
884 Views

Thanks for reporting this issue. You may track its status here.

tangk
Beginner
884 Views

Occurs when the stream is updated before receiving subscribe method call results.

Reply