|
From: <php...@li...> - 2009-04-21 08:16:40
|
Probably because addList($str,$str) doesn't exist in your java code. Please see the error message for details. Regards, Jost Boekemeier Apr 21, 2009 9:55 vorm. schrieb am < php...@li...>: Hello, why do I get such an error message: root cause java.lang.RuntimeException: PHP Fatal error: Uncaught [[o:Exception]:"java.lang.Exception: Invoke failed: [[o:List]]->addList([o:PhpParserString], [o:PhpParserString]). Cause: java.lang.NoSuchMethodException: addList([o:PhpParserString], [o:PhpParserString]). Candidates: [public java.util.ArrayList List.addList()] VM: 1.6.0_10@http://java.sun.com/" at: #-6 php.java.bridge.JavaBridge.checkM(JavaBridge.java:1119) #-5 php.java.bridge.JavaBridge.Invoke(JavaBridge.java:1057) #-4 php.java.bridge.Request.handleRequest(Request.java:414) #-3 php.java.bridge.Request.handleRequests(Request.java:490) #-2 php.java.bridge.http.ContextRunner.run(ContextRunner.java:146) #-1 php.java.bridge.ThreadPool$Delegate.run(ThreadPool.java:60) #0 http://localhost:8081/Ordner/java/Java.inc(248): java_ThrowExceptionProxyFactory->getProxy(3, 'List', 'addList([o:PhpP...', true) #1 http://localhost:8081/Ordner/java/Java.inc(388): java_Arg->getResult(true) #2 http://localhost:8081/Ordner/java/Java.inc(394): java_Client->getWrappedResult(true) #3 http://localhost:8081/Ordner/java/Java.i in http://localhost:8081/Ordner/java/Java.inc on line 215 php.java.servlet.fastcgi.FastCGIServlet$CGIRunner.parseBody(FastCGIServlet.java:484) php.java.servlet.fastcgi.FastCGIServlet$CGIRunner.doExecute(FastCGIServlet.java:379) php.java.servlet.fastcgi.FastCGIServlet$CGIRunner.execute(FastCGIServlet.java:387) php.java.servlet.CGIServlet.handle(CGIServlet.java:399) php.java.servlet.PhpCGIServlet.handle(PhpCGIServlet.java:382) php.java.servlet.CGIServlet.doGet(CGIServlet.java:469) javax.servlet.http.HttpServlet.service(HttpServlet.java:617) javax.servlet.http.HttpServlet.service(HttpServlet.java:717) I use the method "addList" in my Java code.... ------------------------------------------------------------------------------ Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p _______________________________________________ php-java-bridge-users mailing list php...@li... https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users |