2013-11-27 64 views
1

我剛剛將我的N4升級到Kitkat並測試了一些使用IBM Worklight開發的舊應用程序。令我震驚的是JSON店鋪停止工作,我在下面提交日誌請檢查。其他人是否面臨同樣的問題?IBM Worklight Android 4.4問題,JSON Store停止工作

11-27 11:48:03.078: I/jsonstore-core(23424): Performing migration to JSONStore 2.0 11-27 11:48:03.078: E/jsonstore-core(23424): Unable to create jsonstore directory 11-27 11:48:03.078: E/jsonstore-core(23424): java.lang.Exception: Unable to create jsonstore directory 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): Error during provision 11-27 11:48:03.078: E/jsonstore-core(23424): java.lang.Exception: Unable to create jsonstore directory 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 notification error:----->{ "src": "initCollection", "err": -1, "msg": "PERSISTENT_STORE_FAILURE", "col": "Notification", "usr": "test", "doc": {}, "res": {} } [wl.jsonstore] {"src":"initCollection","err":-1,"msg":"PERSISTENT_STORE_FAILURE","col":"Notification","usr":"test","doc":{},"res":{}}

回答

0

JSONStore,工作燈功能,使JSON文件的持久存儲,是不是爲支持此功能的第三方庫的一個工作是使用一個API,不再可用。

這裏是LINK閱讀更多。

6

除了Amit Kumar的回答之外,應該注意的是,Worklight 5.0.6.x和6.0.0.x以及即將推出的6.1.0的功能將在近期發佈,其中功能兼容性恢復。

+1

伊丹亞達,感謝您的信息。 –