IBM Worklight Android 4.4问题,JSON Store停止运行

时间:2013-11-27 06:32:41

标签: android ibm-mobilefirst jsonstore

我刚刚将N4升级到Kitkat并测试了一些使用IBM Worklight开发的旧应用程序。令我震惊的是 JSON商店停止工作,我提交下面的日志请检查。还有其他人面临同样的问题吗?

  

11-27 11:48:03.078:I / jsonstore-core(23424):执行迁移到   JSONStore 2.0 11-27 11:48:03.078:E / jsonstore-core(23424):无法   创建jsonstore目录11-27 11:48:03.078:   E / jsonstore-core(23424):java.lang.Exception:无法创建   jsonstore目录11-27 11:48:03.078:E / jsonstore-core(23424):at   com.worklight.androidgap.plugin.storage.ProvisionActionDispatcher.checkVersionMigration(ProvisionActionDispatcher.java:72)   11-27 11:48:03.078:E / jsonstore-core(23424):at   com.worklight.androidgap.plugin.storage.ProvisionActionDispatcher.dispatch(ProvisionActionDispatcher.java:220)   11-27 11:48:03.078:E / jsonstore-core(23424):at   com.worklight.androidgap.plugin.storage.BaseActionDispatcher.dispatch(BaseActionDispatcher.java:87)   11-27 11:48:03.078:E / jsonstore-core(23424):at   com.worklight.androidgap.plugin.storage.DispatchingPlugin $ ActionDispatcherRunnable.run(DispatchingPlugin.java:113)   11-27 11:48:03.078:E / jsonstore-core(23424):at   com.worklight.androidgap.plugin.storage.DispatchingPlugin $ SerialExecutor $ 1.run(DispatchingPlugin.java:147)   11-27 11:48:03.078:E / jsonstore-core(23424):at   java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)   11-27 11:48:03.078:E / jsonstore-core(23424):at   java.util.concurrent.ThreadPoolExecutor中的$ Worker.run(ThreadPoolExecutor.java:587)   11-27 11:48:03.078:E / jsonstore-core(23424):at   java.lang.Thread.run(Thread.java:841)11-27 11:48:03.078:   E / jsonstore-core(23424):在规定期间出错11-27 11:48:03.078:   E / jsonstore-core(23424):java.lang.Exception:无法创建   jsonstore目录11-27 11:48:03.078:E / jsonstore-core(23424):at   com.worklight.androidgap.plugin.storage.ProvisionActionDispatcher.checkVersionMigration(ProvisionActionDispatcher.java:72)   11-27 11:48:03.078:E / jsonstore-core(23424):at   com.worklight.androidgap.plugin.storage.ProvisionActionDispatcher.dispatch(ProvisionActionDispatcher.java:220)   11-27 11:48:03.078:E / jsonstore-core(23424):at   com.worklight.androidgap.plugin.storage.BaseActionDispatcher.dispatch(BaseActionDispatcher.java:87)   11-27 11:48:03.078:E / jsonstore-core(23424):at   com.worklight.androidgap.plugin.storage.DispatchingPlugin $ ActionDispatcherRunnable.run(DispatchingPlugin.java:113)   11-27 11:48:03.078:E / jsonstore-core(23424):at   com.worklight.androidgap.plugin.storage.DispatchingPlugin $ SerialExecutor $ 1.run(DispatchingPlugin.java:147)   11-27 11:48:03.078:E / jsonstore-core(23424):at   java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)   11-27 11:48:03.078:E / jsonstore-core(23424):at   java.util.concurrent.ThreadPoolExecutor中的$ Worker.run(ThreadPoolExecutor.java:587)   11-27 11:48:03.078:E / jsonstore-core(23424):at   java.lang.Thread.run(Thread.java:841)

     

init通知错误:-----> {“src”:“initCollection”,“err”: - 1,   “msg”:“PERSISTENT_STORE_FAILURE”,“col”:“通知”,“usr”:   “test”,“doc”:{},“res”:{}} [wl.jsonstore]   { “SRC”: “initCollection”, “ERR”: - 1, “msg” 中: “PERSISTENT_STORE_FAILURE”, “栏”: “通知”, “USR”: “测试”, “文档”:{}, “RES” :{}}

2 个答案:

答案 0 :(得分:6)

除了Amit Kumar的回答外,还应该注意的是,Worklight 5.0.6.x和6.0.0.x以及即将推出的6.1.0将在不久的将来发布一个修复程序。恢复了。

答案 1 :(得分:0)

JSONStore是一个支持JSON文档持久存储的Worklight功能,因为支持此功能的第三方库之一正在使用不再可用的API。

以下是LINK阅读更多内容。