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

📥 🐛 [Android Crash] java.lang.ClassCastException #658

Closed
ulfgebhardt opened this issue Nov 6, 2018 · 1 comment
Closed

📥 🐛 [Android Crash] java.lang.ClassCastException #658

ulfgebhardt opened this issue Nov 6, 2018 · 1 comment

Comments

@ulfgebhardt
Copy link
Member

ulfgebhardt commented Nov 6, 2018

🐛 Bugreport

[Android Crash] java.lang.ClassCastException

image

image

image

com.facebook.react.bridge.JSApplicationIllegalArgumentException: 
  at com.facebook.react.uimanager.ViewManagersPropertyCache$PropSetter.updateShadowNodeProp (ViewManagersPropertyCache.java:113)
  at com.facebook.react.uimanager.ViewManagerPropertyUpdater$FallbackShadowNodeSetter.setProperty (ViewManagerPropertyUpdater.java:154)
  at com.facebook.react.uimanager.ViewManagerPropertyUpdater.updateProps (ViewManagerPropertyUpdater.java:58)
  at com.facebook.react.uimanager.ReactShadowNodeImpl.updateProperties (ReactShadowNodeImpl.java:298)
  at com.facebook.react.uimanager.UIImplementation.createView (UIImplementation.java:289)
  at com.facebook.react.uimanager.UIManagerModule.createView (UIManagerModule.java:364)
  at java.lang.reflect.Method.invoke (Native Method)
  at com.facebook.react.bridge.JavaMethodWrapper.invoke (JavaMethodWrapper.java:374)
  at com.facebook.react.bridge.JavaModuleWrapper.invoke (JavaModuleWrapper.java:162)
  at com.facebook.react.bridge.queue.NativeRunnable.run (Native Method)
  at android.os.Handler.handleCallback (Handler.java:789)
  at android.os.Handler.dispatchMessage (Handler.java:98)
  at com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage (MessageQueueThreadHandler.java:31)
  at android.os.Looper.loop (Looper.java:164)
  at com.facebook.react.bridge.queue.MessageQueueThreadImpl$3.run (MessageQueueThreadImpl.java:194)
  at java.lang.Thread.run (Thread.java:764)
Caused by: java.lang.reflect.InvocationTargetException: 
  at java.lang.reflect.Method.invoke (Native Method)
  at com.facebook.react.uimanager.ViewManagersPropertyCache$PropSetter.updateShadowNodeProp (ViewManagersPropertyCache.java:102)
Caused by: java.lang.ClassCastException: 
  at com.facebook.react.bridge.ReadableNativeMap.getDouble (ReadableNativeMap.java:148)
  at com.facebook.react.bridge.DynamicFromMap.asDouble (DynamicFromMap.java:66)
  at com.facebook.react.uimanager.LayoutShadowNode$MutableYogaValue.setFromDynamic (LayoutShadowNode.java:57)
  at com.facebook.react.uimanager.LayoutShadowNode.setMaxHeight (LayoutShadowNode.java:176)

App-Version & Environment

APP: [1.0.5]

OS:

  • OnePlus OnePlus3T (OnePlus3T), Android 8.0
  • Samsung Galaxy S6 (zeroflte), Android 7.0 (x2)
  • Cubot CUBOT R11 (CUBOT_R11), Android 8.1
  • Samsung Galaxy Note8 (greatlte), Android 8.0 (x2)
@ulfgebhardt
Copy link
Member Author

Possibly fixed with RN 0.57.4 available.
facebook/react-native#21755

@ulfgebhardt ulfgebhardt changed the title 🐛 [Android Crash] java.lang.ClassCastException 📥 🐛 [Android Crash] java.lang.ClassCastException Jan 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

No branches or pull requests

1 participant