java.lang.Error: eglChooseConfig() failed

GitHub | dagatsoin | 4 months ago
  1. 0

    Starting an emulator with GPU emulation

    GitHub | 5 months ago | tobrun
    java.lang.Error: eglChooseConfig() failed
  2. 0

    MapView: eglSwapBuffers Error

    GitHub | 5 months ago | ivovandongen
    java.lang.Error: eglSwapBuffers() failed
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Aladdin: *[http://scala-webapps.epfl.ch/bugtracking/bugs/displayItem.do?id=1288 bug 1288], [http://scala-webapps.epfl.ch/bugtracking/contribs/display.do?id=756 contrib 756]* == Code == he new exception matching code works great (thank you!) but I recently found another case that fails. This is with 2.6.0-RC1. The following code shows that all exceptions match the first catch clause. This ticket may be considered a follow up to http://scala-webapps.epfl.ch/bugtracking/contribs/display.do?id=649 http://scala-webapps.epfl.ch/bugtracking/bugs/displayItem.do?id=1168 Regards, Blair {code} class MyException1 extends Exception // Commenting out the following line and uncommenting the second line // will cause the test to succeed. trait SpecialException extends MyException1 // trait SpecialException class MyException2 extends MyException1 with SpecialException object Test extends Application { Array[Throwable](new Exception("abc"), new MyException1, new MyException2).foreach { e => try { throw e } catch { case e : SpecialException => { assume(e.isInstanceOf[SpecialException]) } case e => { assume(e.isInstanceOf[Throwable]) } } } } {code} == What happened == {code} java.lang.Error: assumption failed at scala.Predef$$.assume(Predef.scala:101) at Test$$$$anonfun$$0.apply(t2.scala:21) at Test$$$$anonfun$$0.apply(t2.scala:15) at scala.Iterator$$class.foreach(Iterator.scala:375) at scala.runtime.BoxedArray$$$$anon$$0.foreach(BoxedArray.scala:46) at scala.Iterable$$class.foreach(Iterable.scala:241) at scala.runtime.BoxedArray.foreach(BoxedArray.scala:25) at Test$$.(t2.scala:15) at Test$$.(t2.scala) at Test.main(t2.scala) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at scala.tools.nsc.ObjectRunner$$$$anonfun$$0.apply(ObjectRunner.scala:75) at scala.tools.nsc.ObjectRunner$$.withContextClassLoader(ObjectRunner.scala:49) at scala.tools.nsc.ObjectRunner$$.run(ObjectRunner.scala:74) at scala.tools.nsc.MainGenericRunner$$.main(MainGenericRunner.scala:154) at scala.tools.nsc.MainGenericRunner.main(MainGenericRunner.scala) {code} == What expected == No assertions

    Scala JIRA | 9 years ago | Stephane Micheloud
    java.lang.Error: assumption failed
  5. 0

    Aladdin: *[http://scala-webapps.epfl.ch/bugtracking/bugs/displayItem.do?id=1288 bug 1288], [http://scala-webapps.epfl.ch/bugtracking/contribs/display.do?id=756 contrib 756]* == Code == he new exception matching code works great (thank you!) but I recently found another case that fails. This is with 2.6.0-RC1. The following code shows that all exceptions match the first catch clause. This ticket may be considered a follow up to http://scala-webapps.epfl.ch/bugtracking/contribs/display.do?id=649 http://scala-webapps.epfl.ch/bugtracking/bugs/displayItem.do?id=1168 Regards, Blair {code} class MyException1 extends Exception // Commenting out the following line and uncommenting the second line // will cause the test to succeed. trait SpecialException extends MyException1 // trait SpecialException class MyException2 extends MyException1 with SpecialException object Test extends Application { Array[Throwable](new Exception("abc"), new MyException1, new MyException2).foreach { e => try { throw e } catch { case e : SpecialException => { assume(e.isInstanceOf[SpecialException]) } case e => { assume(e.isInstanceOf[Throwable]) } } } } {code} == What happened == {code} java.lang.Error: assumption failed at scala.Predef$$.assume(Predef.scala:101) at Test$$$$anonfun$$0.apply(t2.scala:21) at Test$$$$anonfun$$0.apply(t2.scala:15) at scala.Iterator$$class.foreach(Iterator.scala:375) at scala.runtime.BoxedArray$$$$anon$$0.foreach(BoxedArray.scala:46) at scala.Iterable$$class.foreach(Iterable.scala:241) at scala.runtime.BoxedArray.foreach(BoxedArray.scala:25) at Test$$.(t2.scala:15) at Test$$.(t2.scala) at Test.main(t2.scala) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at scala.tools.nsc.ObjectRunner$$$$anonfun$$0.apply(ObjectRunner.scala:75) at scala.tools.nsc.ObjectRunner$$.withContextClassLoader(ObjectRunner.scala:49) at scala.tools.nsc.ObjectRunner$$.run(ObjectRunner.scala:74) at scala.tools.nsc.MainGenericRunner$$.main(MainGenericRunner.scala:154) at scala.tools.nsc.MainGenericRunner.main(MainGenericRunner.scala) {code} == What expected == No assertions

    Scala JIRA | 9 years ago | Stephane Micheloud
    java.lang.Error: assumption failed

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.Error

      eglChooseConfig() failed

      at com.mapbox.mapboxsdk.maps.NativeMapView.nativeInitializeDisplay()
    2. com.mapbox.mapboxsdk
      SupportMapFragment.onViewCreated
      1. com.mapbox.mapboxsdk.maps.NativeMapView.nativeInitializeDisplay(Native Method)
      2. com.mapbox.mapboxsdk.maps.NativeMapView.initializeDisplay(NativeMapView.java:105)
      3. com.mapbox.mapboxsdk.maps.MapView.onCreate(MapView.java:441)
      4. com.mapbox.mapboxsdk.maps.SupportMapFragment.onViewCreated(SupportMapFragment.java:139)
      4 frames
    3. Android Support v4
      FragmentActivity.onStart
      1. android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1123)
      2. android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1286)
      3. android.support.v4.app.BackStackRecord.run(BackStackRecord.java:758)
      4. android.support.v4.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1671)
      5. android.support.v4.app.FragmentController.execPendingActions(FragmentController.java:388)
      6. android.support.v4.app.FragmentActivity.onStart(FragmentActivity.java:619)
      6 frames
    4. Android Platform
      ActivityThread.main
      1. android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1171)
      2. android.app.Activity.performStart(Activity.java:5241)
      3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2157)
      4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2233)
      5. android.app.ActivityThread.access$800(ActivityThread.java:135)
      6. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1196)
      7. android.os.Handler.dispatchMessage(Handler.java:102)
      8. android.os.Looper.loop(Looper.java:136)
      9. android.app.ActivityThread.main(ActivityThread.java:5001)
      9 frames
    5. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invokeNative(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:515)
      2 frames
    6. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:785)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601)
      2 frames
    7. Android Platform
      NativeStart.main
      1. dalvik.system.NativeStart.main(Native Method)
      1 frame