This is the mail archive of the kawa@sourceware.cygnus.com mailing list for the Kawa project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

beginner problem


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]