cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lyubomir Gospodinov (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-7968) ConcurrentModificationException in postMessage
Date Thu, 11 Dec 2014 16:44:13 GMT

    [ https://issues.apache.org/jira/browse/CB-7968?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14242765#comment-14242765
] 

Lyubomir Gospodinov commented on CB-7968:
-----------------------------------------

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


Mime
View raw message