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

Hive Status Null Error #4397

Closed
3 tasks done
TeDGamer opened this issue Sep 11, 2023 · 5 comments
Closed
3 tasks done

Hive Status Null Error #4397

TeDGamer opened this issue Sep 11, 2023 · 5 comments
Labels
Bug Admin events aren't bugs Needs Reproducing We're not even sure if you know how to do it

Comments

@TeDGamer
Copy link
Contributor

Testmerges

#4379, #4182, #4378

Description of the bug

image

Just happened in this round. Attempting to access hive status didn't seem to work.

Was working earlier with second queen but then it stopped.

What's the difference with what should have happened?

Show regular hive status

How do we reproduce this bug?

Not sure how to replicate

  1. Click hive status

Issue Bingo

@TeDGamer TeDGamer added the Bug Admin events aren't bugs label Sep 11, 2023
@TeDGamer
Copy link
Contributor Author

image

@private-tristan
Copy link
Contributor

private-tristan commented Sep 15, 2023

typically happens when there's lots of xenos (starts breaking around 35-40+ or so?
seems to happen with pylons active.

@SabreML
Copy link
Member

SabreML commented Dec 5, 2023

I get this pretty often too.
It looks like the error is coming from line 31 of HiveStatus.js, where the nicknumber isn't an entry in xeno_info. Although I'm not sure what could be causing a someone to be in xeno_keys but not xeno_info, considering both loop through totalXenos in the same way.

xeno_keys.map((key, i) => {
const nicknumber = key.nicknumber.toString();
let entry = {
nicknumber: nicknumber,
name: xeno_info[nicknumber].name,
strain: xeno_info[nicknumber].strain,
location: xeno_vitals[nicknumber].area,
health: xeno_vitals[nicknumber].health,
ref: xeno_info[nicknumber].ref,
is_ssd: xeno_vitals[nicknumber].is_ssd,
is_leader: key.is_leader,
is_queen: key.is_queen,
};
xeno_entries.push(entry);
});

@Huffie56 Huffie56 added the Needs Reproducing We're not even sure if you know how to do it label Dec 9, 2023
@SabreML
Copy link
Member

SabreML commented Dec 27, 2023

Should have been fixed by #5249. @Huffie56

@Huffie56
Copy link
Contributor

Should have been fixed by #5249. @Huffie56

yep thanks PR wasn't link to this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Admin events aren't bugs Needs Reproducing We're not even sure if you know how to do it
Projects
None yet
Development

No branches or pull requests

4 participants