incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simon MacDonald (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CB-995) Use of WebResourceResponse logs errors in Android 2.x
Date Mon, 02 Jul 2012 19:49:35 GMT
Simon MacDonald created CB-995:
----------------------------------

             Summary: Use of WebResourceResponse logs errors in Android 2.x
                 Key: CB-995
                 URL: https://issues.apache.org/jira/browse/CB-995
             Project: Apache Cordova
          Issue Type: Bug
          Components: Android
    Affects Versions: 1.9.0
            Reporter: Simon MacDonald
            Assignee: Joe Bowser
            Priority: Trivial


Hey,

When using 1.9.0 on Android on OS version 2.3.6 I get the following logs complaining about
the lack of WebResourceResponse. That class does not get introduced into the SDK until API
level 11, so we'll see this on Android 2.1 - 2.3. I haven't seen any ill effects of the change
but we should try and suppress this if possible.

/dalvikvm(2233): Could not find method android.webkit.WebView.<init>, referenced from
method org.apache.cordova.CordovaWebView.<init>
W/dalvikvm(2233): VFY: unable to resolve direct method 325: Landroid/webkit/WebView;.<init>
(Landroid/content/Context;Landroid/util/AttributeSet;IZ)V
D/dalvikvm(2233): VFY: replacing opcode 0x70 at 0x0001
D/dalvikvm(2233): VFY: dead code 0x0004-0059 in Lorg/apache/cordova/CordovaWebView;.<init>
(Landroid/content/Context;Landroid/util/AttributeSet;IZ)V
I/CordovaLog(2233): Changing log level to DEBUG(3)
E/dalvikvm(2233): Could not find class 'android.webkit.WebResourceResponse', referenced from
method org.apache.cordova.CordovaWebViewClient.generateWebResourceResponse
W/dalvikvm(2233): VFY: unable to resolve new-instance 126 (Landroid/webkit/WebResourceResponse;)
in Lorg/apache/cordova/CordovaWebViewClient;
D/dalvikvm(2233): VFY: replacing opcode 0x22 at 0x0046
W/dalvikvm(2233): VFY: unable to find class referenced in signature (Landroid/webkit/WebResourceResponse;)
D/dalvikvm(2233): VFY: dead code 0x0048-004c in Lorg/apache/cordova/CordovaWebViewClient;.generateWebResourceResponse
(Ljava/lang/String;)Landroid/webkit/WebResourceResponse;
W/dalvikvm(2233): VFY: unable to find class referenced in signature (Landroid/webkit/WebResourceResponse;)
W/dalvikvm(2233): VFY: unable to find class referenced in signature (Landroid/webkit/WebResourceResponse;)
I/dalvikvm(2233): Could not find method android.webkit.WebViewClient.shouldInterceptRequest,
referenced from method org.apache.cordova.CordovaWebViewClient.shouldInterceptRequest
W/dalvikvm(2233): VFY: unable to resolve virtual method 336: Landroid/webkit/WebViewClient;.shouldInterceptRequest
(Landroid/webkit/WebView;Ljava/lang/String;)Landroid/webkit/WebResourceResponse;
D/dalvikvm(2233): VFY: replacing opcode 0x6f at 0x0015
D/dalvikvm(2233): VFY: dead code 0x0018-0019 in Lorg/apache/cordova/CordovaWebViewClient;.shouldInterceptRequest
(Landroid/webkit/WebView;Ljava/lang/String;)Landroid/webkit/WebResourceResponse;
D/DroidGap(2233): DroidGap.init()
D/CordovaWebView(2233): DroidGap.loadUrl(file:///android_asset/www/index.html, 20000)
D/DroidGap(2233): onMessage(splashscreen,show)
D/dalvikvm(2233): GC_EXTERNAL_ALLOC freed 97K, 52% free 2614K/5379K, external 884K/1038K,
paused 80ms
D/CordovaWebView(2233): >>> loadUrl(file:///android_asset/www/index.html)
D/PluginManager(2233): init()
D/CordovaWebView(2233): >>> loadUrlNow()
D/CordovaWebView(2233): >>> loadUrlNow()
D/MyService(2233): onStart
D/DroidGap(2233): onMessage(onPageStarted,file:///android_asset/www/index.html)


--
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

        

Mime
View raw message