1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

[Solved] Can someone please explain this error?

Discussion in 'Facepalm' started by jasonwynn10, Jan 1, 2017.

  1. jasonwynn10

    jasonwynn10 Moderator Poggit Reviewer

    Messages:
    1,489
    GitHub:
    jasonwynn10
    Code:
    Return value of pocketmine\Server::getInstance() must be an instance of pocketmine\Server, null returned" (EXCEPTION) in "/src/pocketmine/Server" at line 1321
    I swear, this has got to be the weirdest error that i've found yet... What could be causing it? @dktapps
     
    Last edited: Jan 1, 2017
  2. robske_110 (Tim)

    robske_110 (Tim) Wither Skeleton Poggit Reviewer

    Messages:
    1,342
    GitHub:
    robske110
    Maybe you called Server::getInstance() from a thread :p
    :facepalm:
     
  3. jasonwynn10

    jasonwynn10 Moderator Poggit Reviewer

    Messages:
    1,489
    GitHub:
    jasonwynn10
    Thanks
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.