Jump to content
  • 0

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


Stewie

Question

10 answers to this question

Recommended Posts

  • 0

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.

Link to comment
Share on other sites

  • 0

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...

Link to comment
Share on other sites

  • 0

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.

Link to comment
Share on other sites

  • 0

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

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...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock