Emkej Posted September 20, 2013 Posted September 20, 2013 Hi, im using free source L2J Freya pack which i downloaded from svn repository. But got problem with gameserver it always stops here: FourSepulchersManager: spawned Judges' Sepulcher Manager Exception in thread "main" java.lang.NullPointerException at com.l2jserver.gameserver.instancemanager.FourSepulchersManager.clean( FourSepulchersManager.java:248) at com.l2jserver.gameserver.instancemanager.FourSepulchersManager.timeSe lector(FourSepulchersManager.java:217) at com.l2jserver.gameserver.instancemanager.FourSepulchersManager.init(F ourSepulchersManager.java:187) at com.l2jserver.gameserver.GameServer.<init>(GameServer.java:271) at com.l2jserver.gameserver.GameServer.main(GameServer.java:484) if some1 know what the problem could be i woul be really grateful :)
0 ^Wyatt Posted September 20, 2013 Posted September 20, 2013 (edited) Didn't you edit anything? Didn't you touch something related with grandbosses or grandbosses areas? Edited September 20, 2013 by ^Wyatt
0 SweeTs Posted September 20, 2013 Posted September 20, 2013 Post dat file FourSepulchersManager, clean() method under code tag and mark the 248 line :P
0 ^Wyatt Posted September 20, 2013 Posted September 20, 2013 (edited) If your server is PvP or it isn't but you're not planning to use Four Sepulchers u could just go to com.l2jserver.gameserver, find this line FourSepulchersManager.getInstance().init();and delete it or add // in front. But that's just in case you won't use it. If you wanna use it you should take a look from where the problem comes, as I've read in your screen, seems that the NullPointer is coming from com/l2jserver/gameserver/instancemanager/FourSepulchersManager.java public void clean() { for (int i = 31921; i < 31925; i++) { int[] Location = _startHallSpawns.get(i); GrandBossManager.getInstance().getZone(Location[0], Location[1], Location[2]).oustAllPlayers(); } That's why I asked you about grandbosses, seems that a grandboss is missing and can't load the zone, or a zone is missing. Is that the only error that you get when starting the GameServer? Edited September 20, 2013 by ^Wyatt
0 Emkej Posted September 20, 2013 Author Posted September 20, 2013 (edited) ok i'll try to find at and post it asap, and it wont be a pvp server so it would be really nice if i could fix it ok here it is //it's not the only one exception it's just the last one //you can lock this, i fixed this, it was just bad table in db public void clean() { for (int i = 31921; i < 31925; i++) { int[] Location = (int[])this._startHallSpawns.get(i); 248---GrandBossManager.getInstance().getZone(Location[0], Location[1], Location[2]).oustAllPlayers(); } deleteAllMobs(); closeAllDoors(); this._hallInUse.clear(); this._hallInUse.put(Integer.valueOf(31921), Boolean.valueOf(false)); this._hallInUse.put(Integer.valueOf(31922), Boolean.valueOf(false)); this._hallInUse.put(Integer.valueOf(31923), Boolean.valueOf(false)); this._hallInUse.put(Integer.valueOf(31924), Boolean.valueOf(false)); Iterator i$; if (this._archonSpawned.size() != 0) { Set npcIdSet = this._archonSpawned.keySet(); for (i$ = npcIdSet.iterator(); i$.hasNext(); ) { int npcId = ((Integer)i$.next()).intValue(); this._archonSpawned.put(Integer.valueOf(npcId), Boolean.valueOf(false)); } } } Edited September 20, 2013 by Emkej
Question
Emkej
Hi, im using free source L2J Freya pack which i downloaded from svn repository. But got problem with gameserver it always stops here:
FourSepulchersManager: spawned Judges' Sepulcher Manager
5 answers to this question
Recommended Posts