java.lang.UnsupportedOperationException: The stripAccents(CharSequence) method requires at least Java6, but got: java.lang.ClassNotFoundException: java.text.Normalizer$Form in loader dalvik.system.PathClassLoader@400264d8; or a Sun JVM: java.lang.ClassNotFoundException: sun.text.Normalizer in loader dalvik.system.PathClassLoader@400264d8

GitHub | ojacquemart | 4 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Remove use of StringUtils.stripAccents.

    GitHub | 4 years ago | ojacquemart
    java.lang.UnsupportedOperationException: The stripAccents(CharSequence) method requires at least Java6, but got: java.lang.ClassNotFoundException: java.text.Normalizer$Form in loader dalvik.system.PathClassLoader@400264d8; or a Sun JVM: java.lang.ClassNotFoundException: sun.text.Normalizer in loader dalvik.system.PathClassLoader@400264d8

    Root Cause Analysis

    1. java.lang.UnsupportedOperationException

      The stripAccents(CharSequence) method requires at least Java6, but got: java.lang.ClassNotFoundException: java.text.Normalizer$Form in loader dalvik.system.PathClassLoader@400264d8; or a Sun JVM: java.lang.ClassNotFoundException: sun.text.Normalizer in loader dalvik.system.PathClassLoader@400264d8

      at org.apache.commons.lang3.StringUtils.stripAccents()
    2. Commons Lang
      StringUtils.stripAccents
      1. org.apache.commons.lang3.StringUtils.stripAccents(StringUtils.java:639)
      1 frame
    3. com.vlille.checker
      AllStationsFragment$1.onKey
      1. com.vlille.checker.utils.StationUtils.filter(StationUtils.java:37)
      2. com.vlille.checker.ui.AllStationsFragment.filterStationsByKeyword(AllStationsFragment.java:137)
      3. com.vlille.checker.ui.AllStationsFragment.access$2(AllStationsFragment.java:135)
      4. com.vlille.checker.ui.AllStationsFragment$1.onKey(AllStationsFragment.java:94)
      4 frames
    4. Android Platform
      ViewGroup.dispatchKeyEvent
      1. android.view.View.dispatchKeyEvent(View.java:3732)
      2. android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:832)
      3. android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:832)
      4. android.widget.ListView.dispatchKeyEvent(ListView.java:1948)
      5. android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:832)
      6. android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:832)
      7. android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:832)
      8. android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:832)
      9. android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:832)
      10. android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:832)
      11. android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:832)
      11 frames
    5. Android
      PhoneWindow.superDispatchKeyEvent
      1. com.android.internal.policy.impl.PhoneWindow$DecorView.superDispatchKeyEvent(PhoneWindow.java:1655)
      2. com.android.internal.policy.impl.PhoneWindow.superDispatchKeyEvent(PhoneWindow.java:1102)
      2 frames
    6. Android Platform
      Activity.dispatchKeyEvent
      1. android.app.Activity.dispatchKeyEvent(Activity.java:2041)
      1 frame
    7. ActionBarSherlock
      SherlockFragmentActivity.dispatchKeyEvent
      1. com.actionbarsherlock.app.SherlockFragmentActivity.dispatchKeyEvent(SherlockFragmentActivity.java:122)
      1 frame
    8. Android
      PhoneWindow$DecorView.dispatchKeyEvent
      1. com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchKeyEvent(PhoneWindow.java:1631)
      1 frame
    9. Android Platform
      ActivityThread.main
      1. android.view.ViewRoot.deliverKeyEventToViewHierarchy(ViewRoot.java:2368)
      2. android.view.ViewRoot.handleMessage(ViewRoot.java:1859)
      3. android.os.Handler.dispatchMessage(Handler.java:99)
      4. android.os.Looper.loop(Looper.java:123)
      5. android.app.ActivityThread.main(ActivityThread.java:4370)
      5 frames
    10. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invokeNative(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:521)
      2 frames
    11. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
      2 frames
    12. Android Platform
      NativeStart.main
      1. dalvik.system.NativeStart.main(Native Method)
      1 frame