Page 1 of 2

Loftar, what happened to my fields? [BUG]

PostPosted: Mon Nov 18, 2013 3:29 pm
by ZtyX
Loftar, what happened to my fields? [BUG]

Cereal fields:

Yesterday:
- The fields had finished growing and had been ready for harvesting for many days.

Today:
- All graphics on the fields have disappeared. They look as if they are empty.
- I can add humus to the fields and increase stats. And I cannot harvest them.
- The game crashes when I login at my base, but I can login at Boston. This is with the default client.

I tried to delete all Salem folders in /users (.salem and salem), but it doesn't work. I am experience this problem with the custom clients also, but I can play on them.

Question to Loftar:
- Is this a bug and can you fix it?

Question to others:
- Did anyone experience something similar?


java.lang.RuntimeException: java.lang.IllegalArgumentException: n must be positive
at com.jogamp.common.util.awt.AWTEDTExecutor.invoke(AWTEDTExecutor.java:58)
at jogamp.opengl.awt.AWTThreadingPlugin.invokeOnOpenGLThread(AWTThreadingPlugin.java:103)
at jogamp.opengl.ThreadingImpl.invokeOnOpenGLThread(ThreadingImpl.java:206)
at javax.media.opengl.Threading.invokeOnOpenGLThread(Threading.java:172)
at javax.media.opengl.Threading.invoke(Threading.java:191)
at javax.media.opengl.awt.GLCanvas.display(GLCanvas.java:528)
at haven.HavenPanel.uglyjoglhack(HavenPanel.java:411)
at haven.HavenPanel.run(HavenPanel.java:444)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.IllegalArgumentException: n must be positive
at java.util.Random.nextInt(Unknown Source)
at haven.res.lib.plants.GrowingPlant.cons(GrowingPlant.java:43)
at haven.res.lib.plants.GrowingPlant.<init>(GrowingPlant.java:74)
at haven.res.lib.plants.GrowingPlant$Factory.create(GrowingPlant.java:18)
at haven.Sprite.create(Sprite.java:108)
at Fact.create(Fact.java:12)
at haven.Sprite.create(Sprite.java:108)
at haven.ResDrawable.init(ResDrawable.java:53)
at haven.ResDrawable.setup(ResDrawable.java:58)
at haven.Gob.setup(Gob.java:204)
at haven.RenderList.setup(RenderList.java:98)
at haven.RenderList.add(RenderList.java:135)
at haven.MapView.addgob(MapView.java:444)
at haven.MapView$3.setup(MapView.java:453)
at haven.RenderList.setup(RenderList.java:98)
at haven.RenderList.add(RenderList.java:135)
at haven.MapView.setup(MapView.java:515)
at haven.PView$1.setup(PView.java:198)
at haven.RenderList.setup(RenderList.java:98)
at haven.RenderList.setup(RenderList.java:123)
at haven.PView.draw(PView.java:222)
at haven.MapView.draw(MapView.java:814)
at haven.Widget.draw(Widget.java:510)
at haven.Widget.draw(Widget.java:515)
at haven.GameUI.draw(GameUI.java:469)
at haven.Widget.draw(Widget.java:510)
at haven.Widget.draw(Widget.java:515)
at haven.RootWidget.draw(RootWidget.java:61)
at haven.UI.draw(UI.java:139)
at haven.HavenPanel.redraw(HavenPanel.java:293)
at haven.HavenPanel$1.display(HavenPanel.java:91)
at jogamp.opengl.GLDrawableHelper.displayImpl(GLDrawableHelper.java:649)
at jogamp.opengl.GLDrawableHelper.display(GLDrawableHelper.java:633)
at javax.media.opengl.awt.GLCanvas$9.run(GLCanvas.java:1271)
at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1103)
at jogamp.opengl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:978)
at javax.media.opengl.awt.GLCanvas$10.run(GLCanvas.java:1282)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$200(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)

Re: Loftar, what happened to my fields? [BUG]

PostPosted: Mon Nov 18, 2013 3:55 pm
by Procne
I did experience this some months ago. It happened when my fields were ready for harvest, but I haven't logged for many days.

Just wait few more days - fields will either start growing again, or appear harvestable.


As for the "n must be positive" bug... It also happened to me, but like a year ago. It happened when I entered some abandoned mine with empty fields in it, stacked on each other. Game kept crashing whenever I tried to log into this character. However, next day it was fine - I quickly got out of the mine and never entered it again

Re: Loftar, what happened to my fields? [BUG]

PostPosted: Mon Nov 18, 2013 5:17 pm
by ZtyX
Thank you for the info, Procne. Appreciate it.

Re: Loftar, what happened to my fields? [BUG]

PostPosted: Mon Nov 18, 2013 7:06 pm
by Kandarim
I can guess what the issue is, it is probably this line of code:

Code: Select all
        j = ((Integer)meshes.get(((Random)rand).nextInt(meshes.size()))).intValue();


However, this means that there are no 3D meshes to render for your particular field - a situation that shouldn't arise in the first place. This being an issue with the default client as well, at least it's not the fault of my client. I suggest we keep the discussion of it to this thread (and not on the thread of my custom client). I vaguely recall seeing this bug report before, but I don't really know how it was resolved. It might have been during frequent update time where the issue got resolved after a server reboot, for all I know.

Re: Loftar, what happened to my fields? [BUG]

PostPosted: Tue Nov 19, 2013 1:39 am
by Chiprel
It's old bug which (if i remember right) was/should be fixed already by loftar. Seems it wasn't fixed fully after all.
I know about 3 guys having that issue before(long time ago when you still could farm inside your minehole). Was same/similiar error. Couldn't render those fields both on default and ender client. It was only possible to access them(without crashing) with client that had "1 crop per field/1 tile farms" modification.
I think that in first case fields become usable after 2-3weeks. In second case it took less than a week for fields to become harvestable again. So surely you'll be able to use your fields even if loftar won't fix it but it'll take some time.

If I were you I would post about it on real bugtracker as loftar doesn't seem to check forums to often.
http://www.seatribe.se/bt/
If you post it there he'll get email and surely will know about the problem in less than few hours ;)


Edit: http://www.seatribe.se/bt/show_bug.cgi?id=108 old report about same thing.

Re: Loftar, what happened to my fields? [BUG]

PostPosted: Tue Nov 19, 2013 1:48 am
by ZtyX
K thanks. I sent a bug report.

Re: Loftar, what happened to my fields? [BUG]

PostPosted: Sun Nov 24, 2013 1:14 pm
by uncleseano
I've just got this big too now, the fields are empty and unharvestable (except for the one corn one I have),

grrr...grrr I say!

Re: Loftar, what happened to my fields? [BUG]

PostPosted: Sun Nov 24, 2013 3:34 pm
by ZtyX
My fields have returned to growth stage again after about 1 week of being bugged. They were harvestable before :(
But at least they are fixed!

Re: Loftar, what happened to my fields? [BUG]

PostPosted: Mon Dec 02, 2013 1:21 pm
by uncleseano
My fields are still buggered. No graphic except for corn and are un harvestable. The inf and upkeep is there correct though. Been like this for nearly two weeks now

Re: Loftar, what happened to my fields? [BUG]

PostPosted: Sat Dec 07, 2013 12:59 pm
by uncleseano
Oh nevermind this mysteriously fixed itself after a week or so

http://www.youtube.com/watch?v=XVSRm80WzZk