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

xml rendering issue #14

Open
NayanaRBhoj opened this issue Jul 4, 2018 · 0 comments
Open

xml rendering issue #14

NayanaRBhoj opened this issue Jul 4, 2018 · 0 comments

Comments

@NayanaRBhoj
Copy link

getting following issue as render problem in preview tab while viewing xml

java.lang.IllegalArgumentException: Underflow in restoreToCount - more restores than saves
at android.graphics.Canvas.restoreToCount(Canvas.java:604)
at developer.shivam.crescento.CrescentoContainer.dispatchDraw(CrescentoContainer.java:115)
at android.view.View.draw(View.java:19001)
at android.view.ViewGroup.drawChild_Original(ViewGroup.java:4215)
at android.view.ViewGroup_Delegate.drawChild(ViewGroup_Delegate.java:63)
at android.view.ViewGroup.drawChild(ViewGroup.java:4215)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4001)
at android.view.View.draw(View.java:19001)
at android.view.ViewGroup.drawChild_Original(ViewGroup.java:4215)
at android.view.ViewGroup_Delegate.drawChild(ViewGroup_Delegate.java:63)
at android.view.ViewGroup.drawChild(ViewGroup.java:4215)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4001)
at android.view.View.draw(View.java:19001)
at android.view.ViewGroup.drawChild_Original(ViewGroup.java:4215)
at android.view.ViewGroup_Delegate.drawChild(ViewGroup_Delegate.java:63)
at android.view.ViewGroup.drawChild(ViewGroup.java:4215)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4001)
at android.view.View.draw(View.java:19001)
at android.view.ViewGroup.drawChild_Original(ViewGroup.java:4215)
at android.view.ViewGroup_Delegate.drawChild(ViewGroup_Delegate.java:63)
at android.view.ViewGroup.drawChild(ViewGroup.java:4215)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4001)
at android.view.View.draw(View.java:19136)
at com.android.layoutlib.bridge.impl.RenderSessionImpl.renderAndBuildResult(RenderSessionImpl.java:403)
at com.android.layoutlib.bridge.impl.RenderSessionImpl.renderAndBuildResult(RenderSessionImpl.java:550)
at com.android.layoutlib.bridge.impl.RenderSessionImpl.render(RenderSessionImpl.java:424)
at com.android.layoutlib.bridge.BridgeRenderSession.render(BridgeRenderSession.java:108)
at com.android.ide.common.rendering.api.RenderSession.render(RenderSession.java:154)
at com.android.ide.common.rendering.api.RenderSession.render(RenderSession.java:136)
at com.android.tools.idea.rendering.RenderTask.lambda$renderInner$5(RenderTask.java:759)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

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