Skip to content
This repository has been archived by the owner on Jun 16, 2022. It is now read-only.

Android crashes on startup: Error while updating property 'd' of a view managed by: RNSVGPath #1712

Open
Beanow opened this issue May 16, 2021 · 0 comments

Comments

@Beanow
Copy link

Beanow commented May 16, 2021

Ledger Live Version and Operating System

  • tested on Ledger Live 2.26.0
  • Phone version: OnePlus7 (using /e/OS)

Expected behavior

The application starts up and displays the default (portfolio) view.

Actual behavior

Upon opening the application, it opens the splash screen, then crashes.

Steps to reproduce the behavior

  • Open the app, wait for it to crash.

Things I've tried

  • Force stop the app.
  • Clearing cache.

Details

The application has been in use. Accounts should be already added. Experimental features were enabled.
Without updating the application, it seems to crash like this since a couple of days. (Maybe a banner or coin logo changed?)

The seemingly relevant section from logcat is:

05-16 13:24:29.377  5990  5990 E AndroidRuntime: FATAL EXCEPTION: main
05-16 13:24:29.377  5990  5990 E AndroidRuntime: Process: com.ledger.live, PID: 5990
05-16 13:24:29.377  5990  5990 E AndroidRuntime: com.facebook.react.bridge.JSApplicationIllegalArgumentException: Error while updating property 'd' of a view managed by: RNSVGPath
05-16 13:24:29.377  5990  5990 E AndroidRuntime: 	at com.facebook.react.uimanager.ViewManagersPropertyCache$PropSetter.updateViewProp(ViewManagersPropertyCache.java:102)
05-16 13:24:29.377  5990  5990 E AndroidRuntime: 	at com.facebook.react.uimanager.ViewManagerPropertyUpdater$FallbackViewManagerSetter.setProperty(ViewManagerPropertyUpdater.java:136)
05-16 13:24:29.377  5990  5990 E AndroidRuntime: 	at com.facebook.react.uimanager.ViewManagerPropertyUpdater.updateProps(ViewManagerPropertyUpdater.java:56)
05-16 13:24:29.377  5990  5990 E AndroidRuntime: 	at com.facebook.react.uimanager.ViewManager.updateProperties(ViewManager.java:49)
05-16 13:24:29.377  5990  5990 E AndroidRuntime: 	at com.facebook.react.uimanager.NativeViewHierarchyManager.createView(NativeViewHierarchyManager.java:270)
05-16 13:24:29.377  5990  5990 E AndroidRuntime: 	at com.facebook.react.uimanager.UIViewOperationQueue$CreateViewOperation.execute(UIViewOperationQueue.java:186)
05-16 13:24:29.377  5990  5990 E AndroidRuntime: 	at com.facebook.react.uimanager.UIViewOperationQueue$DispatchUIFrameCallback.dispatchPendingNonBatchedOperations(UIViewOperationQueue.java:1112)
05-16 13:24:29.377  5990  5990 E AndroidRuntime: 	at com.facebook.react.uimanager.UIViewOperationQueue$DispatchUIFrameCallback.doFrameGuarded(UIViewOperationQueue.java:1083)
05-16 13:24:29.377  5990  5990 E AndroidRuntime: 	at com.facebook.react.uimanager.GuardedFrameCallback.doFrame(GuardedFrameCallback.java:29)
05-16 13:24:29.377  5990  5990 E AndroidRuntime: 	at com.facebook.react.modules.core.ReactChoreographer$ReactChoreographerDispatcher.doFrame(ReactChoreographer.java:175)
05-16 13:24:29.377  5990  5990 E AndroidRuntime: 	at com.facebook.react.modules.core.ChoreographerCompat$FrameCallback$1.doFrame(ChoreographerCompat.java:85)
05-16 13:24:29.377  5990  5990 E AndroidRuntime: 	at android.view.Choreographer$CallbackRecord.run(Choreographer.java:965)
05-16 13:24:29.377  5990  5990 E AndroidRuntime: 	at android.view.Choreographer.doCallbacks(Choreographer.java:791)
05-16 13:24:29.377  5990  5990 E AndroidRuntime: 	at android.view.Choreographer.doFrame(Choreographer.java:722)
05-16 13:24:29.377  5990  5990 E AndroidRuntime: 	at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:952)
05-16 13:24:29.377  5990  5990 E AndroidRuntime: 	at android.os.Handler.handleCallback(Handler.java:883)
05-16 13:24:29.377  5990  5990 E AndroidRuntime: 	at android.os.Handler.dispatchMessage(Handler.java:100)
05-16 13:24:29.377  5990  5990 E AndroidRuntime: 	at android.os.Looper.loop(Looper.java:214)
05-16 13:24:29.377  5990  5990 E AndroidRuntime: 	at android.app.ActivityThread.main(ActivityThread.java:7356)
05-16 13:24:29.377  5990  5990 E AndroidRuntime: 	at java.lang.reflect.Method.invoke(Native Method)
05-16 13:24:29.377  5990  5990 E AndroidRuntime: 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:491)
05-16 13:24:29.377  5990  5990 E AndroidRuntime: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:940)
05-16 13:24:29.377  5990  5990 E AndroidRuntime: Caused by: java.lang.reflect.InvocationTargetException
05-16 13:24:29.377  5990  5990 E AndroidRuntime: 	at java.lang.reflect.Method.invoke(Native Method)
05-16 13:24:29.377  5990  5990 E AndroidRuntime: 	at com.facebook.react.uimanager.ViewManagersPropertyCache$PropSetter.updateViewProp(ViewManagersPropertyCache.java:87)
05-16 13:24:29.377  5990  5990 E AndroidRuntime: 	... 21 more
05-16 13:24:29.377  5990  5990 E AndroidRuntime: Caused by: java.lang.Error: InvalidNumber
05-16 13:24:29.377  5990  5990 E AndroidRuntime: 	at com.horcrux.svg.PathParser.parse_number(PathParser.java:560)
05-16 13:24:29.377  5990  5990 E AndroidRuntime: 	at com.horcrux.svg.PathParser.parse_list_number(PathParser.java:528)
05-16 13:24:29.377  5990  5990 E AndroidRuntime: 	at com.horcrux.svg.PathParser.parse(PathParser.java:114)
05-16 13:24:29.377  5990  5990 E AndroidRuntime: 	at com.horcrux.svg.PathView.setD(PathView.java:32)
05-16 13:24:29.377  5990  5990 E AndroidRuntime: 	at com.horcrux.svg.RenderableViewManager$PathViewManager.setD(RenderableViewManager.java:452)
05-16 13:24:29.377  5990  5990 E AndroidRuntime: 	... 23 more

Another warning I noticed that could be relevant.

05-16 13:24:29.355  5990 11250 W ReactNativeJS: formatCurrencyUnit called with NaN value!
05-16 13:24:29.360  5990 11250 W ReactNativeJS: formatCurrencyUnit called with NaN value!

Complete log: log-llive-crash.txt

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

No branches or pull requests

1 participant