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

Exception when drawing Dominica flag #17

Closed
AKhashi opened this issue May 17, 2020 · 0 comments
Closed

Exception when drawing Dominica flag #17

AKhashi opened this issue May 17, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@AKhashi
Copy link

AKhashi commented May 17, 2020

I/flutter (23676): ══╡ EXCEPTION CAUGHT BY SVG ╞═══════════════════════════════════════════════════════════════════════
I/flutter (23676): The following FormatException was thrown resolving a single-frame picture stream:
I/flutter (23676): Invalid double
I/flutter (23676): 1pt
I/flutter (23676):
I/flutter (23676): When the exception was thrown, this was the stack:
I/flutter (23676): #0 double.parse (dart:core-patch/double_patch.dart:112:28)
I/flutter (23676): #1 parseDouble (package:flutter_svg/src/utilities/numbers.dart:15:17)
I/flutter (23676): #2 parseStroke (package:flutter_svg/src/svg/xml_parsers.dart:231:11)
I/flutter (23676): #3 parseStyle (package:flutter_svg/src/svg/xml_parsers.dart:401:13)
I/flutter (23676): #4 SvgParserState.addShape (package:flutter_svg/src/svg/parser_state.dart:842:7)
I/flutter (23676): #5 SvgParserState.startElement (package:flutter_svg/src/svg/parser_state.dart:865:12)
I/flutter (23676): #6 SvgParserState.parse (package:flutter_svg/src/svg/parser_state.dart:772:13)
I/flutter (23676):
I/flutter (23676): #7 SvgParser.parse (package:flutter_svg/parser.dart:14:60)
I/flutter (23676): #8 Svg.fromSvgString (package:flutter_svg/svg.dart:110:25)
I/flutter (23676): #9 Svg.svgPictureStringDecoder (package:flutter_svg/svg.dart:72:36)
I/flutter (23676): #10 SvgPicture.svgStringDecoder. (package:flutter_svg/svg.dart:531:15)
I/flutter (23676): #11 AssetBundlePictureProvider._loadAsync (package:flutter_svg/src/picture_provider.dart:457:19)
I/flutter (23676):
I/flutter (23676): #12 AssetBundlePictureProvider.load (package:flutter_svg/src/picture_provider.dart:435:43)
I/flutter (23676): #13 PictureProvider.resolve.. (package:flutter_svg/src/picture_provider.dart:327:17)
I/flutter (23676): #14 PictureCache.putIfAbsent (package:flutter_svg/src/picture_cache.dart:67:22)
I/flutter (23676): #15 PictureProvider.resolve. (package:flutter_svg/src/picture_provider.dart:325:16)
I/flutter (23676): #16 SynchronousFuture.then (package:flutter/src/foundation/synchronous_future.dart:41:29)
I/flutter (23676): #17 PictureProvider.resolve (package:flutter_svg/src/picture_provider.dart:322:24)
I/flutter (23676): #18 _SvgPictureState._resolveImage (package:flutter_svg/svg.dart:641:10)
I/flutter (23676): #19 _SvgPictureState.didChangeDependencies (package:flutter_svg/svg.dart:615:5)
I/flutter (23676): #20 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:4661:12)
I/flutter (23676): #21 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4476:5)
I/flutter (23676): ... Normal element mounting (13 frames)
I/flutter (23676): #34 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3446:14)
I/flutter (23676): #35 MultiChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:5947:32)
I/flutter (23676): ... Normal element mounting (19 frames)
I/flutter (23676): #54 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3446:14)
I/flutter (23676): #55 MultiChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:5947:32)
I/flutter (23676): ... Normal element mounting (193 frames)
I/flutter (23676): #248 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3446:14)
I/flutter (23676): #249 MultiChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:5947:32)
I/flutter (23676): ... Normal element mounting (253 frames)
I/flutter (23676): #502 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3446:14)
I/flutter (23676): #503 Element.updateChild (package:flutter/src/widgets/framework.dart:3214:18)
I/flutter (23676): #504 RenderObjectToWidgetElement._rebuild (package:flutter/src/widgets/binding.dart:1148:16)
I/flutter (23676): #505 RenderObjectToWidgetElement.mount (package:flutter/src/widgets/binding.dart:1119:5)
I/flutter (23676): #506 RenderObjectToWidgetAdapter.attachToRenderTree. (package:flutter/src/widgets/binding.dart:1061:17)
I/flutter (23676): #507 BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:2607:19)
I/flutter (23676): #508 RenderObjectToWidgetAdapter.attachToRenderTree (package:flutter/src/widgets/binding.dart:1060:13)
I/flutter (23676): #509 WidgetsBinding.attachRootWidget (package:flutter/src/widgets/binding.dart:941:7)
I/flutter (23676): #510 WidgetsBinding.scheduleAttachRootWidget. (package:flutter/src/widgets/binding.dart:922:7)
I/flutter (23676): (elided 11 frames from class _RawReceivePortImpl, class _Timer, dart:async, and dart:async-patch)
I/flutter (23676):
I/flutter (23676): Picture provider: ExactAssetPicture(name: "packages/flag/res/flag/dm.svg", bundle: null,
I/flutter (23676): colorFilter: null)
I/flutter (23676): Picture key: AssetBundlePictureKey(bundle: PlatformAssetBundle#547f1(), name:
I/flutter (23676): "packages/flag/res/flag/dm.svg", colorFilter: null)
I/flutter (23676): ════════════════════════════════════════════════════════════════════════════════════════════════════

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants