Matching SDK version to code? NPE Bug in WebView?

by Mariano Kamp » Sun, 15 Mar 2009 18:49:47 GMT

Sponsored Links

   I wrote an app that, among other things,  renders feed articles  
using WebView. Now I get error reports that seem to originate in  

-- NewsRob Version: 1.7.0/170
-- Android Version: sdk=2, release=1.1, inc=128600
-- Thread State: RUNNABLE
-- Stacktrace:
at android.webkit.CacheManager$

   I've got another report with the same content, but a different  
incremental version of the sdk (126986). Probably one from the US and  
one from the UK.

   So now I would love to know why the code blows up and if there is  
anything I can do about it. And with the source files and line numbers  
I felt in good shape to so. If only I could match them to the public  
code repositories ;-(

   Finding the file was easy: ;a=tree;f=core/java/android/webkit;h=a133d1c04dede353611f23bc37d04a9ff7316b8d;hb=HEAD

   But then "history" returns the following: ;a=history;f=core/java/android/webkit/;h=d12940d04f41e3f4450da79738714a6a8c7739e6;hb=HEAD
2008-12-18      The Android Open...     Code drop from //branches/ 
2008-10-21      The Android Open...     Initial Contribution android-1.0        

   None of these seem to simply match the version information returned  
by Build.VERSION.

   Furthermore none of these seem to match the line no from the  
stracktrace. It says method "run" in In both  
versions line 391 is not in a run method ;-(

   So, how to match stacktraces to code?



Other Threads

1. Desire Camera @ CyanogenMod-5.0.6 (Nexus One

katanya sakit lu bex... ternyata maen2 di xda lu yak... :))

mantab gann... xD


2. App icon development?

I have an app mostly ready for initial release. What I *don't* have is an icon I like that fits the recommended style. I have a 2D icon that I built for the iPhone version of the app, but that doesn't fit the android look-n-feel very well, so I'd like to come up with a tilted 3Dish icon according to the recommendations, but I don't have any 3D graphics experience. Does anyone have any skill to spare, or advice to share, on making an app icon? I have an idea or two, but no 3D content with which to start. I've done amateur 2D graphics for years, but 3D I've barely experimented with. Any help or advice appreciated. - Chris --

3. HTC Soft keyboard key events

4. Facebook Connect in WebView Failing

5. Is it possible to develop and upload Android 2.1 apps onto Motorola backflip?

6. Is it possible to develop and upload Android 2.1 apps onto Motorola backflip?

7. csr bluetooth, how to integrate bccmd in android