[android-developers] Re: Matching SDK version to code? NPE Bug in WebView?

2009-03-15 Thread Jean-Baptiste Queru
Unfortunately neither the exact code for the 1.0 SDK nor for 1.1 (especially for 1.1) are available. Versions 126986 and 128600 respectively match PLAT-RC33 (current version for the T-Mobile G1 in the US) and TMI-RC9 (the European equivalent). Here's the relevant code in 1.1, which matches the

[android-developers] Re: Matching SDK version to code? NPE Bug in WebView?

2009-03-15 Thread Mariano Kamp
JBQ, thanks for the quick reply. So in line 391 it looks like the NPE is a result of mBaseDir.list() in 390 returning null. But how can I know what happened around this code snippet without having that code? Is this missing correlation a growing pain or will it be the same with the next

[android-developers] Re: Matching SDK version to code? NPE Bug in WebView?

2009-03-15 Thread Jean-Baptiste Queru
Both the lack of correlation between the released binaries and the released source code and the lack of source code for 1.1 are artifacts of the release process that was used for 1.0 and 1.1. Lessons were learned and issues were fixed, and I expect that the situation for the next release will be

[android-developers] Re: Matching SDK version to code? NPE Bug in WebView?

2009-03-15 Thread Mariano Kamp
JBQ, good to hear that regarding the correlation there is hope for the future. Regarding a reproducible test case: I tried to reproduce it by hand and can do that. It seems to happen when the phone memory is low (in my test 2.8MB) and the cache is cleared by calling webView.clearCache(true);.