songz / cordova-plugin-opentok

Cordova Plugin for OpenTok - add webrtc video to your iOS or Android App
Other
162 stars 270 forks source link

Fatal Exception: java.lang.NullPointerException #241

Open MohitGoel56 opened 6 years ago

MohitGoel56 commented 6 years ago

android.view.GLES20RenderLayer.start (GLES20RenderLayer.java:112)

  | android.view.GLES20RenderLayer.start (GLES20RenderLayer.java:103)   | android.view.ViewRootImpl.performTraversals (ViewRootImpl.java:1585)   | android.view.ViewRootImpl.doTraversal (ViewRootImpl.java:1121)   | android.view.ViewRootImpl$TraversalRunnable.run (ViewRootImpl.java:5804)   | android.view.Choreographer$CallbackRecord.run (Choreographer.java:762)   | android.view.Choreographer.doCallbacks (Choreographer.java:575)   | android.view.Choreographer.doFrame (Choreographer.java:545)   | android.view.Choreographer$FrameDisplayEventReceiver.run (Choreographer.java:748)   | android.os.Handler.handleCallback (Handler.java:733)   | android.os.Handler.dispatchMessage (Handler.java:95)   | android.os.Looper.loop (Looper.java:136)   | android.app.ActivityThread.main (ActivityThread.java:5028)   | java.lang.reflect.Method.invokeNative (Method.java)   | java.lang.reflect.Method.invoke (Method.java:515)   | com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:788)   | com.android.internal.os.ZygoteInit.main (ZygoteInit.java:604)   | dalvik.system.NativeStart.main (NativeStart.java)

I am using Opentok to have video chat but it is crashing randomly. I am getting null pointer exception for android.view.GLES20RenderLayer.start (GLES20RenderLayer.java:103). I am not able to produce it..

msach22 commented 6 years ago

@MohitGoel56 are you using this plugin or the latest one? https://www.npmjs.com/package/cordova-plugin-opentok