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

flutter doctor -v crashes from Dart.jar archive error #96018

Closed
brendan-duncan opened this issue Jan 1, 2022 · 7 comments
Closed

flutter doctor -v crashes from Dart.jar archive error #96018

brendan-duncan opened this issue Jan 1, 2022 · 7 comments
Labels
r: duplicate Issue is closed as a duplicate of an existing issue t: flutter doctor Problem related to the "flutter doctor" tool tool Affects the "flutter" command-line tool. See also t: labels.

Comments

@brendan-duncan
Copy link

I'm the author of the archive library, which flutter doctor is using. I was informed about flutter doctor -v failing because it fails decoding Dart.jar with the archive library, brendan-duncan/archive#177.

The problem was because Dart.jar had an archive comment that was not a valid string, and the library wasn't robust about catching that. I updated the archive library to 3.1.8 to catch that error. But I don't know how to update flutter's pub cache to make sure it's using the latest version of the library for flutter doctor to verify the fix with flutter.

@danagbemava-nc danagbemava-nc added the in triage Presently being triaged by the triage team label Jan 3, 2022
@danagbemava-nc
Copy link
Member

Related issue: #94060

/cc @christopherfujino

@danagbemava-nc danagbemava-nc added passed first triage t: flutter doctor Problem related to the "flutter doctor" tool tool Affects the "flutter" command-line tool. See also t: labels. and removed in triage Presently being triaged by the triage team labels Jan 3, 2022
@TahaTesser
Copy link
Member

TahaTesser commented Jan 3, 2022

@christopherfujino
I have attempted to upgrade packagers using flutter update-packages --force-upgrade but there are cache issues from dds and not all packages are migrated

@mandudeman
Copy link

Were guys able to solve this issue? If yes, can you specifically explain how you go about doing it? I am new to Flutter and I am encountering the same problem. Your answer will be a big help. Thanks a lot.

@TahaTesser
Copy link
Member

#96240 is tracking issue from #96018 (comment)

@TahaTesser
Copy link
Member

Using #96258 I tried updating packages and the issue is resolved,
I am closing this for original as update issue is resolved and should be landed in #96325

@christopherfujino
Copy link
Member

@TahaTesser I was out of office, thanks for driving this!

@github-actions
Copy link

This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 24, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
r: duplicate Issue is closed as a duplicate of an existing issue t: flutter doctor Problem related to the "flutter doctor" tool tool Affects the "flutter" command-line tool. See also t: labels.
Projects
None yet
Development

No branches or pull requests

5 participants