我刚刚将 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): 在
com.worklight.androidgap.plugin.storage.ProvisionActionDispatcher.checkVersionMigration(ProvisionActionDispatcher.java:72)
11-27 11:48:03.078: E/jsonstore-core(23424): 在
com.worklight.androidgap.plugin.storage.ProvisionActionDispatcher.dispatch(ProvisionActionDispatcher.java:220)
11-27 11:48:03.078: E/jsonstore-core(23424): 在
com.worklight.androidgap.plugin.storage.BaseActionDispatcher.dispatch(BaseActionDispatcher.java:87)
11-27 11:48:03.078: E/jsonstore-core(23424): 在
com.worklight.androidgap.plugin.storage.DispatchingPlugin$ActionDispatcherRunnable.run(DispatchingPlugin.java:113)
11-27 11:48:03.078: E/jsonstore-core(23424): 在
com.worklight.androidgap.plugin.storage.DispatchingPlugin$SerialExecutor$1.run(DispatchingPlugin.java:147)
11-27 11:48:03.078: E/jsonstore-core(23424): 在
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
11-27 11:48:03.078: E/jsonstore-core(23424): 在
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
11-27 11:48:03.078: E/jsonstore-core(23424): 在
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): 在
com.worklight.androidgap.plugin.storage.ProvisionActionDispatcher.checkVersionMigration(ProvisionActionDispatcher.java:72)
11-27 11:48:03.078: E/jsonstore-core(23424): 在
com.worklight.androidgap.plugin.storage.ProvisionActionDispatcher.dispatch(ProvisionActionDispatcher.java:220)
11-27 11:48:03.078: E/jsonstore-core(23424): 在
com.worklight.androidgap.plugin.storage.BaseActionDispatcher.dispatch(BaseActionDispatcher.java:87)
11-27 11:48:03.078: E/jsonstore-core(23424): 在
com.worklight.androidgap.plugin.storage.DispatchingPlugin$ActionDispatcherRunnable.run(DispatchingPlugin.java:113)
11-27 11:48:03.078: E/jsonstore-core(23424): 在
com.worklight.androidgap.plugin.storage.DispatchingPlugin$SerialExecutor$1.run(DispatchingPlugin.java:147)
11-27 11:48:03.078: E/jsonstore-core(23424): 在
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
11-27 11:48:03.078: E/jsonstore-core(23424): 在
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
11-27 11:48:03.078: E/jsonstore-core(23424): 在
java.lang.Thread.run(Thread.java:841)
初始化通知错误:----->{ "src": "initCollection", "err": -1,
“msg”:“PERSISTENT_STORE_FAILURE”,“col”:“通知”,“usr”:
“test”,“doc”:{},“res”:{} } [wl.jsonstore]
{"src":"initCollection","err":-1,"msg":"PERSISTENT_STORE_FAILURE","col":"通知","usr":"test","doc":{},"res" :{}}
除了 Amit Kumar 的回答之外,还应该指出的是,不久的将来将发布 Worklight 5.0.6.x 和 6.0.0.x 以及即将推出的 6.1.0 的修复程序,其中恢复了功能兼容性。
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)