You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Andrew Grieve (JIRA)" <ji...@apache.org> on 2013/01/11 20:56:12 UTC

[jira] [Commented] (CB-2208) MobileSpec File tests Crash on Android 4.0.3 intel Emulator

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

Andrew Grieve commented on CB-2208:
-----------------------------------

I could just add a try/catch around it in FileUtils.notifyDelete(). I'm not too sure of what this is trying to do though, so not sure if that's the best fix.
                
> MobileSpec File tests Crash on Android 4.0.3 intel Emulator
> -----------------------------------------------------------
>
>                 Key: CB-2208
>                 URL: https://issues.apache.org/jira/browse/CB-2208
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>            Reporter: Andrew Grieve
>            Assignee: Andrew Grieve
>            Priority: Minor
>             Fix For: 2.4.0
>
>
> 01-11 14:34:23.028: I/dalvikvm(1465): java.lang.UnsupportedOperationException: Unknown URI: content://media/external/images/media match: 1
> 01-11 14:34:23.028: I/dalvikvm(1465): 	at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:168)
> 01-11 14:34:23.028: I/dalvikvm(1465): 	at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:136)
> 01-11 14:34:23.028: I/dalvikvm(1465): 	at android.content.ContentProviderProxy.delete(ContentProviderNative.java:479)
> 01-11 14:34:23.028: I/dalvikvm(1465): 	at android.content.ContentResolver.delete(ContentResolver.java:822)
> 01-11 14:34:23.028: I/dalvikvm(1465): 	at org.apache.cordova.FileUtils.notifyDelete(FileUtils.java:242)
> 01-11 14:34:23.028: I/dalvikvm(1465): 	at org.apache.cordova.FileUtils.execute(FileUtils.java:186)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira