Re: NPE calling clojure.lang.Compiler.load() from Java

2009-09-04 Thread Rich Hickey
On Sep 4, 4:09 pm, Jonathan Tran wrote: > This code snippet blows up with a NullPointerException > > public class TestClj { >   public static void main(String[] args) throws Exception { >     System.out.println( clojure.lang.Compiler.load(new > java.io.StringReader("42")) ); >   } > > } > > Exc

NPE calling clojure.lang.Compiler.load() from Java

2009-09-04 Thread Jonathan Tran
This code snippet blows up with a NullPointerException public class TestClj { public static void main(String[] args) throws Exception { System.out.println( clojure.lang.Compiler.load(new java.io.StringReader("42")) ); } } Exception in thread "main" java.lang.ExceptionInInitializerError