BufferUnderflowException by loading a file

Have jReality programming problems or questions? Post them here.
Post Reply
capri333
Posts: 9
Joined: Thu 19. Apr 2012, 15:49

BufferUnderflowException by loading a file

Post by capri333 » 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

User avatar
steffen
Posts: 186
Joined: Fri 16. Jun 2006, 13:30
Location: TU Berlin
Contact:

Re: BufferUnderflowException by loading a file

Post by steffen » Fri 20. Apr 2012, 14:59

what is a jt file?

capri333
Posts: 9
Joined: Thu 19. Apr 2012, 15:49

Re: BufferUnderflowException by loading a file

Post by capri333 » Mon 23. Apr 2012, 08:56

The explanation from wikipedia:

JT is a 3D data format developed by Siemens PLM Software (formerly UGS Corp.) and is used for product visualization, collaboration, and CAD data exchange.
It can contain any combination of approximate (faceted) data, exact boundary representation surfaces (NURBS), Product and Manufacturing Information (PMI),
and Metadata (textual attributes) either exported from the native CAD system or inserted by a product data management (PDM) system.
It is probably the most widely used 3D visualization format for discrete manufacturing with over 4,000,100 JT-enabled licenses of software in use. On 2009 September 18
the ISO stated officially that the JT specification has been accepted for publication as an ISO Publicly Available Specification (PAS).

Anke

Post Reply