[
https://issues.apache.org/jira/browse/CB-6055?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13904488#comment-13904488
]
ASF subversion and git services commented on CB-6055:
-----------------------------------------------------
Commit 273158579f703401304c68365250c16340bb7df7 in cordova-mobile-spec's branch
refs/heads/master from [~agrieve]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-mobile-spec.git;h=2731585 ]
CB-6055 Fix mobile-spec trying to JSONify a FileEntry.
Used to be okay, but not anymore.
> Converting Circular Structure to JSON?
> ---------------------------------------
>
> Key: CB-6055
> URL: https://issues.apache.org/jira/browse/CB-6055
> Project: Apache Cordova
> Issue Type: Bug
> Components: Android, Plugin Camera
> Reporter: Joe Bowser
> Assignee: Andrew Grieve
> Priority: Minor
>
> This stack trace appeared when I tried testing your camera fix. Since I'm
> still figuring out exactly how you fixed this, I'm wondering if you can
> figure out what this means. Can you and Ian look at this?
> BTW: Good job on the fix, I think you guys killed five bugs at once with this
> one.
> D/CordovaLog(11549): file:///android_asset/www/cordova.js: Line 1036 :
> processMessage failed: Stack: TypeError: Converting circular structure to JSON
> D/CordovaLog(11549): at Object.stringify (native)
> D/CordovaLog(11549): at file:///android_asset/www/camera/index.html:149:86
> D/CordovaLog(11549): at file:///android_asset/www/camera/index.html:102:65
> D/CordovaLog(11549): at success
> (file:///android_asset/www/plugins/org.apache.cordova.file/www/resolveLocalFileSystemURI.js:55:17)
> D/CordovaLog(11549): at Object.cordova.callbackFromNative
> (file:///android_asset/www/cordova.js:292:54)
> D/CordovaLog(11549): at processMessage
> (file:///android_asset/www/cordova.js:1029:21)
> D/CordovaLog(11549): at Function.androidExec.processMessages
> (file:///android_asset/www/cordova.js:1063:13)
> D/CordovaLog(11549): at pollOnce
> (file:///android_asset/www/cordova.js:933:17)
> D/CordovaLog(11549): at pollOnceFromOnlineEvent
> (file:///android_asset/www/cordova.js:928:5)
> I/chromium(11549): [INFO:CONSOLE(1036)] "processMessage failed: Stack:
> TypeError: Converting circular structure to JSON
> I/chromium(11549): at Object.stringify (native)
> I/chromium(11549): at file:///android_asset/www/camera/index.html:149:86
> I/chromium(11549): at file:///android_asset/www/camera/index.html:102:65
> I/chromium(11549): at success
> (file:///android_asset/www/plugins/org.apache.cordova.file/www/resolveLocalFileSystemURI.js:55:17)
> I/chromium(11549): at Object.cordova.callbackFromNative
> (file:///android_asset/www/cordova.js:292:54)
> I/chromium(11549): at processMessage
> (file:///android_asset/www/cordova.js:1029:21)
> I/chromium(11549): at Function.androidExec.processMessages
> (file:///android_asset/www/cordova.js:1063:13)
> I/chromium(11549): at pollOnce
> (file:///android_asset/www/cordova.js:933:17)
> I/chromium(11549): at pollOnceFromOnlineEvent
> (file:///android_asset/www/cordova.js:928:5)", source:
> file:///android_asset/www/cordova.js (1036)
> W/dalvikvm( 2274): JNI: unpinPrimitiveArray(0x420426e0) failed to find entry
> (valid=1)
> W/dalvikvm( 2274): JNI: unpinPrimitiveArray(0x42021d08) failed to find entry
> (valid=1)
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)