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

Crash: dart doc for version 3.7.2 #4019

Closed
abdulazisalayubbi opened this issue Mar 18, 2025 · 2 comments
Closed

Crash: dart doc for version 3.7.2 #4019

abdulazisalayubbi opened this issue Mar 18, 2025 · 2 comments

Comments

@abdulazisalayubbi
Copy link

I have a problem with dart doc, so I downgrade also but nothing happens. It's new flutter project then this happens

dartdoc 8.3.1-wip (/Users/abdulazisalayubbi/Documents/project/medroyale/medroyale/dartdev) failed: LateInitializationError: Field 'objectClass' has not been initialized.
#0 PackageGraph.objectClass (package:dartdoc/src/model/package_graph.dart)
#1 Mixin.superclassConstraints. (package:dartdoc/src/model/mixin.dart:22:54)
#2 WhereIterator.moveNext (dart:_internal/iterable.dart:468:13)
#3 new _GrowableList._ofOther (dart:core-patch/growable_array.dart:203:26)
#4 new _GrowableList.of (dart:core-patch/growable_array.dart:152:26)
#5 new List.of (dart:core-patch/array_patch.dart:40:18)
#6 Mixin.superclassConstraints (package:dartdoc/src/model/mixin.dart:18:69)
#7 Mixin.superclassConstraints (package:dartdoc/src/model/mixin.dart)
#8 Mixin.inheritanceChain (package:dartdoc/src/model/mixin.dart:35:8)
#9 Mixin.inheritanceChain (package:dartdoc/src/model/mixin.dart)
#10 Class.inheritanceChain (package:dartdoc/src/model/class.dart:36:20)
#11 Class.inheritanceChain (package:dartdoc/src/model/class.dart)
#12 Class.inheritanceChain (package:dartdoc/src/model/class.dart:39:20)
#13 Class.inheritanceChain (package:dartdoc/src/model/class.dart)
#14 InheritingContainer._inheritedElements. (package:dartdoc/src/model/inheriting_container.dart:157:9)
#15 InheritingContainer._inheritedElements (package:dartdoc/src/model/inheriting_container.dart:196:4)
#16 InheritingContainer._inheritedElements (package:dartdoc/src/model/inheriting_container.dart)
#17 InheritingContainer.inheritedMethods (package:dartdoc/src/model/inheriting_container.dart:104:35)
#18 InheritingContainer.instanceMethods (package:dartdoc/src/model/inheriting_container.dart:356:12)
#19 Container.allModelElements (package:dartdoc/src/model/container.dart:59:12)
#20 InheritingContainer._allModelElements (package:dartdoc/src/model/inheriting_container.dart:98:14)
#21 InheritingContainer._allModelElements (package:dartdoc/src/model/inheriting_container.dart)
#22 InheritingContainer.allModelElements (package:dartdoc/src/model/inheriting_container.dart:281:46)
#23 Class.allModelElements (package:dartdoc/src/model/class.dart:22:14)
#24 Class.allModelElements (package:dartdoc/src/model/class.dart)
#25 Library.allModelElements (package:dartdoc/src/model/library.dart:440:46)
#26 Library.allModelElements (package:dartdoc/src/model/library.dart)
#27 PackageGraph._gatherModelElements (package:dartdoc/src/model/package_graph.dart:882:36)
#28 PackageGraph._precacheLocalDocs (package:dartdoc/src/model/package_graph.dart:160:28)
#29 PackageGraph.initializePackageGraph (package:dartdoc/src/model/package_graph.dart:126:11)
#30 PubPackageBuilder.buildPackageGraph (package:dartdoc/src/model/package_builder.dart:120:22)

#31 Dartdoc.generateDocsBase (package:dartdoc/src/dartdoc.dart:189:24)

#32 Dartdoc.generateDocs (package:dartdoc/src/dartdoc.dart:241:24)

#33 Dartdoc.executeGuarded. (package:dartdoc/src/dartdoc.dart:273:9)

I'm using dart 3.7.2 and flutter version 3.29.2

@mkorbel1
Copy link

I think this is a duplicate of #3996

@srawlins
Copy link
Member

Duplicate of #3996

@srawlins srawlins marked this as a duplicate of #3996 Mar 21, 2025
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

3 participants