java.lang.NullPointerException

Appcelerator JIRA | Anna | 7 months ago
  1. 0

    On Android, if I use the html property in a Label, when I do scroll this error appear: {code:java} [ERROR] : InputEventReceiver: Exception dispatching input event. [ERROR] : E/MessageQueue-JNI: Exception in MessageQueue callback: handleReceiveCallback [ERROR] : E/MessageQueue-JNI: java.lang.NullPointerException [ERROR] : E/MessageQueue-JNI: at ti.modules.titanium.ui.widget.TiUILabel$1.onTouchEvent(TiUILabel.java:105) [ERROR] : E/MessageQueue-JNI: at android.view.View.dispatchTouchEvent(View.java:8132) [ERROR] : E/MessageQueue-JNI: at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2431) [ERROR] : E/MessageQueue-JNI: at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2121) [ERROR] : E/MessageQueue-JNI: at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2431) [ERROR] : E/MessageQueue-JNI: at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2121) [ERROR] : E/MessageQueue-JNI: at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2431) [ERROR] : E/MessageQueue-JNI: at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2121) [ERROR] : E/MessageQueue-JNI: at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2431) [ERROR] : E/MessageQueue-JNI: at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2121) [ERROR] : E/MessageQueue-JNI: at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2431) [ERROR] : E/MessageQueue-JNI: at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2121) [ERROR] : E/MessageQueue-JNI: at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2431) [ERROR] : E/MessageQueue-JNI: at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2121) [ERROR] : E/MessageQueue-JNI: at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2431) [ERROR] : E/MessageQueue-JNI: at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2121) [ERROR] : E/MessageQueue-JNI: at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2431) [ERROR] : E/MessageQueue-JNI: at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2121) [ERROR] : E/MessageQueue-JNI: at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2431) [ERROR] : E/MessageQueue-JNI: at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2121) [ERROR] : E/MessageQueue-JNI: at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2431) [ERROR] : E/MessageQueue-JNI: at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2121) [ERROR] : E/MessageQueue-JNI: at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2431) [ERROR] : E/MessageQueue-JNI: at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2121) [ERROR] : E/MessageQueue-JNI: at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2431) [ERROR] : E/MessageQueue-JNI: at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2121) [ERROR] : E/MessageQueue-JNI: at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2431) [ERROR] : E/MessageQueue-JNI: at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2121) [ERROR] : E/MessageQueue-JNI: at com.android.internal.policy.impl.PhoneWindow$DecorView.superDispatchTouchEvent(PhoneWindow.java:2292) [ERROR] : E/MessageQueue-JNI: at com.android.internal.policy.impl.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:1622) [ERROR] : E/MessageQueue-JNI: at android.app.Activity.dispatchTouchEvent(Activity.java:2543) [ERROR] : E/MessageQueue-JNI: at android.support.v7.internal.view.WindowCallbackWrapper.dispatchTouchEvent(WindowCallbackWrapper.java:60) [ERROR] : E/MessageQueue-JNI: at com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchTouchEvent(PhoneWindow.java:2240) [ERROR] : E/MessageQueue-JNI: at android.view.View.dispatchPointerEvent(View.java:8340) [ERROR] : E/MessageQueue-JNI: at android.view.ViewRootImpl$ViewPostImeInputStage.processPointerEvent(ViewRootImpl.java:4612) [ERROR] : E/MessageQueue-JNI: at android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(ViewRootImpl.java:4478) [ERROR] : E/MessageQueue-JNI: at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:4036) [ERROR] : E/MessageQueue-JNI: at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:4090) [ERROR] : E/MessageQueue-JNI: at android.view.ViewRootImpl$InputStage.forward(ViewR [ERROR] : E/MessageQueue-JNI: at android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:4170) [ERROR] : E/MessageQueue-JNI: at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:4067) [ERROR] : E/MessageQueue-JNI: at android.view.ViewRootImpl$AsyncInputStage.apply(ViewRootImpl.java:4227) [ERROR] : E/MessageQueue-JNI: at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:4036) [ERROR] : E/MessageQueue-JNI: at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:4090) [ERROR] : E/MessageQueue-JNI: at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:4059) [ERROR] : E/MessageQueue-JNI: at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:4067) [ERROR] : E/MessageQueue-JNI: at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:4036) [ERROR] : E/MessageQueue-JNI: at android.view.ViewRootImpl.deliverInputEvent(ViewRootImpl.java:6328) [ERROR] : E/MessageQueue-JNI: at android.view.ViewRootImpl.doProcessInputEvents(ViewRootImpl.java:6277) [ERROR] : E/MessageQueue-JNI: at android.view.ViewRootImpl.enqueueInputEvent(ViewRootImpl.java:6248) [ERROR] : E/MessageQueue-JNI: at android.view.ViewRootImpl.enqueueInputEvent(ViewRootImpl.java:6213) [ERROR] : E/MessageQueue-JNI: at android.view.ViewRootImpl$WindowInputEventReceiver.onInputEvent(ViewRootImpl.java:6408) [ERROR] : E/MessageQueue-JNI: at android.view.InputEventReceiver.dispatchInputEvent(InputEventReceiver.java:185 {code} This is the line that causes the crash: {code:java} textoLbl.html = args.destacados; {code} if I put this all works ok (but the html tags aren't parsed) {code:java} textoLbl.text = args.destacados; {code} This only happens when I do scroll. *TEST CASE:* index.xml {code:java} <Label id="tituloLbl"></Label> {code} index.js {code:java} textoLbl.html = "<p>El presente curso re&uacute;ne tanto aspecto de gesti&oacute;n</br>del desempe&ntilde;o del trabajo como aspectos de gesti&oacute;n</p>"; {code}

    Appcelerator JIRA | 7 months ago | Anna
    java.lang.NullPointerException
  2. 0

    On Android, if I use the html property in a Label, when I do scroll this error appear: {code:java} [ERROR] : InputEventReceiver: Exception dispatching input event. [ERROR] : E/MessageQueue-JNI: Exception in MessageQueue callback: handleReceiveCallback [ERROR] : E/MessageQueue-JNI: java.lang.NullPointerException [ERROR] : E/MessageQueue-JNI: at ti.modules.titanium.ui.widget.TiUILabel$1.onTouchEvent(TiUILabel.java:105) [ERROR] : E/MessageQueue-JNI: at android.view.View.dispatchTouchEvent(View.java:8132) [ERROR] : E/MessageQueue-JNI: at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2431) [ERROR] : E/MessageQueue-JNI: at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2121) [ERROR] : E/MessageQueue-JNI: at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2431) [ERROR] : E/MessageQueue-JNI: at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2121) [ERROR] : E/MessageQueue-JNI: at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2431) [ERROR] : E/MessageQueue-JNI: at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2121) [ERROR] : E/MessageQueue-JNI: at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2431) [ERROR] : E/MessageQueue-JNI: at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2121) [ERROR] : E/MessageQueue-JNI: at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2431) [ERROR] : E/MessageQueue-JNI: at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2121) [ERROR] : E/MessageQueue-JNI: at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2431) [ERROR] : E/MessageQueue-JNI: at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2121) [ERROR] : E/MessageQueue-JNI: at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2431) [ERROR] : E/MessageQueue-JNI: at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2121) [ERROR] : E/MessageQueue-JNI: at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2431) [ERROR] : E/MessageQueue-JNI: at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2121) [ERROR] : E/MessageQueue-JNI: at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2431) [ERROR] : E/MessageQueue-JNI: at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2121) [ERROR] : E/MessageQueue-JNI: at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2431) [ERROR] : E/MessageQueue-JNI: at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2121) [ERROR] : E/MessageQueue-JNI: at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2431) [ERROR] : E/MessageQueue-JNI: at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2121) [ERROR] : E/MessageQueue-JNI: at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2431) [ERROR] : E/MessageQueue-JNI: at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2121) [ERROR] : E/MessageQueue-JNI: at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2431) [ERROR] : E/MessageQueue-JNI: at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2121) [ERROR] : E/MessageQueue-JNI: at com.android.internal.policy.impl.PhoneWindow$DecorView.superDispatchTouchEvent(PhoneWindow.java:2292) [ERROR] : E/MessageQueue-JNI: at com.android.internal.policy.impl.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:1622) [ERROR] : E/MessageQueue-JNI: at android.app.Activity.dispatchTouchEvent(Activity.java:2543) [ERROR] : E/MessageQueue-JNI: at android.support.v7.internal.view.WindowCallbackWrapper.dispatchTouchEvent(WindowCallbackWrapper.java:60) [ERROR] : E/MessageQueue-JNI: at com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchTouchEvent(PhoneWindow.java:2240) [ERROR] : E/MessageQueue-JNI: at android.view.View.dispatchPointerEvent(View.java:8340) [ERROR] : E/MessageQueue-JNI: at android.view.ViewRootImpl$ViewPostImeInputStage.processPointerEvent(ViewRootImpl.java:4612) [ERROR] : E/MessageQueue-JNI: at android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(ViewRootImpl.java:4478) [ERROR] : E/MessageQueue-JNI: at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:4036) [ERROR] : E/MessageQueue-JNI: at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:4090) [ERROR] : E/MessageQueue-JNI: at android.view.ViewRootImpl$InputStage.forward(ViewR [ERROR] : E/MessageQueue-JNI: at android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:4170) [ERROR] : E/MessageQueue-JNI: at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:4067) [ERROR] : E/MessageQueue-JNI: at android.view.ViewRootImpl$AsyncInputStage.apply(ViewRootImpl.java:4227) [ERROR] : E/MessageQueue-JNI: at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:4036) [ERROR] : E/MessageQueue-JNI: at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:4090) [ERROR] : E/MessageQueue-JNI: at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:4059) [ERROR] : E/MessageQueue-JNI: at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:4067) [ERROR] : E/MessageQueue-JNI: at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:4036) [ERROR] : E/MessageQueue-JNI: at android.view.ViewRootImpl.deliverInputEvent(ViewRootImpl.java:6328) [ERROR] : E/MessageQueue-JNI: at android.view.ViewRootImpl.doProcessInputEvents(ViewRootImpl.java:6277) [ERROR] : E/MessageQueue-JNI: at android.view.ViewRootImpl.enqueueInputEvent(ViewRootImpl.java:6248) [ERROR] : E/MessageQueue-JNI: at android.view.ViewRootImpl.enqueueInputEvent(ViewRootImpl.java:6213) [ERROR] : E/MessageQueue-JNI: at android.view.ViewRootImpl$WindowInputEventReceiver.onInputEvent(ViewRootImpl.java:6408) [ERROR] : E/MessageQueue-JNI: at android.view.InputEventReceiver.dispatchInputEvent(InputEventReceiver.java:185 {code} This is the line that causes the crash: {code:java} textoLbl.html = args.destacados; {code} if I put this all works ok (but the html tags aren't parsed) {code:java} textoLbl.text = args.destacados; {code} This only happens when I do scroll. *TEST CASE:* index.xml {code:java} <Label id="tituloLbl"></Label> {code} index.js {code:java} textoLbl.html = "<p>El presente curso re&uacute;ne tanto aspecto de gesti&oacute;n</br>del desempe&ntilde;o del trabajo como aspectos de gesti&oacute;n</p>"; {code}

    Appcelerator JIRA | 7 months ago | Anna
    java.lang.NullPointerException
  3. 0

    Android: Saving Map State in Google map

    Stack Overflow | 11 months ago | Junie Negentien
    java.lang.RuntimeException: Unable to resume activity {com.ourThesis.junieNegentien2015/com.ourThesis.junieNegentien2015.MainActivity}: java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    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.NullPointerException

      No message provided

      at ti.modules.titanium.ui.widget.TiUILabel$1.onTouchEvent()
    2. ti.modules.titanium
      TiUILabel$1.onTouchEvent
      1. ti.modules.titanium.ui.widget.TiUILabel$1.onTouchEvent(TiUILabel.java:105)
      1 frame
    3. Android Platform
      ViewGroup.dispatchTouchEvent
      1. android.view.View.dispatchTouchEvent(View.java:8132)
      2. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2431)
      3. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2121)
      4. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2431)
      5. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2121)
      6. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2431)
      7. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2121)
      8. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2431)
      9. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2121)
      10. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2431)
      11. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2121)
      12. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2431)
      13. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2121)
      14. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2431)
      15. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2121)
      16. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2431)
      17. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2121)
      18. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2431)
      19. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2121)
      20. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2431)
      21. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2121)
      22. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2431)
      23. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2121)
      24. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2431)
      25. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2121)
      26. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2431)
      27. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2121)
      27 frames
    4. Android
      PhoneWindow.superDispatchTouchEvent
      1. com.android.internal.policy.impl.PhoneWindow$DecorView.superDispatchTouchEvent(PhoneWindow.java:2292)
      2. com.android.internal.policy.impl.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:1622)
      2 frames
    5. Android Platform
      Activity.dispatchTouchEvent
      1. android.app.Activity.dispatchTouchEvent(Activity.java:2543)
      1 frame
    6. Android v7
      WindowCallbackWrapper.dispatchTouchEvent
      1. android.support.v7.internal.view.WindowCallbackWrapper.dispatchTouchEvent(WindowCallbackWrapper.java:60)
      1 frame
    7. Android
      PhoneWindow$DecorView.dispatchTouchEvent
      1. com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchTouchEvent(PhoneWindow.java:2240)
      1 frame
    8. Android Platform
      ViewRootImpl$InputStage.onDeliverToNext
      1. android.view.View.dispatchPointerEvent(View.java:8340)
      2. android.view.ViewRootImpl$ViewPostImeInputStage.processPointerEvent(ViewRootImpl.java:4612)
      3. android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(ViewRootImpl.java:4478)
      4. android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:4036)
      5. android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:4090)
      5 frames