BufferUnderflowException by loading a file
Posted: Thu 19. Apr 2012, 15:58
Hello,
i use jreality and jtViewer to load .jt files with startupLocal().
After loading, i use the offscreenRendering method to get the image as 2D.
It works in most cases, but sometimes a BufferUnderflowException occurs, the offscreenRendering still works,
but the 2d image is only a grey square, when the Exception occured.
When i load the jt-file where the exceptions occurs in my code in JT-Viewer, the exception is thrown but the image is complete.
Can anyone help?
Thanks,
Anke
i use jreality and jtViewer to load .jt files with startupLocal().
After loading, i use the offscreenRendering method to get the image as 2D.
It works in most cases, but sometimes a BufferUnderflowException occurs, the offscreenRendering still works,
but the 2d image is only a grey square, when the Exception occured.
When i load the jt-file where the exceptions occurs in my code in JT-Viewer, the exception is thrown but the image is complete.
Can anyone help?
Thanks,
Anke