[Solved] Nullpointer Exception in SQL, Listivew


Your class member model from class InputTab has never initialized. Therefore, you got a NPE at line model.requery();. That’s why you saved your data, but right after that, you got a NPE. You don’t need any Cursor in this class and, of course, you don’t need to requery() anything.

2

solved Nullpointer Exception in SQL, Listivew