Skip to content
This repository has been archived by the owner on Mar 18, 2021. It is now read-only.

aqueduct document crashes #867

Open
poznanski opened this issue Jun 28, 2020 · 2 comments
Open

aqueduct document crashes #867

poznanski opened this issue Jun 28, 2020 · 2 comments

Comments

@poznanski
Copy link

aqueduct crashes when trying to generate OpenAPI client web page

aqueduct document client
-- Aqueduct CLI Version: 4.0.0-b1
-- Aqueduct project version: 4.0.0-b1
*** Uncaught error
Bad state: NoSuchMethodError: The method 'map' was called on null.
Receiver: null
Tried calling: map<String, dynamic>(Closure: (dynamic, dynamic) => MapEntry<String, dynamic>)
**** Stacktrace


@owczaro
Copy link

owczaro commented Jul 14, 2020

@poznanski, after upgrading dart to the newest version I had similar problem, but during aqueduct db generate. Try to add pub run before all aqueduct commands. It's temporary solution, but works though

@poznanski
Copy link
Author

after downgrading aqueduct version I got a meaningful error message about my classes, unfortunately I did not saved it. Anyway, I guess it is a problem of error reporting. If maintainers want, they can close the issue. Thanks.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants