This is the mail archive of the
kawa@sourceware.cygnus.com
mailing list for the Kawa project.
beginner problem
- To: kawa at sourceware dot cygnus dot com
- Subject: beginner problem
- From: Karl Schaan <kschaan at ufr dot lirmm dot fr>
- Date: Fri, 07 Apr 2000 16:43:51 +0200
I try to run the following test :
import kawa.standard.Scheme;
public class Appli
{
static public void main(String argv[])
{
Scheme scm = new Scheme();
Object x = scm.eval("(+ 3 2)");
System.out.println(x);
}
}
it compiles but at the run-time I obtain :
java.lang.NullPointerException
at kawa.lang.CompileFile.readBody(CompileFile.java:46)
at kawa.standard.Scheme.eval(Scheme.java:695)
at kawa.standard.Scheme.eval(Scheme.java:678)
at kawa.standard.Scheme.eval(Scheme.java:683)
at Appli.main(Appli.java:8)
could you tell me why it doesn't work ?
thank you.
karl schaan