java.lang.NoSuchMethodError: com.mapzen.erasermap.view.SettingsFragment.getContext

GitHub | msmollin | 8 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Crash on loading SettingsFragment on KitKat with debug menu enabled

    GitHub | 8 months ago | msmollin
    java.lang.NoSuchMethodError: com.mapzen.erasermap.view.SettingsFragment.getContext
  2. 0

    NoSuchMethod exception while creating and formatting .doc file using Apache poi-3.8 beta hwpf

    Stack Overflow | 5 years ago | Kanon
    java.lang.NoSuchMethodError: org.apache.poi.POIDocument. : at org.apache.poi.hwpf.HWPFDocumentCore.(HWPFDocumentCore.java:145) : at org.apache.poi.hwpf.HWPFDocument.(HWPFDocument.java:218) : at org.apache.poi.hwpf.HWPFDocument.(HWPFDocument.java:186) : at com.vikas.prudent.CreateDocument.onCreate(CreateDocument.java:45) : at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047) : at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2627) : at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2679) : at android.app.ActivityThread.access$2300(ActivityThread.java:125) : at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2033) : at android.os.Handler.dispatchMessage(Handler.java:99) : at android.os.Looper.loop(Looper.java:123) : at android.app.ActivityThread.main(ActivityThread.java:4627) : at java.lang.reflect.Method.invokeNative(Native Method) : at java.lang.reflect.Method.invoke(Method.java:521) : at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868) : at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626) :

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      com.mapzen.erasermap.view.SettingsFragment.getContext

      at com.mapzen.erasermap.view.SettingsFragment.initTangramVersionPref()
    2. com.mapzen.erasermap
      SettingsFragment.onCreate
      1. com.mapzen.erasermap.view.SettingsFragment.initTangramVersionPref(SettingsFragment.kt:176)
      2. com.mapzen.erasermap.view.SettingsFragment.onCreate(SettingsFragment.kt:40)
      2 frames
    3. Android Platform
      ActivityThread.main
      1. android.app.Fragment.performCreate(Fragment.java:1678)
      2. android.app.FragmentManagerImpl.moveToState(FragmentManager.java:859)
      3. android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1062)
      4. android.app.BackStackRecord.run(BackStackRecord.java:684)
      5. android.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1447)
      6. android.app.Activity.performStart(Activity.java:5240)
      7. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2157)
      8. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2233)
      9. android.app.ActivityThread.access$800(ActivityThread.java:135)
      10. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1196)
      11. android.os.Handler.dispatchMessage(Handler.java:102)
      12. android.os.Looper.loop(Looper.java:136)
      13. android.app.ActivityThread.main(ActivityThread.java:5001)
      13 frames
    4. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invokeNative(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:515)
      2 frames
    5. 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
    6. Android Platform
      NativeStart.main
      1. dalvik.system.NativeStart.main(Native Method)
      1 frame