I have an intermittent error occurring in that appears to be down in the bowels of Cordova and beyond my control. It's an intermittent FileNotFoundException. The strange thing is that when I check for the existence of the file prior to the webview.loadUrl call it's never there. But the exception doesn't always occur.

Here's the stack trace:

07-10 15:27:53.360: E/IceCreamCordovaWebViewClient(11258): Error occurred while loading a file.07-10 15:27:53.360: E/IceCreamCordovaWebViewClient(11258): java.io.FileNotFoundException: www/plugins/org.apache.cordova.vibration/www/src/event/publisher/Dom.js
07-10 15:27:53.360: E/IceCreamCordovaWebViewClient(11258): at android.content.res.AssetManager.openAsset(Native Method)
07-10 15:27:53.360: E/IceCreamCordovaWebViewClient(11258): at android.content.res.AssetManager.open(AssetManager.java:316)
07-10 15:27:53.360: E/IceCreamCordovaWebViewClient(11258): at android.content.res.AssetManager.open(AssetManager.java:290)
07-10 15:27:53.360: E/IceCreamCordovaWebViewClient(11258): at org.apache.cordova.CordovaResourceApi.openForRead(CordovaResourceApi.java:195)
07-10 15:27:53.360: E/IceCreamCordovaWebViewClient(11258): at org.apache.cordova.IceCreamCordovaWebViewClient.shouldInterceptRequest(IceCreamCordovaWebViewClient.java:62)
07-10 15:27:53.360: E/IceCreamCordovaWebViewClient(11258): at com.android.webview.chromium.WebViewContentsClientAdapter.shouldInterceptRequest(WebViewContentsClientAdapter.java:277)
07-10 15:27:53.360: E/IceCreamCordovaWebViewClient(11258): at com.android.org.chromium.android_webview.AwContents$IoThreadClientImpl.shouldInterceptRequest(AwContents.java:249)
07-10 15:27:53.360: E/IceCreamCordovaWebViewClient(11258): at dalvik.system.NativeStart.run(Native Method)

Does anyone know what's causing this and/or what I can do to fix it?

Thanks,
James