[Insight-users] WrapITK, Java, Windows and exception

Julien Michel julien.michel at c-s.fr
Wed Dec 16 03:22:16 EST 2009


Dear ITK,

These four does not seem to be friend. On my linux system, when using a 
java/WrapITK program and providing it with a wrong filename, I got a 
very informative message corresponding to the unhandled exception, which 
allows me to understand that the input filename is bad.

On Windows whenever an unhandled exception is thrown, Java crashes with 
the following message :

#
# An unexpected error has been detected by Java Runtime Environment:
#
#  Internal Error (0xe06d7363), pid=2244, tid=3556
#
# Java VM: Java HotSpot(TM) Client VM (1.6.0-b105 mixed mode, sharing)
# Problematic frame:
# C  [kernel32.dll+0x1eb33]
#
# An error report file with more information is saved as hs_err_pid2244.log
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
#

I searched for a while, beeing a non-specialist in JNI/Java, before 
understanding that it was due to the very same exception that on linux.

Any clue on how to enhance exception handling of WrapITK on the windows 
side ?

Julien
-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Julien MICHEL - Ingénieur d'études - Traitement d'images
CS Systèmes d'Information - Division ESPACE
Département Information Géographique & Image
Téléphone : +33 561 17 64 27
Email : julien.michel at c-s.fr

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



More information about the Insight-users mailing list