From: <art...@ug...> - 2005-12-14 12:57:59
|
Hello, I'm using version 3.0.2 with PHP 5.0.4. I don't know why i'm getting this strange error: Fatal error: Uncaught [o(Exception):"java.lang.Exception: Invoke failed: [o(Indexador)]->index((String)o(String), (String)o(String)). Cause: java.lang.NullPointerException"] thrown in h:\wamp\www\testjava.php on line 9 with this piece of code: <?php java_require("h:/search_engine/lucene-1.4.3.jar;h:/search_engine/Indexador.jar"); $indexer = new Java("org.ew.lucene.Indexador"); $indexer->index("h:\puleva2\puleva2\data","h:\search_engine\index"); ?> the index method is defined as follows: public void index(String DataDir, String IndexDir) throws Exception { } Any help is appreciated. Regards, Arturo. |