You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Babu Muralidharan (Created) (JIRA)" <ji...@apache.org> on 2012/03/15 10:59:38 UTC
[jira] [Created] (CB-336) Mediafile.getFormatData hits error call
back
Mediafile.getFormatData hits error call back
---------------------------------------------
Key: CB-336
URL: https://issues.apache.org/jira/browse/CB-336
Project: Apache Callback
Issue Type: Bug
Components: WP7
Affects Versions: 1.3.0
Environment: Windows Phone
Reporter: Babu Muralidharan
Assignee: Jesse MacFadyen
Fix For: 1.6.0
This method is expected to return MediaFileData object on successful call back. But currently this method goes into the error call back and the method fails.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (CB-336) Mediafile.getFormatData hits error call
back
Posted by "Filip Maj (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-336?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Filip Maj resolved CB-336.
--------------------------
Resolution: Fixed
Fixed in [51d15c|http://git-wip-us.apache.org/repos/asf?p=incubator-cordova-wp7.git;a=commit;h=51d15c2f7bcab819bb85bf581a56472a5d19dccf].
> Mediafile.getFormatData hits error call back
> ---------------------------------------------
>
> Key: CB-336
> URL: https://issues.apache.org/jira/browse/CB-336
> Project: Apache Callback
> Issue Type: Bug
> Components: WP7
> Affects Versions: 1.3.0, 1.6.1
> Environment: Windows Phone
> Reporter: Babu Muralidharan
> Assignee: Filip Maj
> Fix For: 1.7.0
>
>
> This method is expected to return MediaFileData object on successful call back. But currently this method goes into the error call back and the method fails.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-336) Mediafile.getFormatData hits error call
back
Posted by "Filip Maj (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-336?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13261925#comment-13261925 ]
Filip Maj commented on CB-336:
------------------------------
Looks like when the MediaFormatOptions get deserialized from a JSON string inside Capture.cs' {{getFormatData}} method, something goes wrong and we get an {{InvalidCastException}}.
> Mediafile.getFormatData hits error call back
> ---------------------------------------------
>
> Key: CB-336
> URL: https://issues.apache.org/jira/browse/CB-336
> Project: Apache Callback
> Issue Type: Bug
> Components: WP7
> Affects Versions: 1.3.0, 1.6.1
> Environment: Windows Phone
> Reporter: Babu Muralidharan
> Assignee: Filip Maj
> Fix For: 1.7.0
>
>
> This method is expected to return MediaFileData object on successful call back. But currently this method goes into the error call back and the method fails.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CB-336) Mediafile.getFormatData hits error call
back
Posted by "Jesse MacFadyen (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-336?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jesse MacFadyen updated CB-336:
-------------------------------
Fix Version/s: (was: 1.6.0)
1.7.0
> Mediafile.getFormatData hits error call back
> ---------------------------------------------
>
> Key: CB-336
> URL: https://issues.apache.org/jira/browse/CB-336
> Project: Apache Callback
> Issue Type: Bug
> Components: WP7
> Affects Versions: 1.3.0
> Environment: Windows Phone
> Reporter: Babu Muralidharan
> Assignee: Sergey Grebnov
> Fix For: 1.7.0
>
>
> This method is expected to return MediaFileData object on successful call back. But currently this method goes into the error call back and the method fails.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-336) Mediafile.getFormatData hits error call
back
Posted by "Filip Maj (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-336?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13261957#comment-13261957 ]
Filip Maj commented on CB-336:
------------------------------
I've narrowed this down (at least when using the Capture API to capture images) to an exception being thrown when trying to {{OpenFile}} the image inside the {{ExtractImageFromLocalStorage}} method (which gets called from {{getMetaData}}). The exception being thrown is "Invalid cross-thread access".
Yay threading issues!
> Mediafile.getFormatData hits error call back
> ---------------------------------------------
>
> Key: CB-336
> URL: https://issues.apache.org/jira/browse/CB-336
> Project: Apache Callback
> Issue Type: Bug
> Components: WP7
> Affects Versions: 1.3.0, 1.6.1
> Environment: Windows Phone
> Reporter: Babu Muralidharan
> Assignee: Filip Maj
> Fix For: 1.7.0
>
>
> This method is expected to return MediaFileData object on successful call back. But currently this method goes into the error call back and the method fails.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Assigned] (CB-336) Mediafile.getFormatData hits error call
back
Posted by "Jesse MacFadyen (Assigned) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-336?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jesse MacFadyen reassigned CB-336:
----------------------------------
Assignee: Sergey Grebnov (was: Jesse MacFadyen)
> Mediafile.getFormatData hits error call back
> ---------------------------------------------
>
> Key: CB-336
> URL: https://issues.apache.org/jira/browse/CB-336
> Project: Apache Callback
> Issue Type: Bug
> Components: WP7
> Affects Versions: 1.3.0
> Environment: Windows Phone
> Reporter: Babu Muralidharan
> Assignee: Sergey Grebnov
> Fix For: 1.6.0
>
>
> This method is expected to return MediaFileData object on successful call back. But currently this method goes into the error call back and the method fails.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Assigned] (CB-336) Mediafile.getFormatData hits error call
back
Posted by "Filip Maj (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-336?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Filip Maj reassigned CB-336:
----------------------------
Assignee: Filip Maj (was: Sergey Grebnov)
> Mediafile.getFormatData hits error call back
> ---------------------------------------------
>
> Key: CB-336
> URL: https://issues.apache.org/jira/browse/CB-336
> Project: Apache Callback
> Issue Type: Bug
> Components: WP7
> Affects Versions: 1.3.0, 1.6.1
> Environment: Windows Phone
> Reporter: Babu Muralidharan
> Assignee: Filip Maj
> Fix For: 1.7.0
>
>
> This method is expected to return MediaFileData object on successful call back. But currently this method goes into the error call back and the method fails.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CB-336) Mediafile.getFormatData hits error call
back
Posted by "Filip Maj (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-336?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Filip Maj updated CB-336:
-------------------------
Affects Version/s: 1.6.1
Verified that this issue exists on 1.6.1 on a Samsung Focus.
The error callback is called every time with an InvalidCastException.
Investigating!
> Mediafile.getFormatData hits error call back
> ---------------------------------------------
>
> Key: CB-336
> URL: https://issues.apache.org/jira/browse/CB-336
> Project: Apache Callback
> Issue Type: Bug
> Components: WP7
> Affects Versions: 1.3.0, 1.6.1
> Environment: Windows Phone
> Reporter: Babu Muralidharan
> Assignee: Filip Maj
> Fix For: 1.7.0
>
>
> This method is expected to return MediaFileData object on successful call back. But currently this method goes into the error call back and the method fails.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira