You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Lyubomir Gospodinov (JIRA)" <ji...@apache.org> on 2014/12/11 17:45:13 UTC
[jira] [Comment Edited] (CB-7968) ConcurrentModificationException
in postMessage
[ https://issues.apache.org/jira/browse/CB-7968?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14242765#comment-14242765 ]
Lyubomir Gospodinov edited comment on CB-7968 at 12/11/14 4:44 PM:
-------------------------------------------------------------------
In my case, this happens when I call appView.loadUrl from inside a plugin's initialize method. Workaround is calling loadUrlIntoView(url, false) in order NOT to recreate plugins.
was (Author: lubogospod):
In my case, this happens when I call appView.loadUrl from inside a plugin. Workaround is calling loadUrlIntoView(url, false) in order NOT to recreate plugins.
> ConcurrentModificationException in postMessage
> ----------------------------------------------
>
> Key: CB-7968
> URL: https://issues.apache.org/jira/browse/CB-7968
> Project: Apache Cordova
> Issue Type: Bug
> Components: Android
> Affects Versions: 3.5.0
> Environment: Nexus 7 (2G) razorg
> Reporter: Clayton Grassick
>
> Crash observed in Cordova messaging code:
> java.util.ConcurrentModificationException
> at java.util.HashMap$HashIterator.nextEntry(HashMap.java:806)
> at java.util.HashMap$ValueIterator.next(HashMap.java:838)
> at org.apache.cordova.PluginManager.postMessage(PluginManager.java:271)
> at org.apache.cordova.CordovaWebView.postMessage(CordovaWebView.java:528)
> at org.apache.cordova.App$1.run(App.java:78)
> at android.os.Handler.handleCallback(Handler.java:733)
> at android.os.Handler.dispatchMessage(Handler.java:95)
> at android.os.Looper.loop(Looper.java:136)
> at android.app.ActivityThread.main(ActivityThread.java:5017)
> at java.lang.reflect.Method.invokeNative(Native Method)
> at java.lang.reflect.Method.invoke(Method.java:515)
> at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779)
> at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595)
> at dalvik.system.NativeStart.main(Native Method)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org