2016-09-16 1 views
0

Après être apparu à travailler pendant un certain temps, est maintenant cloudrail 2.7.0 écraser à plusieurs reprises avec les éléments suivants:App écraser à l'aide des statistiques Cloudrail portail 2.7.0

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) 

J'ai essayé parcourant le code mais ne peut pas voir la cause. Ce que je peux voir est que, dans InitSelfTest, la ligne suivante n'est pas enveloppée dans try/catch block et peut donc supposer que appContext.getPackageName() est non nul?

ip.callFunction("selfTest", new Object[]{interpreterStorage, appContext.getPackageName(), appInfo1.className, appVersionName, appVersionCode}); 

Répondre