[vtkusers] Crash in Windows for vtkOutputError window using Java wrappers

Sebastien Jourdain sebastien.jourdain at kitware.com
Tue Feb 14 08:03:22 EST 2012


Hi Ilan,

Did you try to disable the error window and request the message
information to be dumped into a file ?
To do so, check the sample Java code provided with VTK or just call that method:

vtkNativeLibrary.DisableOutputWindow(null);

Hope this could help your case,

Seb

On Tue, Feb 14, 2012 at 5:19 AM, Ilan <ilan.tal at gmail.com> wrote:
> I am reading DICOM medical data and there is a text file in the directory.
> Naturally DICOM can't parse this so an error message is generated. Here is
> the real problem: When the vtkOutputError window pops up, it crashes Windows
> XP. When I try to "X" out the error window it tells me the application is no
> longer responding and if I close the window I will lose data.
>
> I don't care about losing data, just close the bloody window. I can try
> about 10 times and eventually it will agree to close itself, crashing the
> application with it. I am running vtk from inside Java so I am using the
> wrappers for Java, in order to reach vtk. I can see that vtk is indeed doing
> what I expect of it, just that error window is a show stopper - I can't get
> rid of it.
>
> In Linux everything works fine. The message comes up in a terminal and is
> harmless enough. Eventually I will try to fix the error, but I can't have
> the whole thing come down the minute there is any kind of an error.
>
> I would like to know what others have experienced.
>
> Thanks,
> Ilan
>
> --
> View this message in context: http://vtk.1045678.n5.nabble.com/Crash-in-Windows-for-vtkOutputError-window-using-Java-wrappers-tp5482037p5482037.html
> Sent from the VTK - Users mailing list archive at Nabble.com.
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers



More information about the vtkusers mailing list