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

com.facebook.react.bridge.UnexpectedNativeTypeException: Value for pickerData cannot be cast from ReadableNativeMap to ReadableArray #406

Open
HeMa321 opened this issue May 14, 2020 · 0 comments

Comments

@HeMa321
Copy link

HeMa321 commented May 14, 2020

这时pickDat数据'["122333","Ram Creek Sub. Add. No. Block 3 Lot 2,King Cove,Aleutians East,Alaska,us"]'

05-14 15:37:45.732 21997-22058/E/unknown:ReactNative: Exception in native call
com.facebook.react.bridge.UnexpectedNativeTypeException: Value for pickerData cannot be cast from ReadableNativeMap to ReadableArray
at com.facebook.react.bridge.ReadableNativeMap.checkInstance(ReadableNativeMap.java:139)
at com.facebook.react.bridge.ReadableNativeMap.getNullableValue(ReadableNativeMap.java:127)
at com.facebook.react.bridge.ReadableNativeMap.getArray(ReadableNativeMap.java:166)
at com.beefe.picker.PickerViewModule._init(PickerViewModule.java:304)
at java.lang.reflect.Method.invoke(Native Method)
at com.facebook.react.bridge.JavaMethodWrapper.invoke(JavaMethodWrapper.java:371)
at com.facebook.react.bridge.JavaModuleWrapper.invoke(JavaModuleWrapper.java:150)
at com.facebook.react.bridge.queue.NativeRunnable.run(Native Method)
at android.os.Handler.handleCallback(Handler.java:742)
at android.os.Handler.dispatchMessage(Handler.java:95)
at com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(MessageQueueThreadHandler.java:26)
at android.os.Looper.loop(Looper.java:157)
at com.facebook.react.bridge.queue.MessageQueueThreadImpl$4.run(MessageQueueThreadImpl.java:225)
at java.lang.Thread.run(Thread.java:818)

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