We've been experiencing an intermittent error when trying to reference the
second object in the global variable $errorCode.
In the case of a java exception, Tcl blend sets the second object in
errorCode to a reference to the java exception. Occaisionally, when
referencing the java exception to get a stack trace as in:
set exception [lindex $errorCode 1]
$exception printStackTrace
we experience the following error:
invalid command "java0x12345"
(the memory address of the exception) at the $exception printStackTrace
line. Sometimes we get the stack trace, sometimes we get the error.
Thank you,
David Birtwell
PS - As a workaround, I put a trace on the variable $errorCode, which
removed the invalid command error, but caused trace backs to be lost on
regular tcl errors.
----------------------------------------------------------------
The TclJava mailing list is sponsored by Scriptics Corporation.
To subscribe: send mail to [EMAIL PROTECTED]
with the word SUBSCRIBE as the subject.
To unsubscribe: send mail to [EMAIL PROTECTED]
with the word UNSUBSCRIBE as the subject.
To send to the list, send email to '[EMAIL PROTECTED]'.
An archive is available at http://www.mail-archive.com/[email protected]