-
Notifications
You must be signed in to change notification settings - Fork 147
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
fix: : [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: UnimplementedError #781
Comments
I think you're using the wrong flutter version. To use Shorebird, you need to use latest stable Flutter. |
Could you share the output of |
Flutter 3.10.0 • channel stable • https://github.com/flutter/flutter.git |
Is this running on desktop or Android? I'm new to this mouse cursor code. |
Actually, nevermind, that last stack frame makes no sense. |
I'm not sure exactly what version of package:intl this is (your pubspec.lock would tell you), but: I'm still confused why the stack looks like that (I guess it's a release build and we only are seeing some of the stack symbols)? I'm still not sure how Shorebird could be causing issues here. You're saying that: |
android E/flutter (14934): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: UnimplementedError E/flutter (14934): #1 _DateFormatPatternField.formatField (package:intl/src/intl/date_format_field.dart:396) E/flutter (14934): #3 DateFormat.format (package:intl/src/intl/date_format.dart:302) E/flutter (14934): #4 SearchTabController.mergeDateTime (package:dynasty_user_side/screens/car_rental/search_tab/controller/search_tab_controller.dart:215) E/flutter (14934): #5 SearchTabController.searchRentalAPICon (package:dynasty_user_side/screens/car_rental/search_tab/controller/search_tab_controller.dart:264) E/flutter (14934): #6 SearchTabScreen.buildSearchButton. (package:dynasty_user_side/screens/car_rental/search_tab/view/search_tab_screen.dart:382) E/flutter (14934): #7 _InkResponseState.handleTap (package:flutter/src/material/ink_well.dart:1154) E/flutter (14934): #8 GestureRecognizer.invokeCallback (package:flutter/src/gestures/recognizer.dart:275) E/flutter (14934): #9 TapGestureRecognizer.handleTapUp (package:flutter/src/gestures/tap.dart:654) |
yes right and shorebird run, shorebird release android, shorebird build apk not work |
OK, yes, I think @SpajicM is right, I suspect this is that My guess is if you run |
same issue after flutter update 3.10.5 |
Thanks for the report. I'm still very confused how the behavior could differ between Can you confirm what version of package:intl your pubspec.lock reports? Line 396 in date_format_field.dart (from package intl 0.18.1) does not actually point to a line: |
In 0.18.0 it is: |
Which does in fact throw: String formatTimeZoneRFC(DateTime date) {
throw UnimplementedError();
} I believe that's the error you're actually hitting. |
Yeah, looks like that's just a bug in 0.18.0, which was fixed in 0.18.1. I would recommend upgrading to package:intl 0.18.1. I'm still not sure why this is occurring for you in Shorebird but no in Flutter? |
I believe this was a package:intl bug (see above), speculatively closing. Let me know if you're still having issues! |
package
intl : intl: ^0.18.0
discription:-
when i build using this command (flutter build apk --release) is perfrect working but when i build and run using this command (shorebird run -- -d 192.168.29.121:5555) i found this issue
The text was updated successfully, but these errors were encountered: