【友盟+】开发者社区

【求助】新装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 |上传

本版积分规则

发表主题

精彩推荐

友盟启动初始化报错
版本更新后启动一直报这个错误
微信分享音乐类型失败
近期微信官方对音乐类型的分享增加了白名单限制,会导致不在白名单内的APP分享音乐类型失败 出现这种情
运行报错java.lang.NoClassDefFoundError:有人遇到过吗?
在项目中集成友盟分享功能,只加了微信、qq、微博,都是精简版。按照友盟官方的方法操作的。 签名用的友盟

关注我们

新浪微博
微信

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

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