iprobedroid / swgoh-arena-tracker

47 stars 189 forks source link

Object reference error #6

Closed jkray622 closed 4 years ago

jkray622 commented 4 years ago

Hello! This bot looks amazing for my Arena Shard.

I have set it up per the provided instructions. I set up a JSON with the formatting shown, and I set it up as a secret Gist on my Github. I defined all names, but left all the Discord tags as empty fields ("").

When I initialize the JSON link, it loads the players into the assigned discord channel. The bot seems to be working as expected, but the logs are capturing this constant error approximately every 5 minutes: Error: Object reference not set to an instance of an object.

I would appreciate any advice, or whether I should just ignore this error.

iprobedroid commented 4 years ago

well, if it is working just ignore, also, check if you set ONLY these 3 env variables: ALLY_CODES_URL, ARENA_TYPE, DISCORD_WEB_HOOK did not check other combinations other possible reason if you set ally codes which do not exist(or wrong formatted) -> check if one of the players does not get reported in Discord

jkray622 commented 4 years ago

Thank you, I was able to find one member that had an error in the ally code and that error has gone away.