Re: java stack trace

[email protected]
Newsgroups gmane.comp.java.sisc.devel
Message-ID <[email protected]>
On Wed, Jun 25, 2003 at 12:14:58PM -0400, Narang wrote:
> I would like to see the method/ procedure that was expecting a java
> object but got a void. a stack trace or continuation dump will help to
> pin point the location fo the error. Thanks.

I see.  Right now you can do this in 1.8, as we bolt on the Java 
exception into the error record, so its a matter of extracting it and 
then calling printStackTrace with s2j.  I'll try and post an example 
later.

	Scott

> 
> [email protected] writes:
> 
> > On Tue, Jun 24, 2003 at 04:25:45PM -0400, Narang wrote:
> > > Is there any way to print the java stack trace in guard process form
> > > when an exception like the following happens at runtime.
> > > 
> > 
> > I'm a bit confused.  What would you like to see, and when?
> > 
> > 	Scott
> > 
> > > 
> > > Exception in thread "main" sisc.interpreter.SchemeException: ((message . #<java java.lang.RuntimeException java.lang.RuntimeException: expected type java object, got '#<void>'.>))
> > >         at sisc.interpreter.SchemeRuntimeException.promote(SchemeRuntimeException.java:22)
> > >         at sisc.interpreter.Interpreter.interpret(Interpreter.java:126)
> > >         at 
sisc.interpreter.Interpreter.interpret(Interpreter.java:105)5B
> > >         at sisc.interpreter.Interpreter.eval(Interpreter.java:248)
> > >         at sisc.REPL.main(REPL.java:222)
> > > 
> > > 
> > > 
> > > -------------------------------------------------------
> > > This SF.Net email is sponsored by: INetU
> > > Attention Web Developers & Consultants: Become An INetU Hosting Partner.
> > > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
> > > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
> > > _______________________________________________
> > > SISC-devel mailing list
> > > [email protected]
> > > https://lists.sourceforge.net/lists/listinfo/sisc-devel
> > > 
> > 
> > -- 
> 

--
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE++dSHr9IW4v3mHtQRAs6gAJ9ip8N8dZW/tOnKlkZs1YuReg+XHgCfU4b4
KEmslqFc7A1ejdAtDA8QNuc=
=fzhD
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.