IndexOutOfBoundsException: 1 remaining, only had 0

The worst monsters in the Hearthlands warp the fabric of space and time...
donatas
Posts: 341
Joined: Thu May 28, 2015 7:01 pm
Location: United Kingdom

I keep getting this error every time I play more than 5 mins

Post by donatas »

java.lang.RuntimeException: haven.BGL$BGLException: java.lang.IndexOutOfBoundsException: Required 1 remaining elements in buffer, only had 0
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$6.uglyjoglhack(HavenPanel.java:446)
at haven.HavenPanel$6.run(HavenPanel.java:481)
at java.lang.Thread.run(Unknown Source)
Caused by: haven.BGL$BGLException: java.lang.IndexOutOfBoundsException: Required 1 remaining elements in buffer, only had 0
at haven.BGL.run(BGL.java:80)
at haven.HavenPanel.redraw(HavenPanel.java:392)
at haven.HavenPanel$1.display(HavenPanel.java:102)
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$500(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)
Caused by: java.lang.IndexOutOfBoundsException: Required 1 remaining elements in buffer, only had 0
at com.jogamp.common.nio.Buffers.rangeCheck(Buffers.java:1033)
at jogamp.opengl.gl4.GL4bcImpl.glVertexPointer(GL4bcImpl.java:35795)
at haven.BGL$111.run(BGL.java:810)
at haven.BGL.run(BGL.java:78)
... 22 more
User avatar
Projeear
Posts: 950
Joined: Tue Jan 11, 2011 2:02 am
Location: Jolly ol' England

Giant fuckin' wings [Texture error]

Post by Projeear »

1. In house.
2. Transition through house.
2.5. Right before / during transition, shift-equip two bucket.
???
3. Be glorious winged creature.

Regretfully, the video wouldn't upload. But it's a shader error rooted from the buckets. Yknow, the big pointy things that stretch a lot.

... Oh, and then I just went in my house, and this happened. No buckets attached.

Code: Select all

java.lang.RuntimeException: haven.BGL$BGLException: java.lang.IndexOutOfBoundsException: Required 1 remaining elements in buffer, only had 0
	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$6.uglyjoglhack(HavenPanel.java:446)
	at haven.HavenPanel$6.run(HavenPanel.java:481)
	at java.lang.Thread.run(Unknown Source)
Caused by: haven.BGL$BGLException: java.lang.IndexOutOfBoundsException: Required 1 remaining elements in buffer, only had 0
	at haven.BGL.run(BGL.java:80)
	at haven.HavenPanel.redraw(HavenPanel.java:392)
	at haven.HavenPanel$1.display(HavenPanel.java:102)
	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$500(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)
Caused by: java.lang.IndexOutOfBoundsException: Required 1 remaining elements in buffer, only had 0
	at com.jogamp.common.nio.Buffers.rangeCheck(Buffers.java:1033)
	at jogamp.opengl.gl4.GL4bcImpl.glVertexPointer(GL4bcImpl.java:35795)
	at haven.BGL$111.run(BGL.java:810)
	at haven.BGL.run(BGL.java:78)
	... 22 more
Grand Walker of World 1 (w1).
Ex-Lawspeaker of New London, Deadwood and New Deadwood (w3).
Witness of the World 4 Great Explosion (w4).
Ex-Lawspeaker of Gregminster (w5).
Ex-Lawspeaker of Laketown (w6).
Squatter and Rebuilder of Templus Pacis (w6).
Hermit thereafter.
Lawspeaker of Tachbrookshire (Hafen 2)
User avatar
klouyd
Posts: 163
Joined: Sun Aug 14, 2011 7:46 pm

everytime im home

Post by klouyd »

java.lang.RuntimeException: haven.BGL$BGLException: java.lang.IndexOutOfBoundsException: Required 1 remaining elements in buffer, only had 0
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$6.uglyjoglhack(HavenPanel.java:446)
at haven.HavenPanel$6.run(HavenPanel.java:481)
at java.lang.Thread.run(Unknown Source)
Caused by: haven.BGL$BGLException: java.lang.IndexOutOfBoundsException: Required 1 remaining elements in buffer, only had 0
at haven.BGL.run(BGL.java:80)
at haven.HavenPanel.redraw(HavenPanel.java:392)
at haven.HavenPanel$1.display(HavenPanel.java:102)
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$500(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)
Caused by: java.lang.IndexOutOfBoundsException: Required 1 remaining elements in buffer, only had 0
at com.jogamp.common.nio.Buffers.rangeCheck(Buffers.java:1033)
at jogamp.opengl.gl4.GL4bcImpl.glVertexPointer(GL4bcImpl.java:35795)
at haven.BGL$111.run(BGL.java:810)
at haven.BGL.run(BGL.java:78)
... 22 more

every time I open my equipment screen and a cupboard in my house this comes up and logs me out
༼ つ ◕_◕ ༽つ
DeadlyPencil
Posts: 924
Joined: Sat Nov 21, 2009 12:17 am

Re: IndexOutOfBoundsException: 1 remaining, only had 0

Post by DeadlyPencil »

This bug or these out of bounds bugs are highly annoying.... if your are logged in for 5 hours straight, you will probably crash about 3-5 times.

So far i have not seen the frequency of these crashes go down at all.

can you not just run in debug mode for an hour and run around till it happens? if you walk around enough, you will crash guaranteed.

