Jump to content
  • 0

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


Question

Posted

error.png

I get this error in gameserver console, it's from Vote Reward System... i'm not able to see where exacly... is the problem

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..

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