Intel® Collaboration Suite for WebRTC
Community support and discussions on the Intel® Collaboration Suite for WebRTC (Intel® CS for WebRTC).
1146 Discussions

Android --java.lang.IllegalArgumentException--error:rootEglBase = new EglBase();

allen_w_
Beginner
345 Views

03-24 02:50:05.838 3948-3948/com.example.root.myapplication E/AndroidRuntime: FATAL EXCEPTION: main
                                                                              Process: com.example.root.myapplication, PID: 3948
                                                                              java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.root.myapplication/com.example.root.myapplication.SampleActivity}: java.lang.IllegalArgumentException
                                                                                  at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2184)
                                                                                  at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2233)
                                                                                  at android.app.ActivityThread.access$800(ActivityThread.java:135)
                                                                                  at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1196)
                                                                                  at android.os.Handler.dispatchMessage(Handler.java:102)
                                                                                  at android.os.Looper.loop(Looper.java:136)
                                                                                  at android.app.ActivityThread.main(ActivityThread.java:5001)
                                                                                  at java.lang.reflect.Method.invokeNative(Native Method)
                                                                                  at java.lang.reflect.Method.invoke(Method.java:515)
                                                                                  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:785)
                                                                                  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601)
                                                                                  at dalvik.system.NativeStart.main(Native Method)
                                                                               Caused by: java.lang.IllegalArgumentException
                                                                                  at com.google.android.gles_jni.EGLImpl._eglCreateContext(Native Method)
                                                                                  at com.google.android.gles_jni.EGLImpl.eglCreateContext(EGLImpl.java:54)
                                                                                  at com.intel.webrtc.base.EglBase.createEglContext(EglBase.java:283)
                                                                                  at com.intel.webrtc.base.EglBase.<init>(EglBase.java:101)
                                                                                  at com.intel.webrtc.base.EglBase.<init>(EglBase.java:88)
                                                                                  at com.example.root.myapplication.SampleActivity.createUI(SampleActivity.java:154)
                                                                                  at com.example.root.myapplication.SampleActivity.onCreate(SampleActivity.java:141)
                                                                                  at android.app.Activity.performCreate(Activity.java:5231)
                                                                                  at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)
                                                                                  at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2148)
                                                                                  at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2233) 
                                                                                  at android.app.ActivityThread.access$800(ActivityThread.java:135) 
                                                                                  at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1196) 
                                                                                  at android.os.Handler.dispatchMessage(Handler.java:102) 
                                                                                  at android.os.Looper.loop(Looper.java:136) 
                                                                                  at android.app.ActivityThread.main(ActivityThread.java:5001) 
                                                                                  at java.lang.reflect.Method.invokeNative(Native Method) 
                                                                                  at java.lang.reflect.Method.invoke(Method.java:515) 
                                                                                  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:785) 
                                                                                  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601) 
                                                                                  at dalvik.system.NativeStart.main(Native Method) 
03-24 02:50:09.668 3948-3962/com.example.root.myapplication D/dalvikvm: GC_FOR_ALLOC freed 140K, 6% free 3250K/3456K, paused 44ms, total 44ms
03-24 02:55:06.278 3948-3948/? I/Process: Sending signal. PID: 3948 SIG: 9

SampleActivity.java:154:

private void createUI() throws WoogeenException {

........

rootEglBase = new EglBase();//---ln154

SampleActivity.java:141:

createUI();

 

0 Kudos
1 Reply
Chunbo_H_Intel1
Employee
345 Views

Hi Allen,

We need more information to analyze this exception. Could you provide how you did this to reproduce this exception?
Information about phone module and OS version will also be helpful.

Thanks!
 

0 Kudos
Reply