[pylucene-dev] JCC 1.8 - double arrays as arguments in java
methods
Andi Vajda
vajda at osafoundation.org
Fri Apr 18 10:23:43 PDT 2008
On Fri, 18 Apr 2008, thejct at gmx.de wrote:
> I'm currently working on a web application using django (python). For
> this, I need a way for calling some java programs from python. I tried out
> jcc and it works fine but I can't use double lists/arrays as argument for
> java methods from python. Everything works fine if I'm using integer
> lists/arrays or strings. And it's also possible to get double lists/arrays
> back from java methods but in the other direction the JVM is terminated or
> I'm getting a NullPointerException.
>
> Has somebody used double lists as arguments for java methods successfully?
>
> I'm using Python 2.5, JCC 1.8, Java 6, Kubuntu 7.10.
Ooops, I just found that the code for passing double[], float[], and long[]
is incomplete. I should have a fix shortly.
Andi..
More information about the pylucene-dev
mailing list