What steps will reproduce the problem?
1. Remove current challenge on server
2. Restart manialive, while the map doens't change in server
3. Get error at startup
Since the storage class fails to provide current challenge reliably, other
plugins depending of it will fail also.
Error message attached:
-> ErrorException with code 0
Trying to get property of non-object
- in F:\Trackmania_dedicated\sn12\libraries\ManiaLive\Data\Storage.php on line 142
- Stack: #0 F:\Trackmania_dedicated\sn12\libraries\ManiaLive\Data\Storage.php(142): ManiaLive\Application\ErrorHandling::createExcpetionFromError(8, 'Trying to get p...', 'F:\Trackmania_d...', 142, Array)
#1 F:\Trackmania_dedicated\sn12\libraries\ManiaLive\Application\Event.php(39): ManiaLive\Data\Storage->onInit()
#2 F:\Trackmania_dedicated\sn12\libraries\ManiaLive\Event\Dispatcher.php(52): ManiaLive\Application\Event->fireDo(Object(ManiaLive\Data\Storage))
#3 F:\Trackmania_dedicated\sn12\libraries\ManiaLive\Application\AbstractApplication.php(115): ManiaLive\Event\Dispatcher::dispatch(Object(ManiaLive\Application\Event))
#4 F:\Trackmania_dedicated\sn12\libraries\ManiaLiveApplication\Application.php(36): ManiaLive\Application\AbstractApplication->init()
#5 F:\Trackmania_dedicated\sn12\libraries\ManiaLive\Application\AbstractApplication.php(122): ManiaLiveApplication\Application->init()
#6 F:\Trackmania_dedicated\sn12\bootstrapper.php(19): ManiaLive\Application\AbstractApplication->run()
#7 {main}
Original issue reported on code.google.com by petri.ja...@gmail.com on 17 Feb 2011 at 3:56
Original issue reported on code.google.com by
petri.ja...@gmail.com
on 17 Feb 2011 at 3:56