03-21 18:04:46.292: WARN/WindowManager(48): No window to dispatch
pointer action 1
03-21 18:04:46.301: ERROR/AndroidRuntime(196):
java.lang.RuntimeException: Unable to start activity
ComponentInfo{com.sai.s/com.sai.s.bs}: android.view.InflateException:
Binary XML file line #18: Error inflating class
java.lang.reflect.Constructor
03-21 18:04:46.301: ERROR/AndroidRuntime(196):     at
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:
2401)
03-21 18:04:46.301: ERROR/AndroidRuntime(196):     at
android.app.ActivityThread.startActivityNow(ActivityThread.java:2242)
03-21 18:04:46.301: ERROR/AndroidRuntime(196):     at
android.app.LocalActivityManager.moveToState(LocalActivityManager.java:
127)
03-21 18:04:46.301: ERROR/AndroidRuntime(196):     at
android.app.LocalActivityManager.startActivity(LocalActivityManager.java:
339)
03-21 18:04:46.301: ERROR/AndroidRuntime(196):     at
android.widget.TabHost
$IntentContentStrategy.getContentView(TabHost.java:631)
03-21 18:04:46.301: ERROR/AndroidRuntime(196):     at
android.widget.TabHost.setCurrentTab(TabHost.java:317)
03-21 18:04:46.301: ERROR/AndroidRuntime(196):     at
android.widget.TabHost$2.onTabSelectionChanged(TabHost.java:127)
03-21 18:04:46.301: ERROR/AndroidRuntime(196):     at
android.widget.TabWidget$TabClickListener.onClick(TabWidget.java:346)
03-21 18:04:46.301: ERROR/AndroidRuntime(196):     at
android.view.View.performClick(View.java:2344)
03-21 18:04:46.301: ERROR/AndroidRuntime(196):     at
android.view.View.onTouchEvent(View.java:4133)
03-21 18:04:46.301: ERROR/AndroidRuntime(196):     at
android.view.View.dispatchTouchEvent(View.java:3672)
03-21 18:04:46.301: ERROR/AndroidRuntime(196):     at
android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:850)
03-21 18:04:46.301: ERROR/AndroidRuntime(196):     at
android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:882)
03-21 18:04:46.301: ERROR/AndroidRuntime(196):     at
android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:882)
03-21 18:04:46.301: ERROR/AndroidRuntime(196):     at
android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:882)
03-21 18:04:46.301: ERROR/AndroidRuntime(196):     at
android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:882)
03-21 18:04:46.301: ERROR/AndroidRuntime(196):     at
android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:882)
03-21 18:04:46.301: ERROR/AndroidRuntime(196):     at
android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:882)
03-21 18:04:46.301: ERROR/AndroidRuntime(196):     at
android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:882)
03-21 18:04:46.301: ERROR/AndroidRuntime(196):     at
com.android.internal.policy.impl.PhoneWindow
$DecorView.superDispatchTouchEvent(PhoneWindow.java:1712)
03-21 18:04:46.301: ERROR/AndroidRuntime(196):     at
com.android.internal.policy.impl.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:
1202)
03-21 18:04:46.301: ERROR/AndroidRuntime(196):     at
android.app.Activity.dispatchTouchEvent(Activity.java:1987)
03-21 18:04:46.301: ERROR/AndroidRuntime(196):     at
com.android.internal.policy.impl.PhoneWindow
$DecorView.dispatchTouchEvent(PhoneWindow.java:1696)
03-21 18:04:46.301: ERROR/AndroidRuntime(196):     at
android.view.ViewRoot.handleMessage(ViewRoot.java:1658)
03-21 18:04:46.301: ERROR/AndroidRuntime(196):     at
android.os.Handler.dispatchMessage(Handler.java:99)
03-21 18:04:46.301: ERROR/AndroidRuntime(196):     at
android.os.Looper.loop(Looper.java:123)
03-21 18:04:46.301: ERROR/AndroidRuntime(196):     at
android.app.ActivityThread.main(ActivityThread.java:4203)
03-21 18:04:46.301: ERROR/AndroidRuntime(196):     at
java.lang.reflect.Method.invokeNative(Native Method)
03-21 18:04:46.301: ERROR/AndroidRuntime(196):     at
java.lang.reflect.Method.invoke(Method.java:521)
03-21 18:04:46.301: ERROR/AndroidRuntime(196):     at
com.android.internal.os.ZygoteInit
$MethodAndArgsCaller.run(ZygoteInit.java:791)
03-21 18:04:46.301: ERROR/AndroidRuntime(196):     at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:549)
03-21 18:04:46.301: ERROR/AndroidRuntime(196):     at
dalvik.system.NativeStart.main(Native Method)
03-21 18:04:46.301: ERROR/AndroidRuntime(196): Caused by:
android.view.InflateException: Binary XML file line #18: Error
inflating class java.lang.reflect.Constructor
03-21 18:04:46.301: ERROR/AndroidRuntime(196):     at
android.view.LayoutInflater.createView(LayoutInflater.java:512)
03-21 18:04:46.301: ERROR/AndroidRuntime(196):     at
com.android.internal.policy.impl.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java:
56)
03-21 18:04:46.301: ERROR/AndroidRuntime(196):     at
android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:562)
03-21 18:04:46.301: ERROR/AndroidRuntime(196):     at
android.view.LayoutInflater.rInflate(LayoutInflater.java:617)
03-21 18:04:46.301: ERROR/AndroidRuntime(196):     at
android.view.LayoutInflater.rInflate(LayoutInflater.java:620)
03-21 18:04:46.301: ERROR/AndroidRuntime(196):     at
android.view.LayoutInflater.inflate(LayoutInflater.java:407)
03-21 18:04:46.301: ERROR/AndroidRuntime(196):     at
android.view.LayoutInflater.inflate(LayoutInflater.java:320)
03-21 18:04:46.301: ERROR/AndroidRuntime(196):     at
android.view.LayoutInflater.inflate(LayoutInflater.java:276)
03-21 18:04:46.301: ERROR/AndroidRuntime(196):     at
com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:
313)
03-21 18:04:46.301: ERROR/AndroidRuntime(196):     at
android.app.Activity.setContentView(Activity.java:1620)
03-21 18:04:46.301: ERROR/AndroidRuntime(196):     at
com.sai.s.bs.onCreate(bs.java:17)
03-21 18:04:46.301: ERROR/AndroidRuntime(196):     at
android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:
1123)
03-21 18:04:46.301: ERROR/AndroidRuntime(196):     at
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:
2364)
03-21 18:04:46.301: ERROR/AndroidRuntime(196):     ... 31 more
03-21 18:04:46.301: ERROR/AndroidRuntime(196): Caused by:
java.lang.reflect.InvocationTargetException
03-21 18:04:46.301: ERROR/AndroidRuntime(196):     at
android.widget.TextView.<init>(TextView.java:320)
03-21 18:04:46.301: ERROR/AndroidRuntime(196):     at
java.lang.reflect.Constructor.constructNative(Native Method)
03-21 18:04:46.301: ERROR/AndroidRuntime(196):     at
java.lang.reflect.Constructor.newInstance(Constructor.java:446)
03-21 18:04:46.301: ERROR/AndroidRuntime(196):     at
android.view.LayoutInflater.createView(LayoutInflater.java:499)
03-21 18:04:46.301: ERROR/AndroidRuntime(196):     ... 43 more
03-21 18:04:46.301: ERROR/AndroidRuntime(196): Caused by:
java.lang.OutOfMemoryError: bitmap size exceeds VM budget
03-21 18:04:46.301: ERROR/AndroidRuntime(196):     at
android.graphics.Bitmap.nativeCreate(Native Method)
03-21 18:04:46.301: ERROR/AndroidRuntime(196):     at
android.graphics.Bitmap.createBitmap(Bitmap.java:468)
03-21 18:04:46.301: ERROR/AndroidRuntime(196):     at
android.graphics.Bitmap.createBitmap(Bitmap.java:435)
03-21 18:04:46.301: ERROR/AndroidRuntime(196):     at
android.graphics.Bitmap.createScaledBitmap(Bitmap.java:340)


On Mar 21, 5:36 pm, Marcin Orlowski <[email protected]> wrote:
> On 21 March 2011 12:54, rishabh agrawal <[email protected]> wrote:
>
> > 03-21 11:49:32.092: ERROR/AndroidRuntime(234): Uncaught handler:
> > thread main exiting due to uncaught exception
>
> > these error is occures how to remove it
>
> Use try/catch syntax around the call that causes this problem. read log
> around this line - you shall find out more detailed information on where the
> real culprit lurks.

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

Reply via email to