Posted November 1, 2015 (edited) Just started happening after the last patch. This is what I see in the logs just before the server shuts down: Oct 31, 2015 5:54:01 PM com.wurmonline.mesh.MeshIO getTileWARNING: data: 67108865, x: -1, y: 2787, size_level: 13, x | (y << size_level): -1java.lang.ArrayIndexOutOfBoundsException: -1 at com.wurmonline.mesh.MeshIO.getTile(MeshIO.java:289) at com.wurmonline.server.zones.TilePoller.checkForTreeGrowth(TilePoller.java:1907) at com.wurmonline.server.zones.TilePoller.checkEffects(TilePoller.java:481) at com.wurmonline.server.zones.TilePoller.pollNextTile(TilePoller.java:235) at com.wurmonline.server.zones.TilePoller.pollNext(TilePoller.java:165) at com.wurmonline.server.Server.run(Server.java:1709) at java.util.TimerThread.mainLoop(Unknown Source) at java.util.TimerThread.run(Unknown Source)Oct 31, 2015 5:54:01 PM com.wurmonline.server.Server runSEVERE: -1java.lang.ArrayIndexOutOfBoundsException: -1 at com.wurmonline.mesh.MeshIO.getTile(MeshIO.java:289) at com.wurmonline.server.zones.TilePoller.checkForTreeGrowth(TilePoller.java:1907) at com.wurmonline.server.zones.TilePoller.checkEffects(TilePoller.java:481) at com.wurmonline.server.zones.TilePoller.pollNextTile(TilePoller.java:235) at com.wurmonline.server.zones.TilePoller.pollNext(TilePoller.java:165) at com.wurmonline.server.Server.run(Server.java:1709) at java.util.TimerThread.mainLoop(Unknown Source) at java.util.TimerThread.run(Unknown Source)Oct 31, 2015 5:54:01 PM com.wurmonline.server.Server shutDownINFO: Shutting down at:java.lang.Exception at com.wurmonline.server.Server.shutDown(Server.java:3276) at com.wurmonline.server.Server.run(Server.java:2471) at java.util.TimerThread.mainLoop(Unknown Source) at java.util.TimerThread.run(Unknown Source)Oct 31, 2015 5:54:01 PM com.wurmonline.server.Server shutDown EDIT: Doesn't happen every time someone leaves. Only occasionally. So far it's happened twice during the tenure of the server (about 2 weeks) and both times being after the tree growth patch. Edited November 1, 2015 by Scrubbs Share this post Link to post Share on other sites
Posted November 1, 2015 Are you by chance using a custom map? Share this post Link to post Share on other sites
Posted November 1, 2015 Is this a custom map that you've made, or a map you've downloaded that another player made? Have you made sure to run the rebuild-dbs.bat after you copied over the custom map?This will be located in the Wurm Unlimited Dedicated Server\NameOfMap\sqlite Where NameOfMap is the name of the world map that you're using, for example, Creative. Share this post Link to post Share on other sites
Posted November 1, 2015 Yea I've been running this map since just after WU launched. Did all the normal stuff you need to do in order to get custom maps to work. This particular crash just started after they implemented the tree growth fix patch last week (or the week before). Share this post Link to post Share on other sites
Posted November 3, 2015 (edited) Happened again today, same exact output from the logs. Seems to happen at some point when it checks for tree growth, but not every time it happens. Odd. Not sure why it's checking a -1 for an X boundary. Edited November 3, 2015 by Scrubbs Share this post Link to post Share on other sites
Posted November 3, 2015 Ok I will not update my server to the new version. Thanks Share this post Link to post Share on other sites
Posted November 4, 2015 (edited) I posted before this morning's patch. Server hasn't crashed yet, but it usually takes a few days before it does. They may have fixed it with the official tree growth changes this morning. I had just used the db edit method prior. Edited November 4, 2015 by Scrubbs Share this post Link to post Share on other sites
Posted November 17, 2015 This is still happening. It's at the point now where my server won't even start because it immediately tries to do some polling on some piece of land or something and crashes the server. Nov 16, 2015 5:44:39 PM com.wurmonline.server.steam.SteamHandler onSteamConnectedINFO: Server connected to steamNov 16, 2015 5:44:44 PM com.wurmonline.mesh.MeshIO getTileWARNING: data: 67108865, x: -1, y: 2787, size_level: 13, x | (y << size_level): -1java.lang.ArrayIndexOutOfBoundsException: -1 at com.wurmonline.mesh.MeshIO.getTile(MeshIO.java:289) at com.wurmonline.server.zones.TilePoller.checkForTreeGrowth(TilePoller.java:1907) at com.wurmonline.server.zones.TilePoller.checkEffects(TilePoller.java:481) at com.wurmonline.server.zones.TilePoller.pollNextTile(TilePoller.java:235) at com.wurmonline.server.zones.TilePoller.pollNext(TilePoller.java:165) at com.wurmonline.server.Server.run(Server.java:1709) at java.util.TimerThread.mainLoop(Unknown Source) at java.util.TimerThread.run(Unknown Source)Nov 16, 2015 5:44:44 PM com.wurmonline.server.Server runSEVERE: -1java.lang.ArrayIndexOutOfBoundsException: -1 at com.wurmonline.mesh.MeshIO.getTile(MeshIO.java:289) at com.wurmonline.server.zones.TilePoller.checkForTreeGrowth(TilePoller.java:1907) at com.wurmonline.server.zones.TilePoller.checkEffects(TilePoller.java:481) at com.wurmonline.server.zones.TilePoller.pollNextTile(TilePoller.java:235) at com.wurmonline.server.zones.TilePoller.pollNext(TilePoller.java:165) at com.wurmonline.server.Server.run(Server.java:1709) at java.util.TimerThread.mainLoop(Unknown Source) at java.util.TimerThread.run(Unknown Source)Nov 16, 2015 5:44:44 PM com.wurmonline.server.Server shutDownINFO: Shutting down at:java.lang.Exception at com.wurmonline.server.Server.shutDown(Server.java:3277) at com.wurmonline.server.Server.run(Server.java:2472) at java.util.TimerThread.mainLoop(Unknown Source) at java.util.TimerThread.run(Unknown Source) Share this post Link to post Share on other sites
Posted November 17, 2015 By any chance do you have trees at the edge of the map (within 1-2 tiles)? Looking at the code for that method that seems to be what could cause the issue. Share this post Link to post Share on other sites
Posted November 18, 2015 I have no idea. It shouldn't since it's all surrounded by water, but I haven't done a fly-by in GM mode or anything to check. Share this post Link to post Share on other sites
Posted November 22, 2015 (edited) The thing I don't get is: my map is 8192 x 8192, which is 67108864 tiles. It's trying to do a poll on 67108865, which is what's causing the out of bounds error, I think. I'm not sure why it's trying to poll a tile that doesn't exist. Actually I think I found the problem. The map I'm running has a tiny island that butts up against the left side of the map. There's no water there and I heard the map has to be surrounded by water on all 4 sides in order to work properly. The x,y coords shown in the error (-1, 2787) correspond to the little island (well, 0, 2787 would) and from the topo it looks like it has trees on it. Ugh ... now I have to figure out how to clear this little island off the map. EDIT: I GMed myself and flew out to the small island to take a look .Turns out a lot of trees had spawned on the very edge tiles, so I turned the leftmost set of tiles on the island into sand so no trees spawn there. Hopefully this fixes it. Edited November 22, 2015 by Scrubbs Share this post Link to post Share on other sites