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

Unable to load asset: after crop #6

Open
suresh-kumara-gist opened this issue Oct 23, 2020 · 1 comment
Open

Unable to load asset: after crop #6

suresh-kumara-gist opened this issue Oct 23, 2020 · 1 comment

Comments

@suresh-kumara-gist
Copy link

I/flutter (31858): ══╡ EXCEPTION CAUGHT BY IMAGE RESOURCE SERVICE ╞════════════════════════════════════════════════════
I/flutter (31858): The following assertion was thrown resolving an image codec:
I/flutter (31858): Unable to load asset:
I/flutter (31858): /data/user/0/com.libs.flutterimageppicker/cache/image_cropper_1603461241225.jpg
I/flutter (31858):
I/flutter (31858): When the exception was thrown, this was the stack:
I/flutter (31858): #0 PlatformAssetBundle.load (package:flutter/src/services/asset_bundle.dart:223:7)
I/flutter (31858):
I/flutter (31858): #1 AssetBundleImageProvider._loadAsync (package:flutter/src/painting/image_provider.dart:669:31)
I/flutter (31858): #2 AssetBundleImageProvider.load (package:flutter/src/painting/image_provider.dart:652:14)
I/flutter (31858): #3 ImageProvider.resolveStreamForKey. (package:flutter/src/painting/image_provider.dart:505:13)
I/flutter (31858): #4 ImageCache.putIfAbsent (package:flutter/src/painting/image_cache.dart:360:22)
I/flutter (31858): #5 ImageProvider.resolveStreamForKey (package:flutter/src/painting/image_provider.dart:503:80)
I/flutter (31858): #6 ImageProvider.resolve. (package:flutter/src/painting/image_provider.dart:334:9)
I/flutter (31858): #7 ImageProvider._createErrorHandlerAndKey.. (package:flutter/src/painting/image_provider.dart:464:26)
I/flutter (31858): #8 SynchronousFuture.then (package:flutter/src/foundation/synchronous_future.dart:43:29)
I/flutter (31858): #9 ImageProvider._createErrorHandlerAndKey. (package:flutter/src/painting/image_provider.dart:461:11)
I/flutter (31858): #13 ImageProvider._createErrorHandlerAndKey (package:flutter/src/painting/image_provider.dart:453:16)
I/flutter (31858): #14 ImageProvider.resolve (package:flutter/src/painting/image_provider.dart:331:5)
I/flutter (31858): #15 DecorationImagePainter.paint (package:flutter/src/painting/decoration_image.dart:259:55)
I/flutter (31858): #16 _BoxDecorationPainter._paintBackgroundImage (package:flutter/src/painting/box_decoration.dart:465:19)
I/flutter (31858): #17 _BoxDecorationPainter.paint (package:flutter/src/painting/box_decoration.dart:483:5)
I/flutter (31858): #18 RenderDecoratedBox.paint (package:flutter/src/rendering/proxy_box.dart:2042:16)
I/flutter (31858): #19 RenderObject._paintWithContext (package:flutter/src/rendering/object.dart:2266:7)
I/flutter (31858): #20 PaintingContext.paintChild (package:flutter/src/rendering/object.dart:186:13)
I/flutter (31858): #21 RenderProxyBoxMixin.paint (package:flutter/src/rendering/proxy_box.dart:133:15)
I/flutter (31858): #22 RenderObject._paintWithContext (package:flutter/src/rendering/object.dart:2266:7)
I/flutter (31858): #23 PaintingContext.paintChild (package:flutter/src/rendering/object.dart:186:13)
I/flutter (31858): #24 RenderShiftedBox.paint (package:flutter/src/rendering/shifted_box.dart:72:15)
I/flutter (31858): #25 RenderObject._paintWithContext (package:flutter/src/rendering/object.dart:2266:7)
I/flutter (31858): #26 PaintingContext.paintChild (package:flutter/src/rendering/object.dart:186:13)
I/flutter (31858): #27 RenderProxyBoxMixin.paint (package:flutter/src/rendering/proxy_box.dart:133:15)
I/flutter (31858): #28 RenderObject._paintWithContext (package:flutter/src/rendering/object.dart:2266:7)
I/flutter (31858): #29 PaintingContext.paintChild (package:flutter/src/rendering/object.dart:186:13)
I/flutter (31858): #30 RenderProxyBoxMixin.paint (package:flutter/src/rendering/proxy_box.dart:133:15)
I/flutter (31858): #31 RenderObject._paintWithContext (package:flutter/src/rendering/object.dart:2266:7)
I/flutter (31858): #32 PaintingContext.paintChild (package:flutter/src/rendering/object.dart:186:13)
I/flutter (31858): #33 RenderBoxContainerDefaultsMixin.defaultPaint (package:flutter/src/rendering/box.dart:2525:15)
I/flutter (31858): #34 RenderCustomMultiChildLayoutBox.paint (package:flutter/src/rendering/custom_layout.dart:406:5)
I/flutter (31858): #35 RenderObject._paintWithContext (package:flutter/src/rendering/object.dart:2266:7)
I/flutter (31858): #36 PaintingContext.paintChild (package:flutter/src/rendering/object.dart:186:13)
I/flutter (31858): #37 RenderProxyBoxMixin.paint (package:flutter/src/rendering/proxy_box.dart:133:15)
I/flutter (31858): #38 _RenderInkFeatures.paint (package:flutter/src/material/material.dart:533:11)
I/flutter (31858): #39 RenderObject._paintWithContext (package:flutter/src/rendering/object.dart:2266:7)
I/flutter (31858): #40 PaintingContext.paintChild (package:flutter/src/rendering/object.dart:186:13)
I/flutter (31858): #41 RenderProxyBoxMixin.paint (package:flutter/src/rendering/proxy_box.dart:133:15)
I/flutter (31858): #42 PaintingContext.pushLayer (package:flutter/src/rendering/object.dart:393:12)
I/flutter (31858): #43 RenderPhysicalModel.paint (package:flutter/src/rendering/proxy_box.dart:1821:15)
I/flutter (31858): #44 RenderObject._paintWithContext (package:flutter/src/rendering/object.dart:2266:7)
I/flutter (31858): #45 PaintingContext.paintChild (package:flutter/src/rendering/object.dart:186:13)
I/flutter (31858): #46 RenderProxyBoxMixin.paint (package:flutter/src/rendering/proxy_box.dart:133:15)
I/flutter (31858): #47 RenderObject._paintWithContext (package:flutter/src/rendering/object.dart:2266:7)
I/flutter (31858): #48 PaintingContext.paintChild (package:flutter/src/rendering/object.dart:186:13)
I/flutter (31858): #49 RenderProxyBoxMixin.paint (package:flutter/src/rendering/proxy_box.dart:133:15)
I/flutter (31858): #50 RenderObject._paintWithContext (package:flutter/src/rendering/object.dart:2266:7)
I/flutter (31858): #51 PaintingContext._repaintCompositedChild (package:flutter/src/rendering/object.dart:137:11)
I/flutter (31858): #52 PaintingContext.repaintCompositedChild (package:flutter/src/rendering/object.dart:97:5)
I/flutter (31858): #53 PipelineOwner.flushPaint (package:flutter/src/rendering/object.dart:982:29)
I/flutter (31858): #54 RendererBinding.drawFrame (package:flutter/src/rendering/binding.dart:406:19)
I/flutter (31858): #55 WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:867:13)
I/flutter (31858): #56 RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:286:5)
I/flutter (31858): #57 SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1117:15)
I/flutter (31858): #58 SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:1056:9)
I/flutter (31858): #59 SchedulerBinding._handleDrawFrame (package:flutter/src/scheduler/binding.dart:972:5)
I/flutter (31858): #63 _invoke (dart:ui/hooks.dart:253:10)
I/flutter (31858): #64 _drawFrame (dart:ui/hooks.dart:211:3)
I/flutter (31858): (elided 6 frames from dart:async)
I/flutter (31858):
I/flutter (31858): Image provider: ExactAssetImage(name:
I/flutter (31858): "/data/user/0/com.libs.flutterimageppicker/cache/image_cropper_1603461241225.jpg", scale: 1.0,
I/flutter (31858): bundle: null)
I/flutter (31858): Image key: AssetBundleImageKey(bundle: PlatformAssetBundle#c4433(), name:
I/flutter (31858): "/data/user/0/com.libs.flutterimageppicker/cache/image_cropper_1603461241225.jpg", scale: 1.0)
I/flutter (31858): ════════════════════════════════════════════════════════════════════════════════════════════════════

@radhen-thirstydevs
Copy link

Same issue occured

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

2 participants