Look at the error in the final "caused by" sections: 02-15 10:50:04.798 E/AndroidRuntime(13071): ... 11 more 02-15 10:50:04.798 E/AndroidRuntime(13071): Caused by: java.lang.reflect.InvocationTargetException 02-15 10:50:04.798 E/AndroidRuntime(13071): at com.android.browser.WebGLZoomView.<init>(WebGLZoomView.java:116) 02-15 10:50:04.798 E/AndroidRuntime(13071): at java.lang.reflect.Constructor.constructNative(Native Method) 02-15 10:50:04.798 E/AndroidRuntime(13071): at java.lang.reflect.Constructor.newInstance(Constructor.java:446) 02-15 10:50:04.798 E/AndroidRuntime(13071): at android.view.LayoutInflater.createView(LayoutInflater.java:500) 02-15 10:50:04.798 E/AndroidRuntime(13071): ... 21 more 02-15 10:50:04.798 E/AndroidRuntime(13071): Caused by: java.lang.NullPointerException 02-15 10:50:04.798 E/AndroidRuntime(13071): at com.android.browser.WebGLZoomRenderer.<init>(WebGLZoomView.java:1096) 02-15 10:50:04.798 E/AndroidRuntime(13071): at com.android.browser.WebGLZoomView.<init>(WebGLZoomView.java:126) 02-15 10:50:04.798 E/AndroidRuntime(13071): ... 25 more
Note I believe this is not part of the current standard platform, so there is probably some information you aren't providing...? \ On Mon, Feb 14, 2011 at 10:50 PM, yogi <[email protected]> wrote: > Hi All, > While working on browser I got the following log and a force close.Do > any one have idea what does this "android.view.InflateException: > Binary XML file line #38: Error inflating class <unknown>" and how can > i debug this. > Thanks in advance > Regards > Yogi > > : Starting activity: Intent { act=android.intent.action.VIEW > dat=http://m.google.com/privacy > cmp=com.android.browser/.BrowserActivity } > 02-15 10:50:04.798 E/AndroidRuntime(13071): FATAL EXCEPTION: main > 02-15 10:50:04.798 E/AndroidRuntime(13071): > java.lang.RuntimeException: Unable to start activity > ComponentInfo{com.android.browser/ > com.android.browser.BrowserActivity}: android.view.InflateException: > Binary XML file line #38: Error inflating class <unknown> > 02-15 10:50:04.798 E/AndroidRuntime(13071): at > android.app.ActivityThread.performLaunchActivity(ActivityThread.java: > 2663) > 02-15 10:50:04.798 E/AndroidRuntime(13071): at > android.app.ActivityThread.handleLaunchActivity(ActivityThread.java: > 2679) > 02-15 10:50:04.798 E/AndroidRuntime(13071): at > android.app.ActivityThread.access$2300(ActivityThread.java:125) > 02-15 10:50:04.798 E/AndroidRuntime(13071): at > android.app.ActivityThread$H.handleMessage(ActivityThread.java:2033) > 02-15 10:50:04.798 E/AndroidRuntime(13071): at > android.os.Handler.dispatchMessage(Handler.java:99) > 02-15 10:50:04.798 E/AndroidRuntime(13071): at > android.os.Looper.loop(Looper.java:123) > 02-15 10:50:04.798 E/AndroidRuntime(13071): at > android.app.ActivityThread.main(ActivityThread.java:4627) > 02-15 10:50:04.798 E/AndroidRuntime(13071): at > java.lang.reflect.Method.invokeNative(Native Method) > 02-15 10:50:04.798 E/AndroidRuntime(13071): at > java.lang.reflect.Method.invoke(Method.java:521) > 02-15 10:50:04.798 E/AndroidRuntime(13071): at > com.android.internal.os.ZygoteInit > $MethodAndArgsCaller.run(ZygoteInit.java:858) > 02-15 10:50:04.798 E/AndroidRuntime(13071): at > com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616) > 02-15 10:50:04.798 E/AndroidRuntime(13071): at > dalvik.system.NativeStart.main(Native Method) > 02-15 10:50:04.798 E/AndroidRuntime(13071): Caused by: > android.view.InflateException: Binary XML file line #38: Error > inflating class <unknown> > 02-15 10:50:04.798 E/AndroidRuntime(13071): at > android.view.LayoutInflater.createView(LayoutInflater.java:513) > 02-15 10:50:04.798 E/AndroidRuntime(13071): at > android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:565) > 02-15 10:50:04.798 E/AndroidRuntime(13071): at > android.view.LayoutInflater.rInflate(LayoutInflater.java:618) > 02-15 10:50:04.798 E/AndroidRuntime(13071): at > android.view.LayoutInflater.rInflate(LayoutInflater.java:621) > 02-15 10:50:04.798 E/AndroidRuntime(13071): at > android.view.LayoutInflater.rInflate(LayoutInflater.java:621) > 02-15 10:50:04.798 E/AndroidRuntime(13071): at > android.view.LayoutInflater.inflate(LayoutInflater.java:407) > 02-15 10:50:04.798 E/AndroidRuntime(13071): at > android.view.LayoutInflater.inflate(LayoutInflater.java:320) > 02-15 10:50:04.798 E/AndroidRuntime(13071): at > android.view.LayoutInflater.inflate(LayoutInflater.java:276) > 02-15 10:50:04.798 E/AndroidRuntime(13071): at > com.android.browser.BrowserActivity.onCreate(BrowserActivity.java:326) > 02-15 10:50:04.798 E/AndroidRuntime(13071): at > android.app.Instrumentation.callActivityOnCreate(Instrumentation.java: > 1049) > 02-15 10:50:04.798 E/AndroidRuntime(13071): at > android.app.ActivityThread.performLaunchActivity(ActivityThread.java: > 2627) > 02-15 10:50:04.798 E/AndroidRuntime(13071): ... 11 more > 02-15 10:50:04.798 E/AndroidRuntime(13071): Caused by: > java.lang.reflect.InvocationTargetException > 02-15 10:50:04.798 E/AndroidRuntime(13071): at > com.android.browser.WebGLZoomView.<init>(WebGLZoomView.java:116) > 02-15 10:50:04.798 E/AndroidRuntime(13071): at > java.lang.reflect.Constructor.constructNative(Native Method) > 02-15 10:50:04.798 E/AndroidRuntime(13071): at > java.lang.reflect.Constructor.newInstance(Constructor.java:446) > 02-15 10:50:04.798 E/AndroidRuntime(13071): at > android.view.LayoutInflater.createView(LayoutInflater.java:500) > 02-15 10:50:04.798 E/AndroidRuntime(13071): ... 21 more > 02-15 10:50:04.798 E/AndroidRuntime(13071): Caused by: > java.lang.NullPointerException > 02-15 10:50:04.798 E/AndroidRuntime(13071): at > com.android.browser.WebGLZoomRenderer.<init>(WebGLZoomView.java:1096) > 02-15 10:50:04.798 E/AndroidRuntime(13071): at > com.android.browser.WebGLZoomView.<init>(WebGLZoomView.java:126) > 02-15 10:50:04.798 E/AndroidRuntime(13071): ... 25 more > 02-15 10:50:04.814 W/ActivityManager( 2609): Force finishing > activity com.android.browser/.BrowserActivity > 02-15 10:50:04.814 W/ActivityManager( 2609): Force finishing > activity com.google.android.youtube/.SettingsActivity > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- Dianne Hackborn Android framework engineer [email protected] Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

