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

Android NativeCall crashes on Join #219

Open
cshzh opened this issue Feb 4, 2017 · 1 comment
Open

Android NativeCall crashes on Join #219

cshzh opened this issue Feb 4, 2017 · 1 comment

Comments

@cshzh
Copy link

cshzh commented Feb 4, 2017

Log below:

02-04 19:24:12.171 21791-21791/? W/Zygote: mz_is_rooted false
02-04 19:24:12.171 21791-21791/? I/art: Late-enabling -Xcheck:jni
02-04 19:24:12.221 21791-21805/? I/art: Debugger is no longer active
02-04 19:24:12.261 21791-21791/? I/InstantRun: Instant Run Runtime started. Android package is com.ericsson.research.owr.examples.nativecall, real application class is null.
02-04 19:24:12.581 21791-21818/? I/OpenGLRenderer: Initialized EGL, version 1.4
02-04 19:24:40.751 21791-22297/com.ericsson.research.owr.examples.nativecall I/System.out: httpget:http://demo.openwebrtc.org/stoc/24ade3bc072/f9rk32mk
02-04 19:24:40.751 21791-21816/com.ericsson.research.owr.examples.nativecall I/OpenWebRTC: [435]: JNI: successfully attached to thread
02-04 19:24:40.761 21791-21791/com.ericsson.research.owr.examples.nativecall W/libOpenSLES: Leaving Object::GetInterface (SL_RESULT_FEATURE_UNSUPPORTED)
02-04 19:24:41.131 21791-22297/com.ericsson.research.owr.examples.nativecall I/System.out: >doSendRequest
02-04 19:24:41.131 21791-22297/com.ericsson.research.owr.examples.nativecall I/System.out: <doSendRequest
02-04 19:24:41.391 21791-22414/com.ericsson.research.owr.examples.nativecall E/libEGL: call to OpenGL ES API with no current context (logged once per thread)
02-04 19:24:41.401 21791-22297/com.ericsson.research.owr.examples.nativecall I/NetworkManagementSocketTagger: untagSocket(52)
02-04 19:24:42.131 21791-22297/com.ericsson.research.owr.examples.nativecall I/NetworkManagementSocketTagger: untagSocket(52)
02-04 19:24:42.131 21791-22297/com.ericsson.research.owr.examples.nativecall E/EventSource: SSE: javax.net.ssl.SSLPeerUnverifiedException: No peer certificate
02-04 19:24:42.131 21791-22297/com.ericsson.research.owr.examples.nativecall W/System.err: javax.net.ssl.SSLPeerUnverifiedException: No peer certificate
02-04 19:24:42.131 21791-22297/com.ericsson.research.owr.examples.nativecall W/System.err: at com.android.org.conscrypt.SSLNullSession.getPeerCertificates(SSLNullSession.java:104)
02-04 19:24:42.131 21791-22297/com.ericsson.research.owr.examples.nativecall W/System.err: at org.apache.http.conn.ssl.AbstractVerifier.verify(AbstractVerifier.java:98)
02-04 19:24:42.131 21791-22297/com.ericsson.research.owr.examples.nativecall W/System.err: at org.apache.http.conn.ssl.SSLSocketFactory.createSocket(SSLSocketFactory.java:393)
02-04 19:24:42.131 21791-22297/com.ericsson.research.owr.examples.nativecall W/System.err: at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:175)
02-04 19:24:42.131 21791-22297/com.ericsson.research.owr.examples.nativecall W/System.err: at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:169)
02-04 19:24:42.131 21791-22297/com.ericsson.research.owr.examples.nativecall W/System.err: at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:124)
02-04 19:24:42.131 21791-22297/com.ericsson.research.owr.examples.nativecall W/System.err: at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:365)
02-04 19:24:42.131 21791-22297/com.ericsson.research.owr.examples.nativecall W/System.err: at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:586)
02-04 19:24:42.131 21791-22297/com.ericsson.research.owr.examples.nativecall W/System.err: at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:511)
02-04 19:24:42.131 21791-22297/com.ericsson.research.owr.examples.nativecall W/System.err: at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:489)
02-04 19:24:42.131 21791-22297/com.ericsson.research.owr.examples.nativecall W/System.err: at com.ericsson.research.owr.examples.nativecall.SignalingChannel$1.run(SignalingChannel.java:95)
02-04 19:24:42.131 21791-22297/com.ericsson.research.owr.examples.nativecall W/System.err: at java.lang.Thread.run(Thread.java:818)
02-04 19:24:42.141 21791-21791/com.ericsson.research.owr.examples.nativecall E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.ericsson.research.owr.examples.nativecall, PID: 21791
java.lang.NullPointerException: Attempt to invoke interface method 'void com.ericsson.research.owr.sdk.RtcSession.stop()' on a null object reference
at com.ericsson.research.owr.examples.nativecall.NativeCallExampleActivity.onDisconnect(NativeCallExampleActivity.java:344)
at com.ericsson.research.owr.examples.nativecall.SignalingChannel$1$1.run(SignalingChannel.java:121)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:135)
at android.app.ActivityThread.main(ActivityThread.java:5566)
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:962)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:757)
02-04 19:24:42.151 21791-21816/com.ericsson.research.owr.examples.nativecall I/g_log: _owr_media_source_release_source: assertion 'GST_IS_ELEMENT(source)' failed
02-04 19:24:42.181 21791-21791/com.ericsson.research.owr.examples.nativecall I/Process: Sending signal. PID: 21791 SIG: 9

@alagarsamy101189
Copy link

Confirm whether your web server has peer certificate.

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