This is the mail archive of the kawa@sourceware.org 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]
Other format: [Raw text]

Re: Problem with invoke with method determined at runtime


On 7 January 2012 20:22, Bill Robinson <airbaggins@gmail.com> wrote:
>>
>> It works for me, using the latest SVN Kawa. ?It also also works
>> on a old version of Kawa 1.11 that was convenient.
>>
>> Could you try Kawa from Subversion? ?And ell me exactly
>> what commands you used?
>
> I am running the latest subversion version from
> svn://sourceware.org/svn/kawa/trunk
>
> Just did a vanilla ./configure, make clean, make, sudo make install to be sure.
> I have the test code from before in test.scm on its own. Running the
> following gives the output shown:
>
> $ /usr/local/bin/kawa -C test.scm && java -classpath
> /usr/local/share/java/kawa.jar:. Test
> (compiling test.scm to test)
> test 1
> Exception in thread "main" java.lang.NullPointerException
> ? ? ? ?at gnu.expr.PrimProcedure.<init>(PrimProcedure.java:352)
> ? ? ? ?at gnu.kawa.reflect.ClassMethods.getMethods(ClassMethods.java:145)
> ? ? ? ?at gnu.kawa.reflect.ClassMethods.apply(ClassMethods.java:245)
> ? ? ? ?at gnu.kawa.reflect.Invoke.lookupMethods(Invoke.java:278)
> ? ? ? ?at gnu.kawa.reflect.Invoke.applyN(Invoke.java:185)
> ? ? ? ?at gnu.mapping.ProcedureN.apply3(ProcedureN.java:48)
> ? ? ? ?at Test.main(test.scm:9)
>
> Thanks!
> -Bill

CCing the list and also my java version is as follows, in case it's useful:

java version "1.6.0_23"OpenJDK Runtime Environment (IcedTea6 1.11pre)
(6b23~pre11-0ubuntu1.11.10)OpenJDK 64-Bit Server VM (build 20.0-b11,
mixed mode)


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