java.lang.IllegalArgumentException: Underflow in restoreToCount - more restores than saves

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by silverspace
, 1 year ago
Underflow in restoreToCount - more restores than saves
via GitHub by FredJul
, 7 months ago
Underflow in restoreToCount - more restores than saves
java.lang.IllegalArgumentException: Underflow in restoreToCount - more restores than saves
at android.graphics.Canvas.native_restoreToCount(Native Method)
at com.horcrux.svg.RNSVGVirtualNode.restoreCanvas(RNSVGVirtualNode.java:103)
at com.horcrux.svg.RNSVGTextShadowNode.draw(RNSVGTextShadowNode.java:94)
at com.horcrux.svg.RNSVGGroupShadowNode.draw(RNSVGGroupShadowNode.java:36)
at com.horcrux.svg.RNSVGGroupShadowNode.draw(RNSVGGroupShadowNode.java:36)
at com.horcrux.svg.RNSVGGroupShadowNode.draw(RNSVGGroupShadowNode.java:36)
at com.horcrux.svg.RNSVGSvgViewShadowNode.drawChildren(RNSVGSvgViewShadowNode.java:59)
at com.horcrux.svg.RNSVGSvgViewShadowNode.drawOutput(RNSVGSvgViewShadowNode.java:50)
at com.horcrux.svg.RNSVGSvgViewShadowNode.onCollectExtraUpdates(RNSVGSvgViewShadowNode.java:39)
at com.facebook.react.uimanager.ReactShadowNode.dispatchUpdates(ReactShadowNode.java:200)
at com.facebook.react.uimanager.UIImplementation.applyUpdatesRecursive(UIImplementation.java:758)
at com.facebook.react.uimanager.UIImplementation.applyUpdatesRecursive(UIImplementation.java:748)
at com.facebook.react.uimanager.UIImplementation.applyUpdatesRecursive(UIImplementation.java:748)
at com.facebook.react.uimanager.UIImplementation.applyUpdatesRecursive(UIImplementation.java:748)
at com.facebook.react.uimanager.UIImplementation.applyUpdatesRecursive(UIImplementation.java:748)
at com.facebook.react.uimanager.UIImplementation.applyUpdatesRecursive(UIImplementation.java:748)
at com.facebook.react.uimanager.UIImplementation.applyUpdatesRecursive(UIImplementation.java:748)
at com.facebook.react.uimanager.UIImplementation.applyUpdatesRecursive(UIImplementation.java:748)
at com.facebook.react.uimanager.UIImplementation.applyUpdatesRecursive(UIImplementation.java:748)
at com.facebook.react.uimanager.UIImplementation.applyUpdatesRecursive(UIImplementation.java:748)
at com.facebook.react.uimanager.UIImplementation.applyUpdatesRecursive(UIImplementation.java:748)
at com.facebook.react.uimanager.UIImplementation.applyUpdatesRecursive(UIImplementation.java:748)
at com.facebook.react.uimanager.UIImplementation.updateViewHierarchy(UIImplementation.java:506)
at com.facebook.react.uimanager.UIImplementation.dispatchViewUpdates(UIImplementation.java:494)
at com.facebook.react.uimanager.UIManagerModule.onBatchComplete(UIManagerModule.java:457)
at com.facebook.react.bridge.NativeModuleRegistry.onBatchComplete(NativeModuleRegistry.java:137)
at com.facebook.react.bridge.CatalystInstanceImpl$NativeModulesReactCallback.onBatchComplete(CatalystInstanceImpl.java:453)
at com.facebook.react.bridge.queue.NativeRunnableDeprecated.run(Native Method)
at android.os.Handler.handleCallback(Handler.java:746)
at com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(MessageQueueThreadHandler.java:31)
at android.os.Looper.loop(Looper.java:148)
at com.facebook.react.bridge.queue.MessageQueueThreadImpl$3.run(MessageQueueThreadImpl.java:193)
at java.lang.Thread.run(Thread.java:818)

Users with the same issue

2 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Know the solutions? Share your knowledge to help other developers to debug faster.