<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7638.1">
<TITLE>Xlib: unexpected async reply (sequence 0x2b1a)</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<BR>

<P><FONT SIZE=2>Hello vtkusers,<BR>
<BR>
I am getting a lot of these types of errors in my Java/VTK app:<BR>
<BR>
Xlib: unexpected async reply (sequence 0x2b1a)<BR>
<BR>
I have tried using methods from vtkPanel/vtkCanvas where possible<BR>
but sometimes it is necessary to use vtk functions which may<BR>
interact with the renderer. i.e:<BR>
<BR>
renWin.GetRenderer().RemoveAllViewProps();<BR>
renWin.GetRenderer().AddActor(aActor);<BR>
<BR>
using vtkCanvas and vtkPanel:<BR>
<BR>
renWin.resetCamera();<BR>
renWin.Render();<BR>
<BR>
where renWin is a vtkCanvas.<BR>
<BR>
I need to be able to interactively take actors in and out of the scene, and<BR>
I suspect it is the RemoveAllViewProps() which is causing the problems. Also<BR>
I cannot use&nbsp; Lock and Unlock provided in vtkPanel as they are protected, is<BR>
this an avenue worth looking into?<BR>
<BR>
I am using VTK 5.1, Java 1.6, X 6.8.2, RH5.5<BR>
<BR>
any pointers would be appreciated,<BR>
<BR>
Henrik</FONT>
</P>

</BODY>
</HTML>