Closed EntilZha closed 9 years ago
Hey,
Thanks for the report.
Currently the fact that Riot didn't send identity data for the players in the JSON payload isn't handled correctly here. All that really needs to be added is a check for whether the data is null. I can't fix this right now, but will update it later today.
FYI, the most recent snapshot (if you got it from robrua.com/orianna) is built automatically on repo update, so building from master won't change anything.
Fixed in newest release/build
Been working at the Riot API challenge and found null pointer bug. Below is an example (in Scala though, but it translates fine):
Here is the stack trace:
I am using the most recent snapshot (might give a try to build/compiling master if that would help), but based on that error message, I looked https://github.com/robrua/Orianna/blob/master/src/com/robrua/orianna/type/core/match/Participant.java#L164
The debugger says that
getPlayer
returns a null value. At this point, I have only briefly looked at the orianna source code so I don't have a good idea what is wrong, but will probably looking at it more later today. Any ideas in the meanwhile?