你的桌子没有创建,所以你得到了NPE
.
你应该在Column Name
和之间添加空格Column Type
private static final String CREATE_TABLE = "CREATE TABLE " + TABLE_NAME + "(" + COLUMN_UID + " INTEGER PRIMARY KEY AUTOINCREMENT, " + NAME + " VARCHAR(32) NOT NULL, " + NUMBER + " INTEGER, " + EMAIL + " VARCHAR(25) NOT NULL, " + JOBTYPE + " VARCHAR(20) NOT NULL, " + URI + " VARCHAR(50) NOT NULL, " + MSG + " VARCHAR(500) NOT NULL);";