On Wed, 5 Mar 2008, Bill Janssen wrote:
Ah ha, an unhandled C++ exception :)
To debug this, run your process in gdb and get a stack trace.
Yeah, I figured that out.
Turns out it's a noSuchClass exception trying to load the Java class
that corresponds to the C++ stub, in the initializeClass C++ code for
that class. I was using the --classpath flag to JCC to point to my
jar file, so it wasn't bundled with the extension, and the Python
CLASSPATH property was empty. Once I used a real classpath to initVM,
this went away.
Though, why isn't this particular C++ exception handled?
Sometimes, it gets really hairy to handle a "class not found" exception. In
particular during class initializations. If you send me the backtrace, I can
give you a better answer, or maybe even a fix.
Andi..
_______________________________________________
pylucene-dev mailing list
[email protected]
http://lists.osafoundation.org/mailman/listinfo/pylucene-dev