From: <php...@li...> - 2010-07-26 15:48:32
|
Take a look at the comments on this Dev Share item that explain how to update the engine. http://www.birt-exchange.org/org/devshare/deploying-birt-reports/743-calling-birt-from-php/ We need to update the project with the new engine. Jason ________________________________________ From: php...@li... [php...@li...] Sent: Monday, July 26, 2010 10:32 AM To: php...@li... Subject: [Php-java-bridge-users] BIRT Report Designer Hai all, I've downloaded BIRT Report Designer version 2.6.0 for Windows. I've installed TomCat (on LINUX server) and I've placed the latest PHP Java Bridges files. The reports, I created with this BIRT Report Designer are not supported by the PHP Java Bridge. The example report of PHP Java Bridge works fine! But editing the report with BIRT Report Designer, I get the message that the original report was created by an earlier version. The reports, created with the designer are (I think) too new for the PHP Java Bridge. I get this error: [[o:Exception]:"java.lang.Exception: Invoke failed: [[o:ReportEngine]]->openReportDesign((o:String)[o:String]). Cause: org.eclipse.birt.report.engine.api.EngineException: The design file file:/home/mana/public_html/test2.rptdesign has error and can not be run. VM: 1.6.0_21@http://java.sun.com/" at: #-12 org.eclipse.birt.report.engine.api.impl.ReportEngineHelper.openReportDes ign(ReportEngineHelper.java:248) #-11 org.eclipse.birt.report.engine.api.impl.ReportEngineHelper.openReportDes ign(ReportEngineHelper.java:191) #-10 org.eclipse.birt.report.engine.api.impl.ReportEngineHelper.openReportDes ign(ReportEngineHelper.java:125) #-9 org.eclipse.birt.report.engine.api.impl.ReportEngine.openReportDesign(Re portEngine.java:239) #-8 sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source) #-7 sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) #-6 java.lang.reflect.Method.invoke(Unknown Source) #-5 php.java.bridge.JavaBridge.Invoke(JavaBridge.java:1049) #-4 php.java.bridge.Request.handleRequest(Request.java:415) #-3 php.java.bridge.Request.handleRequests(Request.java:491) #-2 php.java.bridge.http.ContextRunner.run(ContextRunner.java:145) #-1 php.java.bridge.ThreadPool$Delegate.run(ThreadPool.java:60) #0 /usr/local/tomcat/webapps/JavaBridge/java/Java.inc(136): java_ThrowExceptionProxyFactory->getProxy(6, '@V', 'T', true) #1 /usr/local/tomcat/webapps/JavaBridge/java/Java.inc(219): java_Arg->getResult(true) #2 /usr/local/tomcat/webapps/JavaBridge/java/Java.inc(221): java_Client->getWrappedResult(true) #3 /usr/local/tomcat/webapps/JavaBridge/java/Java.inc(337): java_Client->getResult() #4 /usr/local/tomcat/webapps/JavaBridge/java/Java.inc(1063): java_Client->invokeMethod(4, 'openReportDesig...', Array) #5 /usr/local/tomcat/webapps/JavaBridge/java/Java.inc(1108): java_JavaProxy->__call('openReportDesig...', Array) #6 /usr/local/tomcat/webapps/JavaBridge/java/Java.inc(1199): java_AbstractJava->__call('openReportDesig...', Array) #7 [internal function]: Java->__call('openReportDesig...', Array) #8 /home/mana/public_html/test.php(74): java_InternalJava->openReportDesign('/home/mana/publ...') #9 {main}]<br /> <b>Fatal error</b>: Call to a member function toByteArray() on a non-object in <b>/home/mana/public_html/test.php</b> on line <b>87</b><br /> ------------------------------------------------------------------------------ The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://ad.doubleclick.net/clk;226879339;13503038;l? http://clk.atdmt.com/CRS/go/247765532/direct/01/ _______________________________________________ php-java-bridge-users mailing list php...@li... https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users |