Hello, I have a data binded table view look like this:
<TableView bubbleParent = "false" id = "mainTableView" layout = "vertical" dataCollection = "queue" height = "Ti.UI.FILL">and the definition:
var myQueuesTable = Alloy.Collections.queue;and when I am trying to remove one of the rows with:
myQueuesTable.at(rowIndex).destroy();the row is deleted, but when I am trying to click on another row the app is crashing with nullPointerException. the exception:
[ERROR] : TiApplication: (main) [3137,16253] Sending event: exception on thread: main msg:java.lang.NullPointerException; Titanium 3.5.1,2015/03/05 10:08,96875c9 [ERROR] : TiApplication: java.lang.NullPointerException [ERROR] : TiApplication: at ti.modules.titanium.ui.TableViewRowProxy.handleMessage(TableViewRowProxy.java:180) [ERROR] : TiApplication: at android.os.Handler.dispatchMessage(Handler.java:95) [ERROR] : TiApplication: at android.os.Looper.loop(Looper.java:137) [ERROR] : TiApplication: at android.app.ActivityThread.main(ActivityThread.java:5306) [ERROR] : TiApplication: at java.lang.reflect.Method.invokeNative(Native Method) [ERROR] : TiApplication: at java.lang.reflect.Method.invoke(Method.java:511) [ERROR] : TiApplication: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1102) [ERROR] : TiApplication: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:869) [ERROR] : TiApplication: at dalvik.system.NativeStart.main(Native Method) [INFO] : Process: Sending signal. PID: 4758 SIG: 9I am using SDK 3.5.1 and compiling to android device - galaxy s4. someone knows what to do? Thank's!