NullPointerException: int android.widget.Editor$SelectionModifierCursorController.getMinTouchOffset()











up vote
3
down vote

favorite
1












It's a very strange Xiaomi device's OS exception. Even if I do have logs available from Fabric, the stack trace doesn't refer any of my code.



A crash details are below as reported in crashalytics(Fabric),




  • 21K crashes


  • All crashes on Xiaomi devices


  • Crashes on Android OS version 6, 7 and 8



Crash Log:






# OS Version: 8.1.0
# Device: Redmi Note 5 pro
# RAM Free: 30.1%
# Disk Free: 74.2%

#0. Crashed: main
at android.widget.Editor.touchPositionIsInSelection(Editor.java:1084)
at android.widget.Editor.performLongClick(Editor.java:1205)
at android.widget.TextView.performLongClick(TextView.java:10908)
at android.view.View.performLongClick(View.java:6360)
at android.view.View$CheckForLongPress.run(View.java:24768)
at android.os.Handler.handleCallback(Handler.java:790)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:171)
at android.app.ActivityThread.main(ActivityThread.java:6606)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:518)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:823)

--

Fatal Exception: java.lang.NullPointerException: Attempt to invoke virtual method 'int android.widget.Editor$SelectionModifierCursorController.getMinTouchOffset()' on a null object reference
at android.widget.Editor.touchPositionIsInSelection(Editor.java:1084)
at android.widget.Editor.performLongClick(Editor.java:1205)
at android.widget.TextView.performLongClick(TextView.java:10908)
at android.view.View.performLongClick(View.java:6360)
at android.view.View$CheckForLongPress.run(View.java:24768)
at android.os.Handler.handleCallback(Handler.java:790)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:171)
at android.app.ActivityThread.main(ActivityThread.java:6606)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:518)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:823)

#0. Crashed: main
at android.widget.Editor.touchPositionIsInSelection(Editor.java:1084)
at android.widget.Editor.performLongClick(Editor.java:1205)
at android.widget.TextView.performLongClick(TextView.java:10908)
at android.view.View.performLongClick(View.java:6360)
at android.view.View$CheckForLongPress.run(View.java:24768)
at android.os.Handler.handleCallback(Handler.java:790)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:171)
at android.app.ActivityThread.main(ActivityThread.java:6606)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:518)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:823)





Similar Reference:



https://issuetracker.google.com/issues/37127697



java.lang.NullPointerException with Nougat



Also asked on Xiaomi official forum http://en.miui.com/forum.php?mod=viewthread&tid=4595164



Please do provide any working solution as soon as possible. As users must not be happy with these crashes.



Thanks in advance.










