首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >使用Cloudrail 2.7.0进行门户统计时应用程序崩溃

使用Cloudrail 2.7.0进行门户统计时应用程序崩溃
EN

Stack Overflow用户
提问于 2016-09-17 01:05:15
回答 1查看 69关注 0票数 0

在看起来工作了一段时间后,cloudrail 2.7.0现在反复崩溃,出现以下问题:

代码语言:javascript
复制
Fatal Exception: java.lang.RuntimeException: ServiceCode Error in function selfTest at 26
   at com.cloudrail.si.servicecode.Interpreter.run(Unknown Source)
   at com.cloudrail.si.servicecode.Interpreter.callFunction(Unknown Source)
   at com.cloudrail.si.servicecode.InitSelfTest.execute(Unknown Source)
   at com.cloudrail.si.servicecode.InitSelfTest.initTest(Unknown Source)
   at com.cloudrail.si.statistics.InitSelfTestTask.run(Unknown Source)
Caused by java.lang.NullPointerException
   at com.cloudrail.si.servicecode.commands.http.RequestCall.execute(Unknown Source)
   at com.cloudrail.si.servicecode.Interpreter.run(Unknown Source)
   at com.cloudrail.si.servicecode.Interpreter.callFunction(Unknown Source)
   at com.cloudrail.si.servicecode.InitSelfTest.execute(Unknown Source)
   at com.cloudrail.si.servicecode.InitSelfTest.initTest(Unknown Source)
   at com.cloudrail.si.statistics.InitSelfTestTask.run(Unknown Source)

我已经尝试过单步执行代码,但看不到原因。我所能看到的是,在InitSelfTest中,在try/catch块中没有包装下面这行代码,因此可能会假设appContext.getPackageName()不为空?

代码语言:javascript
复制
  ip.callFunction("selfTest", new Object[]{interpreterStorage, appContext.getPackageName(), appInfo1.className, appVersionName, appVersionCode});
EN

回答 1

Stack Overflow用户

发布于 2016-09-18 19:15:54

此问题已在版本2.7.1中得到解决。这也是通过github报道的:https://github.com/CloudRail/cloudrail-si-android-sdk/issues/38

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/39536753

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档