|
多个线程 循环插入项目 导致崩溃
第一个错误:
java.lang.NullPointerException: Attempt to invoke virtual method '长整数 java.lang.Long.longValue()' on a null object reference
<D:\win_android\win_android\plugins\vprj_android\classlib\sys\android\base\a_ctrl_adapter.v>, 53: 错误: 位于 hsh.anzh.jb.适配器基础类.getItemId
<D:\win_android\win_android\plugins\vprj_android\classlib\sys\android\base\a_win.v>, 253: 错误: 位于 hsh.anzh.jb.窗口.dispatchTouchEvent
第二个错误:
java.lang.IllegalStateException: The content of the adapter has changed but ListView did not receive a notification. Make sure the content of your adapter is not modified from a background thread, but only from the UI thread. Make sure your adapter calls notifyDataSetChanged() when its content changes. [in ListView(2131034116, class hsh.anzh.jb.安卓自定义列表) with Adapter(class hsh.anzh.jb.简单列表适配器)]
<D:\win_android\win_android\plugins\vprj_android\classlib\sys\android\base\a_win.v>, 253: 错误: 位于 hsh.anzh.jb.窗口.dispatchTouchEvent
安卓的感觉太不稳定了,很容易崩溃掉,注释也是云雾缭绕 很随意很多没有启示意义 ,似乎有劝返的意图,要么急有所成
|
|