share|improve this question


























    up vote
    3
    down vote

    favorite
    1












    It's a very strange Xiaomi device's OS exception. Even if I do have logs available from Fabric, the stack trace doesn't refer any of my code.



    A crash details are below as reported in crashalytics(Fabric),




    • 21K crashes


    • All crashes on Xiaomi devices


    • Crashes on Android OS version 6, 7 and 8



    Crash Log:






    # OS Version: 8.1.0
    # Device: Redmi Note 5 pro
    # RAM Free: 30.1%
    # Disk Free: 74.2%

    #0. Crashed: main
    at android.widget.Editor.touchPositionIsInSelection(Editor.java:1084)
    at android.widget.Editor.performLongClick(Editor.java:1205)
    at android.widget.TextView.performLongClick(TextView.java:10908)
    at android.view.View.performLongClick(View.java:6360)
    at android.view.View$CheckForLongPress.run(View.java:24768)
    at android.os.Handler.handleCallback(Handler.java:790)
    at android.os.Handler.dispatchMessage(Handler.java:99)
    at android.os.Looper.loop(Looper.java:171)
    at android.app.ActivityThread.main(ActivityThread.java:6606)
    at java.lang.reflect.Method.invoke(Method.java)
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:518)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:823)

    --

    Fatal Exception: java.lang.NullPointerException: Attempt to invoke virtual method 'int android.widget.Editor$SelectionModifierCursorController.getMinTouchOffset()' on a null object reference
    at android.widget.Editor.touchPositionIsInSelection(Editor.java:1084)
    at android.widget.Editor.performLongClick(Editor.java:1205)
    at android.widget.TextView.performLongClick(TextView.java:10908)
    at android.view.View.performLongClick(View.java:6360)
    at android.view.View$CheckForLongPress.run(View.java:24768)
    at android.os.Handler.handleCallback(Handler.java:790)
    at android.os.Handler.dispatchMessage(Handler.java:99)
    at android.os.Looper.loop(Looper.java:171)
    at android.app.ActivityThread.main(ActivityThread.java:6606)
    at java.lang.reflect.Method.invoke(Method.java)
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:518)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:823)

    #0. Crashed: main
    at android.widget.Editor.touchPositionIsInSelection(Editor.java:1084)
    at android.widget.Editor.performLongClick(Editor.java:1205)
    at android.widget.TextView.performLongClick(TextView.java:10908)
    at android.view.View.performLongClick(View.java:6360)
    at android.view.View$CheckForLongPress.run(View.java:24768)
    at android.os.Handler.handleCallback(Handler.java:790)
    at android.os.Handler.dispatchMessage(Handler.java:99)
    at android.os.Looper.loop(Looper.java:171)
    at android.app.ActivityThread.main(ActivityThread.java:6606)
    at java.lang.reflect.Method.invoke(Method.java)
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:518)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:823)





    Similar Reference:



    https://issuetracker.google.com/issues/37127697



    java.lang.NullPointerException with Nougat



    Also asked on Xiaomi official forum http://en.miui.com/forum.php?mod=viewthread&tid=4595164



    Please do provide any working solution as soon as possible. As users must not be happy with these crashes.



    Thanks in advance.










    share|improve this question
























      up vote
      3
      down vote

      favorite
      1









      up vote
      3
      down vote

      favorite
      1






      1





      It's a very strange Xiaomi device's OS exception. Even if I do have logs available from Fabric, the stack trace doesn't refer any of my code.



      A crash details are below as reported in crashalytics(Fabric),




      • 21K crashes


      • All crashes on Xiaomi devices


      • Crashes on Android OS version 6, 7 and 8



      Crash Log:






      # OS Version: 8.1.0
      # Device: Redmi Note 5 pro
      # RAM Free: 30.1%
      # Disk Free: 74.2%

      #0. Crashed: main
      at android.widget.Editor.touchPositionIsInSelection(Editor.java:1084)
      at android.widget.Editor.performLongClick(Editor.java:1205)
      at android.widget.TextView.performLongClick(TextView.java:10908)
      at android.view.View.performLongClick(View.java:6360)
      at android.view.View$CheckForLongPress.run(View.java:24768)
      at android.os.Handler.handleCallback(Handler.java:790)
      at android.os.Handler.dispatchMessage(Handler.java:99)
      at android.os.Looper.loop(Looper.java:171)
      at android.app.ActivityThread.main(ActivityThread.java:6606)
      at java.lang.reflect.Method.invoke(Method.java)
      at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:518)
      at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:823)

      --

      Fatal Exception: java.lang.NullPointerException: Attempt to invoke virtual method 'int android.widget.Editor$SelectionModifierCursorController.getMinTouchOffset()' on a null object reference
      at android.widget.Editor.touchPositionIsInSelection(Editor.java:1084)
      at android.widget.Editor.performLongClick(Editor.java:1205)
      at android.widget.TextView.performLongClick(TextView.java:10908)
      at android.view.View.performLongClick(View.java:6360)
      at android.view.View$CheckForLongPress.run(View.java:24768)
      at android.os.Handler.handleCallback(Handler.java:790)
      at android.os.Handler.dispatchMessage(Handler.java:99)
      at android.os.Looper.loop(Looper.java:171)
      at android.app.ActivityThread.main(ActivityThread.java:6606)
      at java.lang.reflect.Method.invoke(Method.java)
      at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:518)
      at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:823)

      #0. Crashed: main
      at android.widget.Editor.touchPositionIsInSelection(Editor.java:1084)
      at android.widget.Editor.performLongClick(Editor.java:1205)
      at android.widget.TextView.performLongClick(TextView.java:10908)
      at android.view.View.performLongClick(View.java:6360)
      at android.view.View$CheckForLongPress.run(View.java:24768)
      at android.os.Handler.handleCallback(Handler.java:790)
      at android.os.Handler.dispatchMessage(Handler.java:99)
      at android.os.Looper.loop(Looper.java:171)
      at android.app.ActivityThread.main(ActivityThread.java:6606)
      at java.lang.reflect.Method.invoke(Method.java)
      at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:518)
      at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:823)





      Similar Reference:



      https://issuetracker.google.com/issues/37127697



      java.lang.NullPointerException with Nougat



      Also asked on Xiaomi official forum http://en.miui.com/forum.php?mod=viewthread&tid=4595164



      Please do provide any working solution as soon as possible. As users must not be happy with these crashes.



      Thanks in advance.










      share|improve this question













      It's a very strange Xiaomi device's OS exception. Even if I do have logs available from Fabric, the stack trace doesn't refer any of my code.



      A crash details are below as reported in crashalytics(Fabric),




      • 21K crashes


      • All crashes on Xiaomi devices


      • Crashes on Android OS version 6, 7 and 8



      Crash Log:






      # OS Version: 8.1.0
      # Device: Redmi Note 5 pro
      # RAM Free: 30.1%
      # Disk Free: 74.2%

      #0. Crashed: main
      at android.widget.Editor.touchPositionIsInSelection(Editor.java:1084)
      at android.widget.Editor.performLongClick(Editor.java:1205)
      at android.widget.TextView.performLongClick(TextView.java:10908)
      at android.view.View.performLongClick(View.java:6360)
      at android.view.View$CheckForLongPress.run(View.java:24768)
      at android.os.Handler.handleCallback(Handler.java:790)
      at android.os.Handler.dispatchMessage(Handler.java:99)
      at android.os.Looper.loop(Looper.java:171)
      at android.app.ActivityThread.main(ActivityThread.java:6606)
      at java.lang.reflect.Method.invoke(Method.java)
      at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:518)
      at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:823)

      --

      Fatal Exception: java.lang.NullPointerException: Attempt to invoke virtual method 'int android.widget.Editor$SelectionModifierCursorController.getMinTouchOffset()' on a null object reference
      at android.widget.Editor.touchPositionIsInSelection(Editor.java:1084)
      at android.widget.Editor.performLongClick(Editor.java:1205)
      at android.widget.TextView.performLongClick(TextView.java:10908)
      at android.view.View.performLongClick(View.java:6360)
      at android.view.View$CheckForLongPress.run(View.java:24768)
      at android.os.Handler.handleCallback(Handler.java:790)
      at android.os.Handler.dispatchMessage(Handler.java:99)
      at android.os.Looper.loop(Looper.java:171)
      at android.app.ActivityThread.main(ActivityThread.java:6606)
      at java.lang.reflect.Method.invoke(Method.java)
      at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:518)
      at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:823)

      #0. Crashed: main
      at android.widget.Editor.touchPositionIsInSelection(Editor.java:1084)
      at android.widget.Editor.performLongClick(Editor.java:1205)
      at android.widget.TextView.performLongClick(TextView.java:10908)
      at android.view.View.performLongClick(View.java:6360)
      at android.view.View$CheckForLongPress.run(View.java:24768)
      at android.os.Handler.handleCallback(Handler.java:790)
      at android.os.Handler.dispatchMessage(Handler.java:99)
      at android.os.Looper.loop(Looper.java:171)
      at android.app.ActivityThread.main(ActivityThread.java:6606)
      at java.lang.reflect.Method.invoke(Method.java)
      at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:518)
      at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:823)





      Similar Reference:



      https://issuetracker.google.com/issues/37127697



      java.lang.NullPointerException with Nougat



      Also asked on Xiaomi official forum http://en.miui.com/forum.php?mod=viewthread&tid=4595164



      Please do provide any working solution as soon as possible. As users must not be happy with these crashes.



      Thanks in advance.






      # OS Version: 8.1.0
      # Device: Redmi Note 5 pro
      # RAM Free: 30.1%
      # Disk Free: 74.2%

      #0. Crashed: main
      at android.widget.Editor.touchPositionIsInSelection(Editor.java:1084)
      at android.widget.Editor.performLongClick(Editor.java:1205)
      at android.widget.TextView.performLongClick(TextView.java:10908)
      at android.view.View.performLongClick(View.java:6360)
      at android.view.View$CheckForLongPress.run(View.java:24768)
      at android.os.Handler.handleCallback(Handler.java:790)
      at android.os.Handler.dispatchMessage(Handler.java:99)
      at android.os.Looper.loop(Looper.java:171)
      at android.app.ActivityThread.main(ActivityThread.java:6606)
      at java.lang.reflect.Method.invoke(Method.java)
      at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:518)
      at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:823)

      --

      Fatal Exception: java.lang.NullPointerException: Attempt to invoke virtual method 'int android.widget.Editor$SelectionModifierCursorController.getMinTouchOffset()' on a null object reference
      at android.widget.Editor.touchPositionIsInSelection(Editor.java:1084)
      at android.widget.Editor.performLongClick(Editor.java:1205)
      at android.widget.TextView.performLongClick(TextView.java:10908)
      at android.view.View.performLongClick(View.java:6360)
      at android.view.View$CheckForLongPress.run(View.java:24768)
      at android.os.Handler.handleCallback(Handler.java:790)
      at android.os.Handler.dispatchMessage(Handler.java:99)
      at android.os.Looper.loop(Looper.java:171)
      at android.app.ActivityThread.main(ActivityThread.java:6606)
      at java.lang.reflect.Method.invoke(Method.java)
      at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:518)
      at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:823)

      #0. Crashed: main
      at android.widget.Editor.touchPositionIsInSelection(Editor.java:1084)
      at android.widget.Editor.performLongClick(Editor.java:1205)
      at android.widget.TextView.performLongClick(TextView.java:10908)
      at android.view.View.performLongClick(View.java:6360)
      at android.view.View$CheckForLongPress.run(View.java:24768)
      at android.os.Handler.handleCallback(Handler.java:790)
      at android.os.Handler.dispatchMessage(Handler.java:99)
      at android.os.Looper.loop(Looper.java:171)
      at android.app.ActivityThread.main(ActivityThread.java:6606)
      at java.lang.reflect.Method.invoke(Method.java)
      at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:518)
      at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:823)





      # OS Version: 8.1.0
      # Device: Redmi Note 5 pro
      # RAM Free: 30.1%
      # Disk Free: 74.2%

      #0. Crashed: main
      at android.widget.Editor.touchPositionIsInSelection(Editor.java:1084)
      at android.widget.Editor.performLongClick(Editor.java:1205)
      at android.widget.TextView.performLongClick(TextView.java:10908)
      at android.view.View.performLongClick(View.java:6360)
      at android.view.View$CheckForLongPress.run(View.java:24768)
      at android.os.Handler.handleCallback(Handler.java:790)
      at android.os.Handler.dispatchMessage(Handler.java:99)
      at android.os.Looper.loop(Looper.java:171)
      at android.app.ActivityThread.main(ActivityThread.java:6606)
      at java.lang.reflect.Method.invoke(Method.java)
      at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:518)
      at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:823)

      --

      Fatal Exception: java.lang.NullPointerException: Attempt to invoke virtual method 'int android.widget.Editor$SelectionModifierCursorController.getMinTouchOffset()' on a null object reference
      at android.widget.Editor.touchPositionIsInSelection(Editor.java:1084)
      at android.widget.Editor.performLongClick(Editor.java:1205)
      at android.widget.TextView.performLongClick(TextView.java:10908)
      at android.view.View.performLongClick(View.java:6360)
      at android.view.View$CheckForLongPress.run(View.java:24768)
      at android.os.Handler.handleCallback(Handler.java:790)
      at android.os.Handler.dispatchMessage(Handler.java:99)
      at android.os.Looper.loop(Looper.java:171)
      at android.app.ActivityThread.main(ActivityThread.java:6606)
      at java.lang.reflect.Method.invoke(Method.java)
      at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:518)
      at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:823)

      #0. Crashed: main
      at android.widget.Editor.touchPositionIsInSelection(Editor.java:1084)
      at android.widget.Editor.performLongClick(Editor.java:1205)
      at android.widget.TextView.performLongClick(TextView.java:10908)
      at android.view.View.performLongClick(View.java:6360)
      at android.view.View$CheckForLongPress.run(View.java:24768)
      at android.os.Handler.handleCallback(Handler.java:790)
      at android.os.Handler.dispatchMessage(Handler.java:99)
      at android.os.Looper.loop(Looper.java:171)
      at android.app.ActivityThread.main(ActivityThread.java:6606)
      at java.lang.reflect.Method.invoke(Method.java)
      at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:518)
      at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:823)






      android android-edittext textview crashlytics xiaomi






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Nov 22 at 16:42









      Chitrang

      3,31711735




      3,31711735
























          1 Answer
          1






          active

          oldest

          votes

















          up vote
          2
          down vote



          +25










          Do you have a custom TextView in your app? Is it perhaps resizeable or has additional functionality?



          Xiaomi's Android skin is likely interfering with that, and causing crashes. I suggest trying to long click all TextViews in your app.






          share|improve this answer





















          • I'm using ClickableSpan for few textviews and I already tested that and it was not crashing.
            – Chitrang
            Nov 26 at 21:43










          • Are you using a device listed in your crash logs, and long pressing?
            – JakeSteam
            Nov 26 at 21:49













          Your Answer






          StackExchange.ifUsing("editor", function () {
          StackExchange.using("externalEditor", function () {
          StackExchange.using("snippets", function () {
          StackExchange.snippets.init();
          });
          });
          }, "code-snippets");

          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "1"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53435237%2fnullpointerexception-int-android-widget-editorselectionmodifiercursorcontrolle%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          up vote
          2
          down vote



          +25










          Do you have a custom TextView in your app? Is it perhaps resizeable or has additional functionality?



          Xiaomi's Android skin is likely interfering with that, and causing crashes. I suggest trying to long click all TextViews in your app.






          share|improve this answer





















          • I'm using ClickableSpan for few textviews and I already tested that and it was not crashing.
            – Chitrang
            Nov 26 at 21:43










          • Are you using a device listed in your crash logs, and long pressing?
            – JakeSteam
            Nov 26 at 21:49

















          up vote
          2
          down vote



          +25










          Do you have a custom TextView in your app? Is it perhaps resizeable or has additional functionality?



          Xiaomi's Android skin is likely interfering with that, and causing crashes. I suggest trying to long click all TextViews in your app.






          share|improve this answer





















          • I'm using ClickableSpan for few textviews and I already tested that and it was not crashing.
            – Chitrang
            Nov 26 at 21:43










          • Are you using a device listed in your crash logs, and long pressing?
            – JakeSteam
            Nov 26 at 21:49















          up vote
          2
          down vote



          +25







          up vote
          2
          down vote



          +25




          +25




          Do you have a custom TextView in your app? Is it perhaps resizeable or has additional functionality?



          Xiaomi's Android skin is likely interfering with that, and causing crashes. I suggest trying to long click all TextViews in your app.






          share|improve this answer












          Do you have a custom TextView in your app? Is it perhaps resizeable or has additional functionality?



          Xiaomi's Android skin is likely interfering with that, and causing crashes. I suggest trying to long click all TextViews in your app.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Nov 26 at 16:51









          JakeSteam

          1,31521933




          1,31521933












          • I'm using ClickableSpan for few textviews and I already tested that and it was not crashing.
            – Chitrang
            Nov 26 at 21:43










          • Are you using a device listed in your crash logs, and long pressing?
            – JakeSteam
            Nov 26 at 21:49




















          • I'm using ClickableSpan for few textviews and I already tested that and it was not crashing.
            – Chitrang
            Nov 26 at 21:43










          • Are you using a device listed in your crash logs, and long pressing?
            – JakeSteam
            Nov 26 at 21:49


















          I'm using ClickableSpan for few textviews and I already tested that and it was not crashing.
          – Chitrang
          Nov 26 at 21:43




          I'm using ClickableSpan for few textviews and I already tested that and it was not crashing.
          – Chitrang
          Nov 26 at 21:43












          Are you using a device listed in your crash logs, and long pressing?
          – JakeSteam
          Nov 26 at 21:49






          Are you using a device listed in your crash logs, and long pressing?
          – JakeSteam
          Nov 26 at 21:49




















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.





          Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


          Please pay close attention to the following guidance:


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53435237%2fnullpointerexception-int-android-widget-editorselectionmodifiercursorcontrolle%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          A CLEAN and SIMPLE way to add appendices to Table of Contents and bookmarks

          Calculate evaluation metrics using cross_val_predict sklearn

          Insert data from modal to MySQL (multiple modal on website)