java.lang.IndexOutOfBoundsException: Required 3145728 remaining bytes in buffer, only had 0

JFrog JIRA | Jerome Beau | 9 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    The default stereographic projection type displays well but, when changing to another one from config "video" tab: - "perspective" displays a blinking screen where the sun seems to be anchored to the viewport origin - "fisheye" seems to display well - spheric mirror throws the following Exception: Exception in thread "AWT-EventQueue-0" java.lang.IndexOutOfBoundsException: Required 3145728 remaining bytes in buffer, only had 0 at com.sun.gluegen.runtime.BufferFactory.rangeCheckBytes(BufferFactory.java:274) at com.sun.opengl.impl.GLImpl.glTexImage2D(GLImpl.java:21147) at org.stellarium.ui.SglAccess.glTexImage2D(SglAccess.java:372) at org.stellarium.projector.ViewportDistorter$ViewportDistorterFisheyeToSphericMirror.<init>(ViewportDistorter.java:65) ...followed by the JVM error: # # An unexpected error has been detected by Java Runtime Environment: # # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6904517e, pid=12100, tid=17536 # # Java VM: Java HotSpot(TM) Client VM (10.0-b19 mixed mode, sharing windows-x86) # Problematic frame: # C [OPENGL32.dll+0x517e] # # An error report file with more information is saved as: # C:\Projet\stellarium4java\stellarium4java\hs_err_pid12100.log # # If you would like to submit a bug report, please visit: # http://java.sun.com/webapps/bugreport/crash.jsp # The crash happened outside the Java Virtual Machine in native code. # See problematic frame for where to report the bug. # [error occurred during error reporting , id 0xc0000005]

    JFrog JIRA | 9 years ago | Jerome Beau
    java.lang.IndexOutOfBoundsException: Required 3145728 remaining bytes in buffer, only had 0
  2. 0

    The default stereographic projection type displays well but, when changing to another one from config "video" tab: - "perspective" displays a blinking screen where the sun seems to be anchored to the viewport origin - "fisheye" seems to display well - spheric mirror throws the following Exception: Exception in thread "AWT-EventQueue-0" java.lang.IndexOutOfBoundsException: Required 3145728 remaining bytes in buffer, only had 0 at com.sun.gluegen.runtime.BufferFactory.rangeCheckBytes(BufferFactory.java:274) at com.sun.opengl.impl.GLImpl.glTexImage2D(GLImpl.java:21147) at org.stellarium.ui.SglAccess.glTexImage2D(SglAccess.java:372) at org.stellarium.projector.ViewportDistorter$ViewportDistorterFisheyeToSphericMirror.<init>(ViewportDistorter.java:65) ...followed by the JVM error: # # An unexpected error has been detected by Java Runtime Environment: # # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6904517e, pid=12100, tid=17536 # # Java VM: Java HotSpot(TM) Client VM (10.0-b19 mixed mode, sharing windows-x86) # Problematic frame: # C [OPENGL32.dll+0x517e] # # An error report file with more information is saved as: # C:\Projet\stellarium4java\stellarium4java\hs_err_pid12100.log # # If you would like to submit a bug report, please visit: # http://java.sun.com/webapps/bugreport/crash.jsp # The crash happened outside the Java Virtual Machine in native code. # See problematic frame for where to report the bug. # [error occurred during error reporting , id 0xc0000005]

    JFrog JIRA | 9 years ago | Jerome Beau
    java.lang.IndexOutOfBoundsException: Required 3145728 remaining bytes in buffer, only had 0

    Root Cause Analysis

    1. java.lang.IndexOutOfBoundsException

      Required 3145728 remaining bytes in buffer, only had 0

      at com.sun.gluegen.runtime.BufferFactory.rangeCheckBytes()
    2. com.sun.gluegen
      BufferFactory.rangeCheckBytes
      1. com.sun.gluegen.runtime.BufferFactory.rangeCheckBytes(BufferFactory.java:274)
      1 frame
    3. com.sun.opengl
      GLImpl.glTexImage2D
      1. com.sun.opengl.impl.GLImpl.glTexImage2D(GLImpl.java:21147)
      1 frame
    4. org.stellarium.ui
      SglAccess.glTexImage2D
      1. org.stellarium.ui.SglAccess.glTexImage2D(SglAccess.java:372)
      1 frame
    5. org.stellarium.projector
      ViewportDistorter$ViewportDistorterFisheyeToSphericMirror.<init>
      1. org.stellarium.projector.ViewportDistorter$ViewportDistorterFisheyeToSphericMirror.<init>(ViewportDistorter.java:65)
      1 frame