|
From: Jost B. <jos...@ya...> - 2005-12-15 18:55:28
|
Hi,
> java.lang.NullPointerException"] thrown in
> h:\wamp\www\testjava.php on
> line 9
> public void index(String DataDir, String IndexDir)
> throws Exception {
is it possible print the stack trace? Please see this
(http://cvs.sourceforge.net/viewcvs.py/php-java-bridge/php-java-bridge/tests.php5/printStackTrace.php?rev=1.5&view=markup)
as an example how to print a stack trace.
If the null pointer appears in the PHP/Java Bridge
code, please open a ticket (please use
http://sourceforge.net/tracker/?func=add&group_id=117793&atid=679233)
BTW: Catching exceptions using try/catch is a good
idea anyway, especially if your java code reports
these exceptions to php level.
Regards,
Jost Boekemeier
___________________________________________________________
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de
|