i'd started to use PHP / Java Bridge some days ago, and im finding a lot of dificulties to use hibernate or even simple JDBC.
After add all jars needed and created new Java("GenericDAO"), i tried to call save method, but something wrong happens.
PHP Fatal error: Uncaught [[o:Exception]:"java.lang.Exception: Invoke failed: [[o:GenericDAO]]->grava((o:Object)[o:Contato]). Cause: java.lang.NullPointerException VM: 1.6.0_03@http://java.sun.com/"; at:
Maybe someone got an exemple to help me, please.
My monograph of the university is about PHP JAVA BRIDGE, and i have just a few days do finish. Please, help me.
> PHP Fatal error: Uncaught
> [[o:Exception]:"java.lang.Exception: Invoke failed:
> [[o:GenericDAO]]->grava((o:Object)[o:Contato]). Cause:
> java.lang.NullPointerException VM:
> 1.6.0_03@http://java.sun.com/"; at:
We can't really help you with application-level problems; grava() has received a valid object, everything below this level is outside of the scope of the PHP/Java Bridge.
However, please include the stack trace, and some code which shows what you're trying to do.
Get latest updates about Open Source Projects, Conferences and News.