Jump to content
  • 0

[HELP]I need support with Game server console error.


Question

10 answers to this question

Recommended Posts

  • 0
Posted

null exception not handled, just add a "!= null" somewhere (no code no candies), or avoid getVotes sends null (good use is an empty array/map, depending what is getVotes() : it will avoid to care about NPE).

 

And yes, it comes from the fact the author of the code thought the connection to the system was 100% ok. Which isn't. If you can't connect, getVotes is null and so you make actions on null stuff.

  • 0
Posted

null exception not handled, just add a "!= null" somewhere (no code no candies), or avoid getVotes sends null (good use is an empty array/map, depending what is getVotes() : it will avoid to care about NPE).

 

And yes, it comes from the fact the author of the code thought the connection to the system was 100% ok. Which isn't. If you can't connect, getVotes is null and so you make actions on null stuff.

 

Mxm, so what i wanna ask is, is this error fatal or simple it doesn't make's any lag... becouse i would simple ignore it if it's not important...

  • 0
Posted

Depends where/when that method is called, if it's on an individual base, it will make an error everyone logs on, making the logs system unreadable for true errors and impacting performances. If it's only at server startup then you got the error once and that's all.

  • 0
Posted

Depends where/when that method is called, if it's on an individual base, it will make an error everyone logs on, making the logs system unreadable for true errors and impacting performances. If it's only at server startup then you got the error once and that's all.

 

Well the errors show-up not everything it check for vote's... also vote reward is working as it should be...

The error didn't show up today ... just sometime's i get it... no idia why...

Also it's not when Vote Reward System loads... at startup

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...