Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

App Crash On Multiple Clicks . #618

Open
rizvan opened this issue Mar 19, 2014 · 0 comments
Open

App Crash On Multiple Clicks . #618

rizvan opened this issue Mar 19, 2014 · 0 comments

Comments

@rizvan
Copy link

rizvan commented Mar 19, 2014

I added simple layout on menu but got crash report on continuous clicks on it .
Code inflating a layout :

         SlidingMenu menu = new SlidingMenu(this);
            menu.setMode(SlidingMenu.RIGHT);
            menu.setTouchModeAbove(SlidingMenu.TOUCHMODE_NONE);
            menu.setShadowWidthRes(R.dimen.shadow_width);
            menu.setShadowDrawable(R.drawable.shadow);
            menu.setBehindOffsetRes(R.dimen.slidingmenu_offset);
            menu.setFadeDegree(0.35f);
            menu.attachToActivity(this, SlidingMenu.SLIDING_WINDOW);
            View imgPanView = getLayoutInflater().inflate(R.layout.dropdown, null);

            menu.setMenu(imgPanView);
            menu.showMenu(true);

Logcat :
E/.UnCaughtException(23025): Phone Model: HTC One X
E/.UnCaughtException(23025): Android Version: 4.2.2
E/.UnCaughtException(23025): Board: unknown
E/.UnCaughtException(23025): Brand: htc
E/.UnCaughtException(23025): Device: endeavoru
E/.UnCaughtException(23025): Host: abm035
E/.UnCaughtException(23025): ID: JDQ39
E/.UnCaughtException(23025): Model: HTC One X
E/.UnCaughtException(23025): Product: htc_asia_india
E/.UnCaughtException(23025): Type: user
E/.UnCaughtException(23025): Total Internal memory: 2266497024
E/.UnCaughtException(23025): Available Internal memory: 283291648
E/.UnCaughtException(23025): Stack:
E/.UnCaughtException(23025): java.lang.StackOverflowError
E/.UnCaughtException(23025): at android.text.Layout.draw(Layout.java:205)
E/.UnCaughtException(23025): at android.text.BoringLayout.draw(BoringLayout.java:400)
E/.UnCaughtException(23025): at android.widget.TextView.onDraw(TextView.java:5272)
E/.UnCaughtException(23025): at android.view.View.draw(View.java:13877)
E/.UnCaughtException(23025): at android.view.View.draw(View.java:13761)
E/.UnCaughtException(23025): at android.view.ViewGroup.drawChild(ViewGroup.java:2954)
E/.UnCaughtException(23025): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2815)
E/.UnCaughtException(23025): at android.view.View.draw(View.java:13759)
E/.UnCaughtException(23025): at android.view.ViewGroup.drawChild(ViewGroup.java:2954)
E/.UnCaughtException(23025): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2815)
E/.UnCaughtException(23025): at android.view.View.draw(View.java:13759)
E/.UnCaughtException(23025): at android.view.ViewGroup.drawChild(ViewGroup.java:2954)
E/.UnCaughtException(23025): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2815)
E/.UnCaughtException(23025): at android.view.View.draw(View.java:13759)
E/.UnCaughtException(23025): at android.view.ViewGroup.drawChild(ViewGroup.java:2954)
E/.UnCaughtException(23025): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2815)
E/.UnCaughtException(23025): at android.view.View.draw(View.java:13759)
E/.UnCaughtException(23025): at android.view.ViewGroup.drawChild(ViewGroup.java:2954)
E/.UnCaughtException(23025): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2815)
E/.UnCaughtException(23025): at android.view.View.draw(View.java:13759)
E/.UnCaughtException(23025): at android.view.ViewGroup.drawChild(ViewGroup.java:2954)
E/.UnCaughtException(23025): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2815)
E/.UnCaughtException(23025): at android.view.View.draw(View.java:13880)
E/.UnCaughtException(23025): at android.support.v4.view.ViewPager.draw(ViewPager.java:2171)
E/.UnCaughtException(23025): at android.view.View.draw(View.java:13761)
E/.UnCaughtException(23025): at android.view.ViewGroup.drawChild(ViewGroup.java:2954)
E/.UnCaughtException(23025): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2815)
E/.UnCaughtException(23025): at android.view.View.draw(View.java:13759)
E/.UnCaughtException(23025): at android.view.ViewGroup.drawChild(ViewGroup.java:2954)
E/.UnCaughtException(23025): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2815)
E/.UnCaughtException(23025): at android.view.View.draw(View.java:13759)
E/.UnCaughtException(23025): at android.view.ViewGroup.drawChild(ViewGroup.java:2954)
E/.UnCaughtException(23025): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2815)
E/.UnCaughtException(23025): at android.view.View.draw(View.java:13880)
E/.UnCaughtException(23025): at android.view.View.draw(View.java:13761)
E/.UnCaughtException(23025): at android.view.ViewGroup.drawChild(ViewGroup.java:2954)
E/.UnCaughtException(23025): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2815)
E/.UnCaughtException(23025): at android.view.View.draw(View.java:13880)
E/.UnCaughtException(23025): at android.view.View.draw(View.java:13761)
E/.UnCaughtException(23025): at android.view.ViewGroup.drawChild(ViewGroup.java:2954)
E/.UnCaughtException(23025): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2815)
E/.UnCaughtException(23025): at android.view.View.draw(View.java:13759)
E/.UnCaughtException(23025): at android.view.ViewGroup.drawChild(ViewGroup.java:2954)
E/.UnCaughtException(23025): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2815)
E/.UnCaughtException(23025): at android.view.View.draw(View.java:13880)
E/.UnCaughtException(23025): at android.view.View.draw(View.java:13761)
E/.UnCaughtException(23025): at android.view.ViewGroup.drawChild(ViewGroup.java:2954)
E/.UnCaughtException(23025): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2815)
E/.UnCaughtException(23025): at com.jeremyfeinstein.slidingmenu.lib.CustomViewAbove.dispatchDraw(CustomViewAbove.java:827)
E/.UnCaughtException(23025): at android.view.View.draw(View.java:13880)
E/.UnCaughtException(23025): at android.view.View.draw(View.java:13761)
E/.UnCaughtException(23025): at android.view.ViewGroup.drawChild(ViewGroup.java:2954)
E/.UnCaughtException(23025): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2815)
E/.UnCaughtException(23025): at android.view.View.draw(View.java:13880)
E/.UnCaughtException(23025): at android.view.View.draw(View.java:13761)
E/.UnCaughtException(23025): at android.view.ViewGroup.drawChild(ViewGroup.java:2954)
E/.UnCaughtException(23025): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2815)
E/.UnCaughtException(23025): at com.jeremyfeinstein.slidingmenu.lib.CustomViewAbove.dispatchDraw(CustomViewAbove.java:827)
E/.UnCaughtException(23025): at android.view.View.draw(View.java:13880)
E/.UnCaughtException(23025): at android.view.View.draw(View.java:13761)
E/.UnCaughtException(23025): at android.view.ViewGroup.drawChild(ViewGroup.java:2954)
E/.UnCaughtException(23025): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2815)
E/.UnCaughtException(23025): at android.view.View.draw(View.java:13880)
E/.UnCaughtException(23025): at android.view.View.draw(View.java:13761)
E/.UnCaughtException(23025): at android.view.ViewGroup.drawChild(ViewGroup.java:2954)
E/.UnCaughtException(23025): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2815)
E/.UnCaughtException(23025): at com.jerem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant