IBM工作灯Android 4.4系统的问题,JSON商店停止工作 [英] IBM Worklight Android 4.4 issue, JSON Store stopped working

查看:160
本文介绍了IBM工作灯Android 4.4系统的问题,JSON商店停止工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚升级我的N4至奇巧,并测试了一些老的应用程序使用IBM工作灯正在开发中。这是令人震惊的我, JSON商店停止工作,我提出以下日志,请检查。没有任何人面临同样的问题?

  

11月11日至27号:48:03.078:I / jsonstore芯(23424):执行迁移   JSONStore 2.0十一月11日至27日:48:03.078:E / jsonstore芯(23424):无法   创建jsonstore目录11月11号至27号:48:03.078:   E / jsonstore芯(23424):java.lang.Exception的:无法创建   jsonstore目录一十一月11日至27日:48:03.078:E / jsonstore芯(23424):在   com.worklight.androidgap.plugin.storage.ProvisionActionDispatcher.checkVersionMigration(ProvisionActionDispatcher.java:72)   十一月11号至27号:48:03.078:E / jsonstore芯(23424):在   com.worklight.androidgap.plugin.storage.ProvisionActionDispatcher.dispatch(ProvisionActionDispatcher.java:220)   十一月11号至27号:48:03.078:E / jsonstore芯(23424):在   com.worklight.androidgap.plugin.storage.BaseActionDispatcher.dispatch(BaseActionDispatcher.java:87)   十一月11号至27号:48:03.078:E / jsonstore芯(23424):在   com.worklight.androidgap.plugin.storage.DispatchingPlugin$ActionDispatcherRunnable.run(DispatchingPlugin.java:113)   十一月11号至27号:48:03.078:E / jsonstore芯(23424):在   com.worklight.androidgap.plugin.storage.DispatchingPlugin$SerialExecutor$1.run(DispatchingPlugin.java:147)   十一月11号至27号:48:03.078:E / jsonstore芯(23424):在   java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)   十一月11号至27号:48:03.078:E / jsonstore芯(23424):在   java.util.concurrent.ThreadPoolExecutor中的$ Worker.run(ThreadPoolExecutor.java:587)   十一月11号至27号:48:03.078:E / jsonstore芯(23424):在   java.lang.Thread.run(Thread.java:841)11月27号11:48:03.078:   E / jsonstore芯(23424):错误提供11-27在11:48:03.078:   E / jsonstore芯(23424):java.lang.Exception的:无法创建   jsonstore目录一十一月11日至27日:48:03.078:E / jsonstore芯(23424):在   com.worklight.androidgap.plugin.storage.ProvisionActionDispatcher.checkVersionMigration(ProvisionActionDispatcher.java:72)   十一月11号至27号:48:03.078:E / jsonstore芯(23424):在   com.worklight.androidgap.plugin.storage.ProvisionActionDispatcher.dispatch(ProvisionActionDispatcher.java:220)   十一月11号至27号:48:03.078:E / jsonstore芯(23424):在   com.worklight.androidgap.plugin.storage.BaseActionDispatcher.dispatch(BaseActionDispatcher.java:87)   十一月11号至27号:48:03.078:E / jsonstore芯(23424):在   com.worklight.androidgap.plugin.storage.DispatchingPlugin$ActionDispatcherRunnable.run(DispatchingPlugin.java:113)   十一月11号至27号:48:03.078:E / jsonstore芯(23424):在   com.worklight.androidgap.plugin.storage.DispatchingPlugin$SerialExecutor$1.run(DispatchingPlugin.java:147)   十一月11号至27号:48:03.078:E / jsonstore芯(23424):在   java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)   十一月11号至27号:48:03.078:E / jsonstore芯(23424):在   java.util.concurrent.ThreadPoolExecutor中的$ Worker.run(ThreadPoolExecutor.java:587)   十一月11号至27号:48:03.078:E / jsonstore芯(23424):在   java.lang.Thread.run(Thread.java:841)

     

初​​始化通知错误:-----> {SRC:initCollection,犯错:-1,   味精:PERSISTENT_STORE_FAILURE,山口:通知,USR:   测试,文档:{},资源:{}} [wl.jsonstore]   {"src":"initCollection","err":-1,"msg":"PERSISTENT_STORE_FAILURE","col":"Notification","usr":"test","doc":{},"res":{}}

解决方案

JSONStore,一个工作灯功能,使JSON文件的持久存储,使用一个API,它是不工作的第三方库的支持此功能之一不再可用。

下面是<一href="https://www.ibm.com/developerworks/community/blogs/worklightsmobileplayground/entry/android_4_4_kitkat_support_is_here?lang=en"相对=nofollow>链接阅读更多。

I have just upgraded my N4 to Kitkat and tested some of old apps being developed using IBM Worklight. It was shocking for me that JSON Store stopped working, I am submitting below log please check. Does anyone else face the same issue ?

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":{}}

解决方案

JSONStore, a Worklight feature that enables persistent storage of JSON documents, is not working as one of the third-party libraries supporting this feature is using an API that is no longer available.

Here is LINK to read more.

这篇关于IBM工作灯Android 4.4系统的问题,JSON商店停止工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