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

bug: crashed while running rover subgraph introspect #590

Closed
antonmo46 opened this issue Jun 2, 2021 · 1 comment · Fixed by #592
Closed

bug: crashed while running rover subgraph introspect #590

antonmo46 opened this issue Jun 2, 2021 · 1 comment · Fixed by #592
Milestone

Comments

@antonmo46
Copy link

Crash Report

name = 'rover'
operating_system = 'unix:OSX'
crate_version = '0.1.5'
explanation = '''
Panic occurred in file 'crates/rover-client/src/blocking/client.rs' at line 112
'''
cause = 'index out of bounds: the len is 0 but the index is 0'
method = 'Panic'
backtrace = '''

  0: 0x1075dcf5a - _rust_begin_unwind
  1: 0x10761ac5f - core::panicking::panic_fmt::h84e4b5f5d5160f07
  2: 0x10761ac26 - core::panicking::panic_bounds_check::hdc43cf07642057b0
  3: 0x1072111d9 - rover_client::blocking::client::Client::post::hd42ba3edca6483d9
  4: 0x1071b83f3 - rover_client::query::subgraph::introspect::run::h5b8b145fbad51a98
  5: 0x10627643d - rover::command::subgraph::Subgraph::run::h3f9440b9bdedc56a
  6: 0x1062a2f6e - rover::cli::Rover::run::ha026d0baca161f7f
  7: 0x106242497 - rover::main::h9c051ca1aa705394
  8: 0x10624090a - std::sys_common::backtrace::__rust_begin_short_backtrace::h944ab137f8c48f1b
  9: 0x10624092c - std::rt::lang_start::{{closure}}::h62d8a3fafd6493b6
 10: 0x1075dd904 - std::rt::lang_start_internal::h0c37a46739a0311d
 11: 0x106242c19 - _main'''
@EverlastingBugstopper
Copy link
Contributor

Hi @antonmo46 - thanks for the report.

Could you give me a bit more information about what you were trying to do here? It looks like you were trying to run rover subgraph introspect and we got a less than helpful crash message.

It's very possible you were trying to run rover subgraph introspect on an endpoint that does not have the appropriate query fields for that command. I'd recommend trying to run rover graph introspect on the same endpoint and see if that helps at all.

@EverlastingBugstopper EverlastingBugstopper changed the title bug: crashed while <insert description here> bug: crashed while running rover subgraph introspect Jun 2, 2021
@EverlastingBugstopper EverlastingBugstopper added this to the June 8 milestone Jun 8, 2021
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

Successfully merging a pull request may close this issue.

2 participants