cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-6940) File plugin on Android causes app to fail to start if USB Mass Storage mode enabled and USB plugged in
Date Mon, 16 Jun 2014 23:28:02 GMT

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

ASF GitHub Bot commented on CB-6940:
------------------------------------

Github user dzeims closed the pull request at:

    https://github.com/apache/cordova-plugin-file/pull/52


> File plugin on Android causes app to fail to start if USB Mass Storage mode enabled and
USB plugged in
> ------------------------------------------------------------------------------------------------------
>
>                 Key: CB-6940
>                 URL: https://issues.apache.org/jira/browse/CB-6940
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin File
>    Affects Versions: 3.5.0
>         Environment: Android 2.3.x-4.4.x
> Cordova 3.5.0-0.2.4
> File plugin 1.2.0
>            Reporter: James White
>
> When attempting to launch a Cordova application on Android that includes the File plugin,
if the USB Mass Storage option is enabled and the USB cable is plugged in, the application
stalls.  In the system log, the following appears:
> ApplicationContext: Unable to create external files directory
> PluginManager: Uncaught exception from plugin
> PluginManager: java.lang.NullPointerException
> PluginManager:         at org.apache.cordova.file.FileUtils.requestAllPaths(FileUtils.java:866)
> PluginManager:         at org.apache.cordova.file.FileUtils.execute(FileUtils.java:348)
> PluginManager:         at org.apache.cordova.CordovaPlugin.execute(CordovaPlugin.java:65)
> PluginManager:         at org.apache.cordova.PluginManager.execHelper(PluginManager.java:242)
> PluginManager:         at org.apache.cordova.PluginManager.exec(PluginManager.java:227)
> PluginManager:         at org.apache.cordova.ExposedJsApi.exec(ExposedJsApi.java:53)
> PluginManager:         at org.apache.cordova.CordovaChromeClient.onJsPrompt(CordovaChromeClient.java:227)
> PluginManager:         at android.webkit.CallbackProxy.handleMessage(CallbackProxy.java:607)
> PluginManager:         at android.os.Handler.dispatchMessage(Handler.java:99)
> PluginManager:         at android.os.Looper.loop(Looper.java:137)
> PluginManager:         at android.app.ActivityThread.main(ActivityThread.java:4722)
> PluginManager:         at java.lang.reflect.Method.invokeNative(Native Method)
> PluginManager:         at java.lang.reflect.Method.invoke(Method.java:511)
> PluginManager:         at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:787)
> PluginManager:         at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:554)
> PluginManager:         at dalvik.system.NativeStart.main(Native Method)



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message