【友盟+】开发者社区

【求助】新装app出现missing Activities info,不上报用户时长。

fome2k8 发表于 2016-12-19 15:45:18 |

fome2k8
fome2k8 发表于 2016-12-14 20:22:39 | 显示全部楼层 |阅读模式
问题现象:
新安装app,首次启动会报missing Activities info in Terminate和MobclickAgent: java.lang.NullPointerException,并且导致无法记录用户时长数据。
重启app,或者重启手机,故障可能会解除,然后能正常上报时长数据。


"sdk_version":"4.6.3"

想咨询:这个错误产生的原因?是集成编译问题?还是代码初始化出现问题?

测试日志:
12-14 19:37:22.809 8883-9207/? D/MobclickAgent: cache buffer success
12-14 19:37:23.656 8883-9207/? I/MobclickAgent: Extend current session: E411295EC6FFB1AEE893E74BF714B0D6
12-14 19:37:25.393 8883-9207/? I/MobclickAgent: Extend current session: E411295EC6FFB1AEE893E74BF714B0D6
12-14 19:38:56.423 8883-9207/? W/MobclickAgent: missing receive and transport Traffic in Terminate
12-14 19:38:56.424 8883-9207/? W/MobclickAgent: missing Activities info in Terminate
12-14 19:38:56.431 8883-9207/? I/MobclickAgent: Start new session: 1D49FF6F1C5FB1D5772BA7304548755B
12-14 19:41:56.133 8883-9207/? I/MobclickAgent: java.lang.NullPointerException: Attempt to invoke virtual method 'int java.util.ArrayList.size()' on a null object reference:  [Fail to write json ...]
12-14 19:41:56.135 8883-9207/? D/MobclickAgent: cache buffer success
12-14 19:41:56.223 8883-9207/? I/MobclickAgent: Extend current session: 1D49FF6F1C5FB1D5772BA7304548755B
12-14 19:47:01.064 8883-9207/? I/MobclickAgent: Extend current session: 1D49FF6F1C5FB1D5772BA7304548755B
12-14 19:47:21.052 8883-9207/? I/MobclickAgent: Extend current session: 1D49FF6F1C5FB1D5772BA7304548755B
12-14 19:47:21.378 8883-9207/? I/MobclickAgent: Extend current session: 1D49FF6F1C5FB1D5772BA7304548755B
12-14 19:47:22.657 8883-9207/? I/MobclickAgent: Extend current session: 1D49FF6F1C5FB1D5772BA7304548755B
12-14 19:47:46.154 12066-12223/? I/MobclickAgent: response : false
12-14 19:47:48.199 12066-12066/? W/MobclickAgent: can't call onEvent before session is initialized
12-14 19:47:51.979 12066-12323/? I/MobclickAgent: Extend current session: 1D49FF6F1C5FB1D5772BA7304548755B
12-14 19:47:56.520 12066-12323/? D/MobclickAgent: cache buffer success
12-14 19:48:13.293 12066-12323/? I/MobclickAgent: Extend current session: 1D49FF6F1C5FB1D5772BA7304548755B
12-14 19:48:16.133 12066-12323/? D/MobclickAgent: cache buffer success
12-14 19:48:16.882 12066-12323/? I/MobclickAgent: Extend current session: 1D49FF6F1C5FB1D5772BA7304548755B
12-14 19:48:18.491 12066-12323/? I/MobclickAgent: Extend current session: 1D49FF6F1C5FB1D5772BA7304548755B
12-14 19:52:03.933 12066-12323/? I/MobclickAgent: Start new session: C11DC8793D1572D58DE2677673ADC35A
12-14 19:52:10.173 12066-12323/? D/MobclickAgent: cache buffer success
12-14 19:52:10.181 12066-12323/? I/MobclickAgent: Extend current session: C11DC8793D1572D58DE2677673ADC35A
12-14 19:52:19.594 12066-12323/? I/MobclickAgent: Extend current session: C11DC8793D1572D58DE2677673ADC35A
12-14 19:53:02.136 12066-12323/? D/MobclickAgent: cache buffer success
12-14 19:53:02.339 12066-12323/? I/MobclickAgent: Extend current session: C11DC8793D1572D58DE2677673ADC35A




上一篇:Android 7.1 上获取 MAC 地址报错
下一篇:友盟分析抛出以下异常


高级模式
B Color Image Link Quote Code Smilies |上传

本版积分规则

发表主题

精彩推荐

3.1.1版本用vs2015打包dll报错
想把sdk打包成dll来用,报了这些错误,请问还需要引用什么包吗?
新浪开放平台应用注册方法
新浪开放平台地址:http://open.weibo.com/ 1. 创建应用 注意选择微连接-移动应用 2. 填写应用信息 An
腾讯开放平台应用申请方法
腾讯开放平台地址:http://open.qq.com/ 1. 创建应用 创建应用时注意勾选对应的Android或iOS平台 2.

关注我们

新浪微博
微信

欢迎关注友盟官方微博微信!

在线客服
返回顶部 返回列表