You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not sure I should file this issue, since this is an error that only occurs when I run dartdoc with the latest dev version of the SDK. dartdoc runs normally with the latest stable version.
Here's the stacktrace:
dartdoc failed: NoSuchMethodError: The getter 'length' was called on null.Receiver: nullTried calling: lengthdart:core Object.noSuchMethodpackage:collection/src/comparators.dart 189:25 compareAsciiLowerCaseNaturalpackage:dartdoc/src/model/nameable.dart 42:5 byNamedart:collection ListMixin.sortpackage:dartdoc/src/model/library.dart 181:15 Library.extensionspackage:dartdoc/src/model/library.dart 611:17 Library.modelElementsMappackage:dartdoc/src/model/library.dart 652:47 Library.allModelElementspackage:dartdoc/src/model/package_graph.dart 875:48 PackageGraph.allModelElements.<fn>.<fn>dart:collection SetMixin.forEachpackage:dartdoc/src/model/package_graph.dart 874:18 PackageGraph.allModelElements.<fn>dart:collection SetMixin.forEachpackage:dartdoc/src/model/package_graph.dart 868:52 PackageGraph.allModelElementspackage:dartdoc/src/model/package_graph.dart 119:28 PackageGraph.precacheLocalDocsdart:core Iterable.toListpackage:dartdoc/src/model/package_graph.dart 70:56 PackageGraph.initializePackageGraphpackage:dartdoc/src/model/package_builder.dart 51:20 PackageBuilder.buildPackageGraph===== asynchronous gap ===========================package:dartdoc/dartdoc.dart 154:26 Dartdoc.generateDocsBasepackage:dartdoc/dartdoc.dart 194:43 Dartdoc.generateDocsdart:async runZonedC:\b\s\w\ir\cache\builder\sdk\third_party\pkg\dartdoc\bin\dartdoc.dart 95:13 main.<fn>package:stack_trace Chain.captureC:\b\s\w\ir\cache\builder\sdk\third_party\pkg\dartdoc\bin\dartdoc.dart 94:17 main
EDIT: This error occurs when I run the command for my package which can be found here. I wasn't able to find other packages where the command crashes.
The text was updated successfully, but these errors were encountered:
jcollins-g
added
P1
A high priority bug; for example, a single project is unusable or has many test failures
type-bug
Incorrect behavior (everything from a crash to more subtle misbehavior)
P0
A serious issue requiring immediate resolution
and removed
P1
A high priority bug; for example, a single project is unusable or has many test failures
labels
May 13, 2020
Dartdoc is broken for everything using the head SDK with a variant of this bug. Exception trace indicates it is a problem interpreting Object.noSuchMethod -- which as you might imagine, shows up via inheritance in literally every object.
Dartdoc is broken for everything using the head SDK with a variant of this bug. Exception trace indicates it is a problem interpreting Object.noSuchMethod -- which as you might imagine, shows up via inheritance in literally every object.
Yes, I can imagine 😔
With #2214 your exception as well as the one I was seeing are both gone and your package appears to document cleanly.
I'm not sure I should file this issue, since this is an error that only occurs when I run
dartdoc
with the latest dev version of the SDK.dartdoc
runs normally with the latest stable version.Here's the stacktrace:
EDIT: This error occurs when I run the command for my package which can be found here. I wasn't able to find other packages where the command crashes.
The text was updated successfully, but these errors were encountered: