开发者社区> 问答> 正文

条码扫描完后返回EditText插入条码报错?报错

4.0的SDK不会出错,求大侠们帮助

以下是LOGCAT:

2012-12-20 20:31:41  (1.12.17) of -> E/共创云服务(10467): com.contron.csc.utils.LogCatUtil.start# start

2012-12-20 20:31:41  (1.12.17) of -> E/共创云服务(10467): com.contron.csc.CCSApplication.onConfigurationChanged# onConfigurationChanged
2012-12-20 20:31:53  (1.12.17) of -> E/共创云服务(10563): com.contron.csc.utils.LogCatUtil.start# start
2012-12-20 20:31:53  (1.12.17) of -> E/共创云服务(10563): com.contron.csc.CCSApplication.onConfigurationChanged# onConfigurationChanged
2012-12-20 20:31:41  (1.12.17) of -> E/共创云服务(10467): com.contron.csc.CCSApplication.onConfigurationChanged# onConfigurationChanged
2012-12-20 20:32:26  (1.12.17) of -> E/共创云服务(10664): com.contron.csc.utils.LogCatUtil.start# start
2012-12-20 20:32:26  (1.12.17) of -> E/共创云服务(10664): com.contron.csc.CCSApplication.onConfigurationChanged# onConfigurationChanged
2012-12-20 20:32:26  (1.12.17) of -> W/dalvikvm(10664): threadid=1: thread exiting with uncaught exception (group=0x40015578)
2012-12-20 20:32:26  (1.12.17) of -> E/AndroidRuntime(10664): FATAL EXCEPTION: main
2012-12-20 20:32:26  (1.12.17) of -> E/AndroidRuntime(10664): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.contron.csc/com.contron.csc.ReportTabItem1Activity}: java.lang.NullPointerException
2012-12-20 20:32:26  (1.12.17) of -> E/AndroidRuntime(10664): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1651)
2012-12-20 20:32:26  (1.12.17) of -> E/AndroidRuntime(10664): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1667)
2012-12-20 20:32:26  (1.12.17) of -> E/AndroidRuntime(10664): at android.app.ActivityThread.access$1500(ActivityThread.java:117)
2012-12-20 20:32:26  (1.12.17) of -> E/AndroidRuntime(10664): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:935)
2012-12-20 20:32:26  (1.12.17) of -> E/AndroidRuntime(10664): at android.os.Handler.dispatchMessage(Handler.java:99)
2012-12-20 20:32:26  (1.12.17) of -> E/AndroidRuntime(10664): at android.os.Looper.loop(Looper.java:130)
2012-12-20 20:32:26  (1.12.17) of -> E/AndroidRuntime(10664): at android.app.ActivityThread.main(ActivityThread.java:3687)
2012-12-20 20:32:26  (1.12.17) of -> E/AndroidRuntime(10664): at java.lang.reflect.Method.invokeNative(Native Method)
2012-12-20 20:32:26  (1.12.17) of -> E/AndroidRuntime(10664): at java.lang.reflect.Method.invoke(Method.java:507)
2012-12-20 20:32:26  (1.12.17) of -> E/AndroidRuntime(10664): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:842)
2012-12-20 20:32:26  (1.12.17) of -> E/AndroidRuntime(10664): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:600)
2012-12-20 20:32:26  (1.12.17) of -> E/AndroidRuntime(10664): at dalvik.system.NativeStart.main(Native Method)
2012-12-20 20:32:26  (1.12.17) of -> E/AndroidRuntime(10664): Caused by: java.lang.NullPointerException
2012-12-20 20:32:26  (1.12.17) of -> E/AndroidRuntime(10664): at com.contron.csc.ReportTabItem1Activity.initActivity(ReportTabItem1Activity.java:134)
2012-12-20 20:32:26  (1.12.17) of -> E/AndroidRuntime(10664): at com.contron.csc.ReportTabItem1Activity.onCreate(ReportTabItem1Activity.java:339)
2012-12-20 20:32:26  (1.12.17) of -> E/AndroidRuntime(10664): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
2012-12-20 20:32:26  (1.12.17) of -> E/AndroidRuntime(10664): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1615)
2012-12-20 20:32:26  (1.12.17) of -> E/AndroidRuntime(10664): ... 11 more
2012-12-20 20:32:32  (1.12.17) of -> E/共创云服务(10731): com.contron.csc.utils.LogCatUtil.start# start
2012-12-20 20:32:32  (1.12.17) of -> W/InputManagerService(  527): Starting input on non-focused client com.android.internal.view.IInputMethodClient$Stub$Proxy@409f0c90 (uid=10018 pid=10731)
2012-12-20 20:32:32  (1.12.17) of -> E/共创云服务(10731): com.contron.csc.CCSApplication.onConfigurationChanged# onConfigurationChanged
2012-12-20 20:32:32  (1.12.17) of -> W/InputManagerService(  527): Starting input on non-focused client com.android.internal.view.IInputMethodClient$Stub$Proxy@409f0c90 (uid=10018 pid=10731)
2012-12-20 20:32:34  (1.12.17) of -> E/共创云服务(10743): com.contron.csc.utils.LogCatUtil.start# start

展开
收起
爱吃鱼的程序员 2020-06-22 22:54:20 322 0
1 条回答
写回答
取消 提交回答
  • https://developer.aliyun.com/profile/5yerqm5bn5yqg?spm=a2c6h.12873639.0.0.6eae304abcjaIB

    问下你打印条码使用什么软件打印的…

    2020-06-22 22:54:39
    赞同 展开评论 打赏
问答分类:
问答地址:
问答排行榜
最热
最新

相关电子书

更多
低代码开发师(初级)实战教程 立即下载
冬季实战营第三期:MySQL数据库进阶实战 立即下载
阿里巴巴DevOps 最佳实践手册 立即下载