[Tcl Java] Re: [Tcl Java] Re: [Tcl Java] Re: [Tcl Java] java::bind questions

1999-12-09 Thread Mo DeJong
The problem you describe sounds like the "bind freezes my app" mystery bug that a few people seem to have run into. There are some detailed problems reports in the CVS. Check out the tcljava CVS and look at these files in the tcljava/bugs directory. eventbug1 eventbug2 eventbug3 jbindbug.txt The

[Tcl Java] Re: [Tcl Java] Re: [Tcl Java] Re: [Tcl Java] java::bind questions

1999-12-09 Thread Randolph S. Kahle
Mo, The problem was mine. The collection object that held listeners was null (never initialized). That was the null pointer problem. java::bind seems fine. I'm using it to do queries, etc. and it seems reasonable. I will be working over Jacl in the next couple of days as our team completes a

[Tcl Java] Re: [Tcl Java] Re: [Tcl Java] java::bind questions

1999-12-09 Thread Mo DeJong
Was it a bug in the tcljava code or your code? Could the java::bind command be improved in some way to avoid this type of problem in the future? Mo Dejong Cygnus Solutions On Thu, 9 Dec 1999, Randolph S. Kahle wrote: > Mo, > > Problem solved in very short order because of your help. > > Thank

[Tcl Java] Re: [Tcl Java] Re: [Tcl Java] java::bind questions

1999-12-09 Thread Randolph S. Kahle
Mo, Problem solved in very short order because of your help. Thank you *very* much for the prompt reply to my email. Regards, Randy Kahle The TclJava mailing list is sponsored by Scriptics Corporation. To subscribe:send ma

[Tcl Java] Re: [Tcl Java] java::bind questions

1999-12-09 Thread Randolph S. Kahle
Mo, Thanks for the tip. the failure seems to be when a registration is invoked. Again, thanks for the tip. I'll keep researching. java.lang.NullPointerException: at com..application.LoginController.addLoginListener(LoginController.java:37) at java.lnag.reflect.Method.invoke(Native Metho

[Tcl Java] Re: [Tcl Java] java::bind questions

1999-12-09 Thread Mo DeJong
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 thing