java.lang.NullPointerException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • 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}
    via by Anna,
  • 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}
    via by Anna,
    • java.lang.NullPointerException at ti.modules.titanium.ui.widget.TiUILabel$1.onTouchEvent(TiUILabel.java:105) at android.view.View.dispatchTouchEvent(View.java:8132) at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2431) at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2121) at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2431) at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2121) at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2431) at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2121) at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2431) at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2121) at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2431) at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2121) at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2431) at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2121) at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2431) at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2121) at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2431) at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2121) at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2431) at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2121) at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2431) at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2121) at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2431) at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2121) at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2431) at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2121) at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2431) at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2121) at com.android.internal.policy.impl.PhoneWindow$DecorView.superDispatchTouchEvent(PhoneWindow.java:2292) at com.android.internal.policy.impl.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:1622) at android.app.Activity.dispatchTouchEvent(Activity.java:2543) at android.support.v7.internal.view.WindowCallbackWrapper.dispatchTouchEvent(WindowCallbackWrapper.java:60) at com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchTouchEvent(PhoneWindow.java:2240) at android.view.View.dispatchPointerEvent(View.java:8340) at android.view.ViewRootImpl$ViewPostImeInputStage.processPointerEvent(ViewRootImpl.java:4612) at android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(ViewRootImpl.java:4478) at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:4036) at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:4090)
    No Bugmate found.