You might want to try this to get a stack trace. That might really
help track down the problem.

java::try {
  java::bind $l processLogin login
} catch {NullPointerException e} {
  $e printStactTrace
}

Mo Dejong
Cygnus Solutions


> * set l [Login getObject] works, I get a ref that supports things like $l show
> 
> * when I execute java::bind $l processLogin login I get a 
> java.lang.NullPointerException
> 
> where:
> 
> proc login {} {
>    do stuff
> }
> 
> I am going to work my way through this, but if anyone has any helpful 
> pointers I would appreciate hearing from you.
> 
> Thanks -- Randy Kahle

----------------------------------------------------------------
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]'. 

Reply via email to