question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Datepicker launch crashes on React Native v0.41.2

See original GitHub issue

Version

  • tcomb-form-native v0.6.0
  • react-native v0.41.2

Expected behaviour

When I click a date / datetime field, a Datepicker should pop up

Actual behaviour

App crashes

Steps to reproduce

  1. Add a date field as usual t.Date
  2. Launch app and try to click on the field for the Datepicker popup
  3. CRASH…

Stack trace and console log

TypeError: expected dynamic type `double', but had type `string'
getDouble
    ReadableNativeMap.java:-2
createFragmentArguments
    DatePickerDialogModule.java:172
open
    DatePickerDialogModule.java:159
invoke
    Method.java:-2
invoke
    BaseJavaModule.java:319
invoke
    JavaModuleWrapper.java:158
run
    NativeRunnable.java:-2
handleCallback
    Handler.java:739
dispatchMessage
    Handler.java:95
dispatchMessage
    MessageQueueThreadHandler.java:31
loop
    Looper.java:148
run
    MessageQueueThreadImpl.java:196
run
    Thread.java:818

screenshot_1486430611

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:5

github_iconTop GitHub Comments

4reactions
sdstolworthycommented, Mar 29, 2017

@casoetan What did you do to resolve? I’m having this same problem

1reaction
casoetancommented, Mar 15, 2017

Fixed.

Read more comments on GitHub >

github_iconTop Results From Across the Web

react-native-date-picker app crash in certain screen
For some reason my app crashes when trying to pick date with react-native-date-picker. I have a re-useable component for the datepicker and ...
Read more >
react-datepicker
A simple and reusable datepicker component for React. ... Start using react-datepicker in your project by running `npm i react-datepicker`.
Read more >
App getting crash after selecting date in DatePicker
I am using DatePicker. DatePicker is displaying but when I select a date in Android or scroll in iOS, change date is displayed...
Read more >
Untitled
Crash free online dictionary, Summary frankenstein chapter 13, Apocalypse z trailer! ... Fuel filter starting problems, Verhinderen synoniem, Prefisso 0703!
Read more >
npm:react-native-date-picker-bugfix
Then rebuild the project by running react-native run-ios , react-native run-android or start the build from within Xcode/Android Studio. If you' ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found