WinDeath na notifyDataSetChanged ()

Cześć Mam następujący problem:

data.clear();
data.addAll(datasource.getFilesInFolder());  //gets the data from Sqlite database
adapter.notifyDataSetChanged();

generuje to wyjście logCat:

 12-19 14:34:30.864: W/Binder(986): Caught a RuntimeException from the binder stub implementation.
 12-19 14:34:30.864: W/Binder(986): java.lang.NullPointerException
 12-19 14:34:30.864: W/Binder(986):     at        android.inputmethodservice.IInputMethodWrapper.setSessionEnabled(IInputMethodWrapper.java:280)
 12-19 14:34:30.864: W/Binder(986):     at com.android.internal.view.IInputMethod$Stub.onTransact(IInputMethod.java:129)
 12-19 14:34:30.864: W/Binder(986):     at android.os.Binder.execTransact(Binder.java:404)
 12-19 14:34:30.864: W/Binder(986):     at dalvik.system.NativeStart.run(Native Method)
 12-19 14:34:30.864: W/InputMethodManagerService(757): Got RemoteException sending setActive(false) notification to pid 30040 uid 10174

Ten wyjątek powoduje WIN DEATH ...

Cóż, zdałem sobie sprawę, że może być odwrotnie, WYGRAJ ŚMIERĆ powodując to wyjście dziennika, ponieważ w logu WINDEATH pojawia się wcześniej, wtedy nie mam pojęcia, dlaczego pojawia się wiatr.

Mój adapter jest przedłużony BaseAdapter, nie ma w nim nic specjalnego. Bardzo dziwne jest to, co następuje:

Wspomniany fragment kodu znajduje się wewnątrz niestandardowego odbiornika, który jest wyzwalany z innej klasy. Kiedy umieszczam problematyczną część poza słuchaczem, działa dobrze.

RobięCaught a RuntimeException from the binder stub implementation oznaczać ? Czy może to być problem z bazą danych? a może mój niestandardowy słuchacz? Ktoś ma pomysł, co się stało?

questionAnswers(2)

yourAnswerToTheQuestion