you are not going to keep your player base if their clients are constantly crashing.
User avatar
MagicManICT
Posts: 18435
Joined: Tue Aug 17, 2010 1:47 am

Re: IndexOutOfBoundsException: 1 remaining, only had 0

Post by MagicManICT »

TBH, haven is running better than some of the major commercial titles I've played before in that regard, and I've paid much higher subscriptions for them.
Opinions expressed in this statement are the authors alone and in no way reflect on the game development values of the actual developers.
User avatar
MagicManICT
Posts: 18435
Joined: Tue Aug 17, 2010 1:47 am

Re: IndexOutOfBoundsException: 1 remaining, only had 0

Post by MagicManICT »

I can pinpoint at least one instance down to me taking the last board out of the log (and the log disappearing) earlier. I was cutting boards to build a loom. The game crashed just as the client should have updated with the log disappearing and the last board placed in inventory. I logged in and the log was gone and I had the board.

Now that I've finished the loom, I'm crashing every other time I log in, though, with this error.
Opinions expressed in this statement are the authors alone and in no way reflect on the game development values of the actual developers.
themommawolf
Posts: 157
Joined: Sat Jun 13, 2015 2:52 am

Game crash while in cellar

Post by themommawolf »

I have had multiple crashes while in cellar of timber house the past few days
Whether accessing cupboards or not

java.lang.RuntimeException: haven.BGL$BGLException: java.lang.IndexOutOfBoundsException: Required 1 remaining elements in buffer, only had 0
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$6.uglyjoglhack(HavenPanel.java:446)
at haven.HavenPanel$6.run(HavenPanel.java:481)
at java.lang.Thread.run(Unknown Source)
Caused by: haven.BGL$BGLException: java.lang.IndexOutOfBoundsException: Required 1 remaining elements in buffer, only had 0
at haven.BGL.run(BGL.java:80)
at haven.HavenPanel.redraw(HavenPanel.java:392)
at haven.HavenPanel$1.display(HavenPanel.java:102)
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$500(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$JavaSecurityAccessImpl.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)
Caused by: java.lang.IndexOutOfBoundsException: Required 1 remaining elements in buffer, only had 0
at com.jogamp.common.nio.Buffers.rangeCheck(Buffers.java:1033)
at jogamp.opengl.gl4.GL4bcImpl.glVertexPointer(GL4bcImpl.java:35795)
at haven.BGL$111.run(BGL.java:810)
at haven.BGL.run(BGL.java:78)
... 22 more
Last edited by MagicManICT on Sat Oct 17, 2015 7:55 am, edited 1 time in total.
Reason: merged with the megathread for this crash
stickman
Posts: 660
Joined: Sat Nov 21, 2009 12:40 am

Re: IndexOutOfBoundsException: 1 remaining, only had 0

Post by stickman »

Chasing a boar in the forest. I had just queued the PUNCH attack:

Exception in thread "Render thread" java.lang.RuntimeException: haven.BGL$BGLException: java.lang.IndexOutOfBoundsException: Required 1 remaining elements in buffer, only had 0
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$6.uglyjoglhack(HavenPanel.java:455)
at haven.HavenPanel$6.run(HavenPanel.java:490)
at java.lang.Thread.run(Unknown Source)
Caused by: haven.BGL$BGLException: java.lang.IndexOutOfBoundsException: Required 1 remaining elements in buffer, only had 0
at haven.BGL.run(BGL.java:81)
at haven.HavenPanel.redraw(HavenPanel.java:399)
at haven.HavenPanel$1.display(HavenPanel.java:102)
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$500(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$JavaSecurityAccessImpl.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)
Caused by: java.lang.IndexOutOfBoundsException: Required 1 remaining elements in buffer, only had 0
at com.jogamp.common.nio.Buffers.rangeCheck(Buffers.java:1033)
at jogamp.opengl.gl4.GL4bcImpl.glNormalPointer(GL4bcImpl.java:19586)
at haven.BGL$73.run(BGL.java:578)
at haven.BGL.run(BGL.java:79)
... 22 more
User avatar
loftar
Posts: 9096
Joined: Fri Apr 03, 2009 7:05 am
Location: Your character database

Re: IndexOutOfBoundsException: 1 remaining, only had 0

Post by loftar »

I can't reproduce this problem reliably enough to track it down, but I have an idea what might cause it, at least. I've just installed a client that rectifies a possible problem. Please test and see if it helps. Requires properly updated client, of course.
"Object-oriented design is the roman numerals of computing." -- Rob Pike
User avatar
MagicManICT
Posts: 18435
Joined: Tue Aug 17, 2010 1:47 am

Re: IndexOutOfBoundsException: 1 remaining, only had 0

Post by MagicManICT »

loftar wrote:I can't reproduce this problem reliably enough to track it down, but I have an idea what might cause it, at least. I've just installed a client that rectifies a possible problem. Please test and see if it helps. Requires properly updated client, of course.
I was logged in long enough to farm my small claim and didn't crash once, and that was with ducking in and out of the house to process cloth, go dig some clay, and run a kiln. Previously, It was every 20-30 minutes depending on what I was doing. Might not be a fix for everyone, but so far it's working for me.
Opinions expressed in this statement are the authors alone and in no way reflect on the game development values of the actual developers.

Return to “Bugs”