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

Suggestions: the app crashes with the "oeuf" keyword #4635

Closed
g123k opened this issue Sep 15, 2023 · 0 comments · Fixed by #4636
Closed

Suggestions: the app crashes with the "oeuf" keyword #4635

g123k opened this issue Sep 15, 2023 · 0 comments · Fixed by #4636
Assignees
Labels
🐛 bug Something isn't working

Comments

@g123k
Copy link
Collaborator

g123k commented Sep 15, 2023

Hi everyone,

On the search, when we input oeuf, it fails with the following error:
Screenshot 2023-09-15 at 11 15 25

======== Exception caught by widgets library =======================================================
The following RangeError was thrown building TextHighlighter(dirty, dependencies: [_InheritedTheme, _LocalizationsScope-[GlobalKey#cceb5]]):
RangeError (end): Invalid value: Not in inclusive range 17..19: 21

When the exception was thrown, this was the stack: 
#0      RangeError.checkValidRange (dart:core/errors.dart:365:9)
#1      _StringBase.substring (dart:core-patch/string_patch.dart:398:27)
#2      TextHighlighter._getParts (package:smooth_app/widgets/smooth_text.dart:105:17)
#3      TextHighlighter.build (package:smooth_app/widgets/smooth_text.dart:59:46)
#4      StatelessElement.build (package:flutter/src/widgets/framework.dart:5156:49)
#5      ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5086:15)
#6      Element.rebuild (package:flutter/src/widgets/framework.dart:4805:7)
#7      ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:5068:5)
#8      ComponentElement.mount (package:flutter/src/widgets/framework.dart:5062:5)
...     Normal element mounting (181 frames)
#189    Element.inflateWidget (package:flutter/src/widgets/framework.dart:3971:16)
#190    Element.updateChild (package:flutter/src/widgets/framework.dart:3708:18)
#191    SliverMultiBoxAdaptorElement.updateChild (package:flutter/src/widgets/sliver.dart:857:37)
#192    SliverMultiBoxAdaptorElement.createChild.<anonymous closure> (package:flutter/src/widgets/sliver.dart:842:20)
#193    BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:2720:19)
#194    SliverMultiBoxAdaptorElement.createChild (package:flutter/src/widgets/sliver.dart:834:12)
#195    RenderSliverMultiBoxAdaptor._createOrObtainChild.<anonymous closure> (package:flutter/src/rendering/sliver_multi_box_adaptor.dart:351:23)
#196    RenderObject.invokeLayoutCallback.<anonymous closure> (package:flutter/src/rendering/object.dart:2506:59)
#197    PipelineOwner._enableMutationsToDirtySubtrees (package:flutter/src/rendering/object.dart:1062:15)
#198    RenderObject.invokeLayoutCallback (package:flutter/src/rendering/object.dart:2506:14)
#199    RenderSliverMultiBoxAdaptor._createOrObtainChild (package:flutter/src/rendering/sliver_multi_box_adaptor.dart:340:5)
#200    RenderSliverMultiBoxAdaptor.addInitialChild (package:flutter/src/rendering/sliver_multi_box_adaptor.dart:426:5)
#201    RenderSliverList.performLayout (package:flutter/src/rendering/sliver_list.dart:79:12)
#202    RenderObject.layout (package:flutter/src/rendering/object.dart:2395:7)
#203    RenderSliverEdgeInsetsPadding.performLayout (package:flutter/src/rendering/sliver_padding.dart:139:12)
#204    RenderSliverPadding.performLayout (package:flutter/src/rendering/sliver_padding.dart:361:11)
#205    RenderObject.layout (package:flutter/src/rendering/object.dart:2395:7)
#206    RenderViewportBase.layoutChildSequence (package:flutter/src/rendering/viewport.dart:534:13)
#207    RenderShrinkWrappingViewport._attemptLayout (package:flutter/src/rendering/viewport.dart:1882:12)
#208    RenderShrinkWrappingViewport.performLayout (package:flutter/src/rendering/viewport.dart:1833:20)
#209    RenderObject.layout (package:flutter/src/rendering/object.dart:2395:7)
#210    RenderBox.layout (package:flutter/src/rendering/box.dart:2386:11)
#211    RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:122:14)
#212    RenderObject.layout (package:flutter/src/rendering/object.dart:2395:7)
#213    RenderBox.layout (package:flutter/src/rendering/box.dart:2386:11)
#214    RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:122:14)
#215    RenderObject.layout (package:flutter/src/rendering/object.dart:2395:7)
#216    RenderBox.layout (package:flutter/src/rendering/box.dart:2386:11)
#217    RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:122:14)
#218    RenderObject.layout (package:flutter/src/rendering/object.dart:2395:7)
#219    RenderBox.layout (package:flutter/src/rendering/box.dart:2386:11)
#220    RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:122:14)
#221    RenderObject.layout (package:flutter/src/rendering/object.dart:2395:7)
#222    RenderBox.layout (package:flutter/src/rendering/box.dart:2386:11)
#223    RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:122:14)
#224    RenderObject.layout (package:flutter/src/rendering/object.dart:2395:7)
#225    RenderBox.layout (package:flutter/src/rendering/box.dart:2386:11)
#226    RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:122:14)
#227    RenderObject.layout (package:flutter/src/rendering/object.dart:2395:7)
#228    RenderBox.layout (package:flutter/src/rendering/box.dart:2386:11)
#229    RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:122:14)
#230    RenderObject.layout (package:flutter/src/rendering/object.dart:2395:7)
#231    RenderBox.layout (package:flutter/src/rendering/box.dart:2386:11)
#232    RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:122:14)
#233    RenderCustomPaint.performLayout (package:flutter/src/rendering/custom_paint.dart:554:11)
#234    RenderObject.layout (package:flutter/src/rendering/object.dart:2395:7)
#235    RenderBox.layout (package:flutter/src/rendering/box.dart:2386:11)
#236    RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:122:14)
#237    RenderObject.layout (package:flutter/src/rendering/object.dart:2395:7)
#238    RenderBox.layout (package:flutter/src/rendering/box.dart:2386:11)
#239    RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:122:14)
#240    RenderObject.layout (package:flutter/src/rendering/object.dart:2395:7)
#241    RenderBox.layout (package:flutter/src/rendering/box.dart:2386:11)
#242    RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:122:14)
#243    RenderObject.layout (package:flutter/src/rendering/object.dart:2395:7)
#244    RenderBox.layout (package:flutter/src/rendering/box.dart:2386:11)
#245    RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:122:14)
#246    RenderObject.layout (package:flutter/src/rendering/object.dart:2395:7)
#247    RenderBox.layout (package:flutter/src/rendering/box.dart:2386:11)
#248    RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:122:14)
#249    RenderObject.layout (package:flutter/src/rendering/object.dart:2395:7)
#250    RenderBox.layout (package:flutter/src/rendering/box.dart:2386:11)
#251    RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:122:14)
#252    RenderObject.layout (package:flutter/src/rendering/object.dart:2395:7)
#253    RenderBox.layout (package:flutter/src/rendering/box.dart:2386:11)
#254    RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:122:14)
#255    RenderCustomPaint.performLayout (package:flutter/src/rendering/custom_paint.dart:554:11)
#256    RenderObject.layout (package:flutter/src/rendering/object.dart:2395:7)
#257    RenderBox.layout (package:flutter/src/rendering/box.dart:2386:11)
#258    RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:122:14)
#259    RenderObject.layout (package:flutter/src/rendering/object.dart:2395:7)
#260    RenderBox.layout (package:flutter/src/rendering/box.dart:2386:11)
#261    RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:122:14)
#262    RenderObject.layout (package:flutter/src/rendering/object.dart:2395:7)
#263    RenderBox.layout (package:flutter/src/rendering/box.dart:2386:11)
#264    RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:122:14)
#265    RenderObject.layout (package:flutter/src/rendering/object.dart:2395:7)
#266    RenderBox.layout (package:flutter/src/rendering/box.dart:2386:11)
#267    RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:122:14)
#268    RenderObject.layout (package:flutter/src/rendering/object.dart:2395:7)
#269    RenderBox.layout (package:flutter/src/rendering/box.dart:2386:11)
#270    RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:122:14)
#271    RenderObject.layout (package:flutter/src/rendering/object.dart:2395:7)
#272    RenderBox.layout (package:flutter/src/rendering/box.dart:2386:11)
#273    RenderConstrainedBox.performLayout (package:flutter/src/rendering/proxy_box.dart:297:14)
#274    RenderObject.layout (package:flutter/src/rendering/object.dart:2395:7)
#275    RenderBox.layout (package:flutter/src/rendering/box.dart:2386:11)
#276    RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:122:14)
#277    RenderObject.layout (package:flutter/src/rendering/object.dart:2395:7)
#278    RenderBox.layout (package:flutter/src/rendering/box.dart:2386:11)
#279    RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:122:14)
#280    _RenderCustomClip.performLayout (package:flutter/src/rendering/proxy_box.dart:1449:11)
#281    RenderObject.layout (package:flutter/src/rendering/object.dart:2395:7)
#282    RenderBox.layout (package:flutter/src/rendering/box.dart:2386:11)
#283    RenderPositionedBox.performLayout (package:flutter/src/rendering/shifted_box.dart:438:14)
#284    RenderObject.layout (package:flutter/src/rendering/object.dart:2395:7)
#285    RenderBox.layout (package:flutter/src/rendering/box.dart:2386:11)
#286    RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:122:14)
#287    RenderObject.layout (package:flutter/src/rendering/object.dart:2395:7)
#288    RenderBox.layout (package:flutter/src/rendering/box.dart:2386:11)
#289    RenderTapRegion.layout (package:flutter/src/widgets/tap_region.dart:519:11)
#290    RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:122:14)
#291    RenderObject.layout (package:flutter/src/rendering/object.dart:2395:7)
#292    RenderBox.layout (package:flutter/src/rendering/box.dart:2386:11)
#293    _RenderTheaterMixin.performLayout (package:flutter/src/widgets/overlay.dart:832:15)
#294    RenderObject._layoutWithoutResize (package:flutter/src/rendering/object.dart:2234:7)
#295    PipelineOwner.flushLayout (package:flutter/src/rendering/object.dart:1016:18)
#296    RendererBinding.drawFrame (package:flutter/src/rendering/binding.dart:492:19)
#297    WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:905:13)
#298    RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:358:5)
#299    SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1284:15)
#300    SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:1214:9)
#301    SchedulerBinding._handleDrawFrame (package:flutter/src/scheduler/binding.dart:1072:5)
#302    _invoke (dart:ui/hooks.dart:142:13)
#303    PlatformDispatcher._drawFrame (dart:ui/platform_dispatcher.dart:359:5)
#304    _drawFrame (dart:ui/hooks.dart:112:31)
====================================================================================================
@g123k g123k added the 🐛 bug Something isn't working label Sep 15, 2023
@g123k g123k self-assigned this Sep 15, 2023
@g123k g123k linked a pull request Sep 15, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working
Development

Successfully merging a pull request may close this issue.

1 participant