log
11-24 02:08:21.050: D/gralloc_goldfish(1394): Emulator without GPU emulation detected.
11-24 02:09:06.610: W/dalvikvm(1394): threadid=1: thread exiting with uncaught exception (group=0xb4a5bb90)
11-24 02:09:06.700: E/AndroidRuntime(1394): FATAL EXCEPTION: main
11-24 02:09:06.700: E/AndroidRuntime(1394): Process: ui.cqupt, PID: 1394
11-24 02:09:06.700: E/AndroidRuntime(1394): java.lang.NullPointerException
11-24 02:09:06.700: E/AndroidRuntime(1394): at android.database.sqlite.SQLiteOpenHelper.getDatabaseLocked(SQLiteOpenHelper.java:224)
11-24 02:09:06.700: E/AndroidRuntime(1394): at android.database.sqlite.SQLiteOpenHelper.getWritableDatabase(SQLiteOpenHelper.java:164)
11-24 02:09:06.700: E/AndroidRuntime(1394): at db.cquupt.DBconnection.getConnection(DBconnection.java:39)
11-24 02:09:06.700: E/AndroidRuntime(1394): at model.cqupt.BookList.getBookList(BookList.java:25)
11-24 02:09:06.700: E/AndroidRuntime(1394): at control.cqupt.Contol.addBook(Contol.java:8)
11-24 02:09:06.700: E/AndroidRuntime(1394): at ui.cqupt.InsertActivity$ButtonListener.onClick(InsertActivity.java:43)
11-24 02:09:06.700: E/AndroidRuntime(1394): at android.view.View.performClick(View.java:4424)
11-24 02:09:06.700: E/AndroidRuntime(1394): at android.view.View$PerformClick.run(View.java:18383)
11-24 02:09:06.700: E/AndroidRuntime(1394): at android.os.Handler.handleCallback(Handler.java:733)
11-24 02:09:06.700: E/AndroidRuntime(1394): at android.os.Handler.dispatchMessage(Handler.java:95)
11-24 02:09:06.700: E/AndroidRuntime(1394): at android.os.Looper.loop(Looper.java:137)
11-24 02:09:06.700: E/AndroidRuntime(1394): at android.app.ActivityThread.main(ActivityThread.java:4998)
11-24 02:09:06.700: E/AndroidRuntime(1394): at java.lang.reflect.Method.invokeNative(Native Method)
11-24 02:09:06.700: E/AndroidRuntime(1394): at java.lang.reflect.Method.invoke(Method.java:515)
11-24 02:09:06.700: E/AndroidRuntime(1394): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:777)
11-24 02:09:06.700: E/AndroidRuntime(1394): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:593)
11-24 02:09:06.700: E/AndroidRuntime(1394): at dalvik.system.NativeStart.main(Native Method)
Android中使用数据库进行数据插入时提示unfortunately
- 写回答
- 好问题 0 提建议
- 追加酬金
- 关注问题
- 邀请回答
-
3条回答 默认 最新
- ziyejinwei1994 2016-11-24 00:14关注解决 无用评论 打赏 举报
- liujiao_jiaoliu 2016-11-24 21:10关注解决 无用评论 打赏 举报
- liujiao_jiaoliu 2016-11-27 06:56关注解决 无用评论 打赏 举报
悬赏问题
- ¥15 点云密度大则包围盒小
- ¥15 nginx使用nfs进行服务器的数据共享
- ¥15 C#i编程中so-ir-192编码的字符集转码UTF8问题
- ¥15 51嵌入式入门按键小项目
- ¥30 海外项目,如何降低Google Map接口费用?
- ¥15 fluentmeshing
- ¥15 手机/平板的浏览器里如何实现类似荧光笔的效果
- ¥15 盘古气象大模型调用(python)
- ¥15 传人记程序做的plc 485从机程序该如何写
- ¥15 已知手指抓握过程中掌指关节、手指各关节和指尖每一帧的坐标,用贝塞尔曲线可以拟合手指抓握的运动轨迹吗?