Problem with Crystal reports for Eclipse and Postgres-databases

Hi,
Is there a known problem when using a PostgreSQL-database to create a report with Crystal reports Plugin? When I drag a table, then occurs a error-windows, that the object can't  created.
I have found a workaround for solving the problem. After new installing Eclipse Platform Version: 3.4.1 Build id: M20080911-1700 and Crystal reports Plugin 11.8.6.v1371 with JRE 1.6.0_01 the error message allways occurs, when I select a table from a PostgreSQL database (Version 8.2). After restarting eclipse you see the last selected tables in the field explorer and you can drag the table fields in the report. A repeated choice of the same table causes aliases for the table in the field explorer after restarting eclipse.
Error.log:
eclipse.buildId=M20080911-1700
java.version=1.6.0_01
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE Command-line arguments:  -os win32 -ws win32 -arch x86
Error
Tue Dec 16 14:03:53 CET 2008
Verursacht durch: java.lang.IllegalArgumentException
com.businessobjects.crystalreports.designer.core.ReportException: java.lang.IllegalArgumentException
at com.businessobjects.crystalreports.designer.core.ExceptionFactory.B(Unknown Source) at com.businessobjects.crystalreports.designer.core.ExceptionFactory.create(Unknown Source) at com.businessobjects.crystalreports.designer.core.elements.data.TableElement.add(Unknown Source) at com.businessobjects.crystalreports.designer.core.commands.AddCommand.doCommand(Unknown Source) at com.businessobjects.crystalreports.designer.core.commands.ReportCommand.C(Unknown Source) at com.businessobjects.crystalreports.designer.core.commands.ReportCommand.execute(Unknown Source) at com.businessobjects.crystalreports.designer.CoreCommand.execute(Unknown Source) at com.businessobjects.crystalreports.designer.dseintegration.DSEDropHandler.drop(Unknown Source) at org.eclipse.jface.util.DelegatingDropAdapter$3.run(DelegatingDropAdapter.java:211)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.core.runtime.Platform.run(Platform.java:880)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:48)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
at org.eclipse.jface.util.DelegatingDropAdapter.drop(DelegatingDropAdapter.java:209)
at org.eclipse.swt.dnd.DNDListener.handleEvent(DNDListener.java:90)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1027)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1012)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:770)
at org.eclipse.swt.dnd.DropTarget.Drop(DropTarget.java:455)
at org.eclipse.swt.dnd.DropTarget$3.method6(DropTarget.java:257)
at org.eclipse.swt.internal.ole.win32.COMObject.callback6(COMObject.java:119)
at org.eclipse.swt.internal.ole.win32.COM.DoDragDrop(Native Method) at org.eclipse.swt.dnd.DragSource.drag(DragSource.java:362)
at org.eclipse.swt.dnd.DragSource.access$0(DragSource.java:288)
at org.eclipse.swt.dnd.DragSource$1.handleEvent(DragSource.java:171)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2382)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2346)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2198)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:488)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:386)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
Caused by: com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: java.lang.IllegalArgumentException---- Error code:-2147467259 Error code name:failed at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source) at com.crystaldecisions.proxy.remoteagent.x.a(Unknown Source) at com.crystaldecisions.proxy.remoteagent.q.a(Unknown Source) at com.crystaldecisions.sdk.occa.report.application.dd.a(Unknown Source) at com.crystaldecisions.sdk.occa.report.application.ag.a(Unknown Source) at com.crystaldecisions.sdk.occa.report.application.bu.if(Unknown Source) at com.crystaldecisions.sdk.occa.report.application.bu.void(Unknown Source) at com.crystaldecisions.sdk.occa.report.application.a6.for(Unknown Source) at com.crystaldecisions.proxy.remoteagent.u.performDo(Unknown Source)
Best Regards
Arnold

Your issue appears to be a Crystal Reports for Eclipse report designer thing, and not a JRC runtime thing.  The JRC runtime does support Type 4 JDBC drivers, but all modern PostgreSQL drivers are Type 4.
The current report designer is more restrictive than the JRC runtime - and PostgreSQL, being not on the supported platforms list, has never been tested with the embedded designer.
Unless there's anybody out there with experience with PostgreSQL and CR4E designer, who would be willing to share their experiences.
Sincerely,
Ted Ueda

Similar Messages

  • Crystal Reports for Eclipse and CR2008 with subreports

    SQL-Server 2005
    CR 2008, Ver.12.0.0.683
    Crystal Reports for Eclipse Plug-in Details:
    all Plug-in-files from Business Objects have the version 12.2.200.r454
    I create a report with subreports in CR2008. It's running perfect.
    When I load this report with subreports to Eclipse I can see the subreports in the report and I can click into the subreports. Each subreport is working in Preview, but when I want to preview the whole report with the subreports I get a black screen and the error
    eclipse.buildId=M20080911-1700
    java.version=1.6.0_11
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
    Command-line arguments: -os win32 -ws win32 -arch x86
    Error
    Fri Feb 06 08:13:34 CET 2009
    Unknown Error (java.lang.NullPointerException)
    Info
    Fri Feb 06 08:13:34 CET 2009
    Plug-in Info: Business Objects, an SAP company - 12.2.200.r454
    java.lang.NullPointerException
    at com.crystaldecisions.reports.queryengine.QueryInfo.wF(Unknown Source)
    at com.crystaldecisions.reports.datafoundation.DFQuery.if(Unknown Source)
    at com.crystaldecisions.reports.datafoundation.DFQuery.a(Unknown Source)
    at com.crystaldecisions.reports.datafoundation.DFQuery.int(Unknown Source)
    at com.crystaldecisions.reports.datalayer.a.do(Unknown Source)
    at com.crystaldecisions.reports.dataengine.m.l(Unknown Source)
    at com.crystaldecisions.reports.dataengine.m.b(Unknown Source)
    at com.crystaldecisions.reports.dataengine.j.b(Unknown Source)
    at com.crystaldecisions.reports.dataengine.m.o(Unknown Source)
    at com.crystaldecisions.reports.dataengine.m.a(Unknown Source)
    at com.crystaldecisions.reports.dataengine.ContextNode.a(Unknown Source)
    at com.crystaldecisions.reports.dataengine.ContextNode.a(Unknown Source)
    at com.crystaldecisions.reports.dataengine.j.case(Unknown Source)
    at com.crystaldecisions.reports.dataengine.h.<init>(Unknown Source)
    at com.crystaldecisions.reports.dataengine.DataContext.a(Unknown Source)
    at com.crystaldecisions.reports.dataengine.DataProcessor2.a(Unknown Source)
    at com.crystaldecisions.reports.dataengine.DataProcessor2.a(Unknown Source)
    at com.crystaldecisions.reports.dataengine.DataProcessor2.new(Unknown Source)
    at com.crystaldecisions.reports.dataengine.DataProcessor2.try(Unknown Source)
    at com.crystaldecisions.reports.dataengine.DataProcessor2.int(Unknown Source)
    at com.crystaldecisions.reports.dataengine.DataProcessor2.I(Unknown Source)
    at com.crystaldecisions.reports.formatter.formatter.objectformatter.ObjectFormatter.fm(Unknown Source)
    at com.crystaldecisions.reports.formatter.formatter.paginator.PageFormatter.if(Unknown Source)
    at com.crystaldecisions.reports.formatter.formatter.paginator.PageFormatter.a(Unknown Source)
    at com.crystaldecisions.reports.formatter.formatter.paginator.PageFormatter.Y(Unknown Source)
    at com.crystaldecisions.reports.formatter.formatter.paginator.PageFormatter.moveToPageN(Unknown Source)
    at com.crystaldecisions.reports.formatter.formatter.lightmodel.FCMPageFormatter.goToPage(Unknown Source)
    at com.businessobjects.crystalreports.designer.core.elements.formatted.MultiPageModel.B(Unknown Source)
    at com.businessobjects.crystalreports.designer.core.elements.formatted.MultiPageModel.A(Unknown Source)
    at com.businessobjects.crystalreports.designer.core.elements.formatted.FormattedPages$2.A(Unknown Source)
    at com.businessobjects.crystalreports.designer.core.elements.formatted.FormattedPages$2.call(Unknown Source)
    at com.businessobjects.crystalreports.designer.core.util.thread.ExecutorWithIdleProcessing.A(Unknown Source)
    at com.businessobjects.crystalreports.designer.core.util.thread.ExecutorWithIdleProcessing.syncExecute(Unknown Source)
    at com.businessobjects.crystalreports.designer.core.elements.formatted.FormattedPages.create(Unknown Source)
    at com.businessobjects.crystalreports.designer.core.elements.formatted.FormattedDocumentModeller.getValidFormattedPages(Unknown Source)
    at com.businessobjects.crystalreports.designer.core.elements.formatted.FormattedDocumentModeller$3.doWork(Unknown Source)
    at com.businessobjects.crystalreports.designer.core.util.thread.AbstractCancellableRunnable.run(Unknown Source)
    at com.businessobjects.crystalreports.designer.core.util.thread.PriorityTask.run(Unknown Source)
    at com.businessobjects.crystalreports.designer.core.util.thread.PriorityCompoundCancellableRunnable.runSubtask(Unknown Source)
    at com.businessobjects.crystalreports.designer.core.util.thread.PriorityProgressAwareRunnable.runSubtask(Unknown Source)
    at com.businessobjects.crystalreports.designer.core.util.thread.PriorityCompoundCancellableRunnable.doWork(Unknown Source)
    at com.businessobjects.crystalreports.designer.core.util.thread.AbstractCancellableRunnable.run(Unknown Source)
    at com.businessobjects.crystalreports.designer.core.util.thread.ExecutorWithIdleProcessing$_B.run(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    Any good ideas?
    Thanks in advance.
    Regards
    Jens

    Hi Ted,
    the error happens in the preview of the main report. Each subreport preview in this main report is running.
    Regards
    Jens
    Edited by: Jens Kutsche on Feb 9, 2009 8:48 AM
    The preview of the main report is running in CR2008.
    Edited by: Jens Kutsche on Feb 9, 2009 8:56 AM
    When I start this main report with a jsp I get the same error:
    java.lang.NullPointerException

  • Connection problem in Crystal Reports for Eclipse(SQL Server Express 2008)

    I tried to connect into a local SQL Server Express 2008 database in Crystal Reports for Eclipse (CR4E), but always  got the Ping failed message(TCP/IP connection failed) even I tests completed successfully using my Window XP Adminstrators Tools (SQL Server ODBC Data Source Test). I can connect successfully to a remote network Oracle database in CR4E. I would like to know
    that is there any one who connect SQL Server Express 2008 local database successfully in CR4E?

    Don,
    Thanks for your suggestions. I will follow your instruction to connect to SQL Server Express 2008 database latelly. I can connect successfully with different Oracle databases (10g) in CR4E. I will try to connect MySQL database and Postgres database in CR4E  to see if they can be  successful or not. My project involves international entities with emphsizing  in using OPEN SOURCE softwares (which means FREE - no license fees) in .NET platform for Oracle, SQL Server Express, MySQL and Postgres database servers. I am responsible for reports generation. I hope that CR4E can be connected successfully to SQL Server Express 2008 database server, otherwise I have to use JFreeReport/JFreeChart tools to do reports generation .

  • Crystal Reports for Eclipse and CR2008

    SQL-Server 2005
    CR 2008, Ver.12.0.0.683
    Crystal Reports for Eclipse Plug-in Details:
    all Plug-in-files from Business Objects have the Versions 1.0.4.v1094 or 11.8.0.v20060727 except "CR for Eclipse Dev.Guide": Ver. 1.0.0.v1094
    I created a report with CR 2008 and load this report with eclipse. A preview in CR and eclipse is running perfect.
    When I bind this report to a jsp I get the error "Es wurde keine Rowsetspalte für das SQL-Ausdrucksfeld "strRefNo" gefunden", in english
    "no rowset-column for sql-statement "strRefNo""
    General this kind of SQL-statement is not working. This statement is a function which needs first a value from the database.
    When this value is fixed in the statement, the report is running in the jsp otherwise I get the error.
    When I delete this statement in eclispe, save this report, redo my delete and save the report again, the report is running with jsp!
    May be, there is a version conflict between CR and eclipse.
    I have to create the reports in CR2008 but I can not save the report in CR2008 to an older version.
    Is there a newer version for eclipse, which works with CR2008? I could not find any other version.
    Do you have other ideas?
    Thanks!
    Jens

    Hi Bryan,
    thank you for your good informations.
    I have downloaded the complete new eclipse and I don't get this error anymore.
    But in the next step, I tried a report with subreports. This is complete not working in Eclipse. When I load this report to Eclipse Ican see and click into the subreports. Each subreport is working in Preview, but the whole reports does not work (black screen), I get the error
    eclipse.buildId=M20080911-1700
    java.version=1.6.0_11
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
    Command-line arguments:  -os win32 -ws win32 -arch x86
    Error
    Fri Feb 06 08:13:34 CET 2009
    Unknown Error (java.lang.NullPointerException)
    Info
    Fri Feb 06 08:13:34 CET 2009
    Plug-in Info: Business Objects, an SAP company - 12.2.200.r454
    java.lang.NullPointerException
         at com.crystaldecisions.reports.queryengine.QueryInfo.wF(Unknown Source)
         at com.crystaldecisions.reports.datafoundation.DFQuery.if(Unknown Source)
         at com.crystaldecisions.reports.datafoundation.DFQuery.a(Unknown Source)
         at com.crystaldecisions.reports.datafoundation.DFQuery.int(Unknown Source)
         at com.crystaldecisions.reports.datalayer.a.do(Unknown Source)
         at com.crystaldecisions.reports.dataengine.m.l(Unknown Source)
         at com.crystaldecisions.reports.dataengine.m.b(Unknown Source)
         at com.crystaldecisions.reports.dataengine.j.b(Unknown Source)
         at com.crystaldecisions.reports.dataengine.m.o(Unknown Source)
         at com.crystaldecisions.reports.dataengine.m.a(Unknown Source)
         at com.crystaldecisions.reports.dataengine.ContextNode.a(Unknown Source)
         at com.crystaldecisions.reports.dataengine.ContextNode.a(Unknown Source)
         at com.crystaldecisions.reports.dataengine.j.case(Unknown Source)
         at com.crystaldecisions.reports.dataengine.h.<init>(Unknown Source)
         at com.crystaldecisions.reports.dataengine.DataContext.a(Unknown Source)
         at com.crystaldecisions.reports.dataengine.DataProcessor2.a(Unknown Source)
         at com.crystaldecisions.reports.dataengine.DataProcessor2.a(Unknown Source)
         at com.crystaldecisions.reports.dataengine.DataProcessor2.new(Unknown Source)
         at com.crystaldecisions.reports.dataengine.DataProcessor2.try(Unknown Source)
         at com.crystaldecisions.reports.dataengine.DataProcessor2.int(Unknown Source)
         at com.crystaldecisions.reports.dataengine.DataProcessor2.I(Unknown Source)
         at com.crystaldecisions.reports.formatter.formatter.objectformatter.ObjectFormatter.fm(Unknown Source)
         at com.crystaldecisions.reports.formatter.formatter.paginator.PageFormatter.if(Unknown Source)
         at com.crystaldecisions.reports.formatter.formatter.paginator.PageFormatter.a(Unknown Source)
         at com.crystaldecisions.reports.formatter.formatter.paginator.PageFormatter.Y(Unknown Source)
         at com.crystaldecisions.reports.formatter.formatter.paginator.PageFormatter.moveToPageN(Unknown Source)
         at com.crystaldecisions.reports.formatter.formatter.lightmodel.FCMPageFormatter.goToPage(Unknown Source)
         at com.businessobjects.crystalreports.designer.core.elements.formatted.MultiPageModel.B(Unknown Source)
         at com.businessobjects.crystalreports.designer.core.elements.formatted.MultiPageModel.A(Unknown Source)
         at com.businessobjects.crystalreports.designer.core.elements.formatted.FormattedPages$2.A(Unknown Source)
         at com.businessobjects.crystalreports.designer.core.elements.formatted.FormattedPages$2.call(Unknown Source)
         at com.businessobjects.crystalreports.designer.core.util.thread.ExecutorWithIdleProcessing.A(Unknown Source)
         at com.businessobjects.crystalreports.designer.core.util.thread.ExecutorWithIdleProcessing.syncExecute(Unknown Source)
         at com.businessobjects.crystalreports.designer.core.elements.formatted.FormattedPages.create(Unknown Source)
         at com.businessobjects.crystalreports.designer.core.elements.formatted.FormattedDocumentModeller.getValidFormattedPages(Unknown Source)
         at com.businessobjects.crystalreports.designer.core.elements.formatted.FormattedDocumentModeller$3.doWork(Unknown Source)
         at com.businessobjects.crystalreports.designer.core.util.thread.AbstractCancellableRunnable.run(Unknown Source)
         at com.businessobjects.crystalreports.designer.core.util.thread.PriorityTask.run(Unknown Source)
         at com.businessobjects.crystalreports.designer.core.util.thread.PriorityCompoundCancellableRunnable.runSubtask(Unknown Source)
         at com.businessobjects.crystalreports.designer.core.util.thread.PriorityProgressAwareRunnable.runSubtask(Unknown Source)
         at com.businessobjects.crystalreports.designer.core.util.thread.PriorityCompoundCancellableRunnable.doWork(Unknown Source)
         at com.businessobjects.crystalreports.designer.core.util.thread.AbstractCancellableRunnable.run(Unknown Source)
         at com.businessobjects.crystalreports.designer.core.util.thread.ExecutorWithIdleProcessing$_B.run(Unknown Source)
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Any other good idea?
    Thanks in advance.
    Regards
    Jens
    Edited by: Jens Kutsche on Feb 6, 2009 8:27 AM
    Info
    Fri Feb 06 08:13:34 CET 2009
    Plug-in Info: Business Objects, an SAP company - 12.2.200.r454

  • How to use Crystal Report Server with Crystal Reports for Eclipse

    Hi,
    is it possible to use Crystal Reports for Eclipse with the Crystal Report Server
    like i can do it in Crystal Reports.
    For Example open a Report file directly from the server edit and save there.
    Thanks
    Thomas

    Yes, you can use the CR Server product in your Eclipse project.  However, you will need to use the RAS SDK in your project instead of the CR4E SDK. 
    For more information about the RAS SDK, visit the DevLibrary.
    http://devlibrary.businessobjects.com/BusinessObjectsXIR2SP2/en/devsuite.htm
    -MJ

  • Problem in crystal reports for eclipse 2 sp1

    chart creation sample provided in eclipse help - throws error
    javax.servlet.ServletException: com.crystaldecisions.sdk.occa.report.lib.ReportDefControllerException: Adding a non-detail chart is not supported.---- Error code:-2147213287 Error code name:invalidChartObject
    void AddChart(ReportClientDocument clientDoc, String chartTitle)
      ChartDefinition chartDefinition = new ChartDefinition();
      chartDefinition.setChartType(ChartType.group);
      IDataDefinition dataDefinition = clientDoc.getDataDefController().getDataDefinition();
      Fields conditionFields = new Fields();
      IField field = dataDefinition.getGroups().getGroup(0).getConditionField();
      conditionFields.addElement(field);
      chartDefinition.setConditionFields(conditionFields);
      Fields dataFields = new Fields();
      for (int i = 0; i < dataDefinition.getSummaryFields().size(); i++)
        IField summaryField = dataDefinition.getSummaryFields().getField(i);
        dataFields.addElement(summaryField); 
      chartDefinition.setDataFields(dataFields);
      ChartObject chartObject = new ChartObject();
      chartObject.setChartDefinition(chartDefinition);
      ChartStyleType chartStyleType = ChartStyleType.pie;
      AreaSectionKind chartPlacement = AreaSectionKind.pageHeader;
      chartObject.getChartStyle().setType(chartStyleType);
      chartObject.setChartReportArea(chartPlacement);
      chartObject.getChartStyle().getTextOptions().setTitle(chartTitle);
      chartObject.setHeight(5000);
      chartObject.setWidth(5000);
      chartObject.setTop(1000);
      IArea reportHeaderArea = reportDefController.getReportDefinition().getReportHeaderArea();
      Section chartSection =(Section)reportHeaderArea.getSections().getSection(0);
      clientDoc.getReportDefController().getReportObjectController().add(chartObject, chartSection, 1);
    also DatabaseController.replaceConnection fails for table and only work for Command Type objects.
    are these defect introduced in Service pack1 or there is some other way of handling these in sp1.

    Don,
    Thanks for your suggestions. I will follow your instruction to connect to SQL Server Express 2008 database latelly. I can connect successfully with different Oracle databases (10g) in CR4E. I will try to connect MySQL database and Postgres database in CR4E  to see if they can be  successful or not. My project involves international entities with emphsizing  in using OPEN SOURCE softwares (which means FREE - no license fees) in .NET platform for Oracle, SQL Server Express, MySQL and Postgres database servers. I am responsible for reports generation. I hope that CR4E can be connected successfully to SQL Server Express 2008 database server, otherwise I have to use JFreeReport/JFreeChart tools to do reports generation .

  • Parameter problem in Crystal Reports for Eclipse

    i m using cr4e-all-in-one-win_2.0.1. I had created .rpt file. In preview, parameters are working fine. when the application is deployed into tomcat server, the report is not asking for the parameter. i tried with properties but still it remains the same issue. need a help to resolve this.....
    Thanks in advance.
    Regards,
    Ram
    Edited by: Ramchan on Aug 21, 2009 3:21 PM

    Don,
    Thanks for your suggestions. I will follow your instruction to connect to SQL Server Express 2008 database latelly. I can connect successfully with different Oracle databases (10g) in CR4E. I will try to connect MySQL database and Postgres database in CR4E  to see if they can be  successful or not. My project involves international entities with emphsizing  in using OPEN SOURCE softwares (which means FREE - no license fees) in .NET platform for Oracle, SQL Server Express, MySQL and Postgres database servers. I am responsible for reports generation. I hope that CR4E can be connected successfully to SQL Server Express 2008 database server, otherwise I have to use JFreeReport/JFreeChart tools to do reports generation .

  • Crystal Reports for Eclipse 2.0 - Service Pack 1 - is Now Available!

    Service Pack 1 for Crystal Reports for Eclipse 2.0 is now available!
    Readme file listing the fixes is here:
    [http://downloads.businessobjects.com/akdlm/crystalreportsforeclipse/2_0/cr4ev2_readme.pdf]
    Kirby Leong in another post listed the download URLs, which I'll copy here:
    CR4E Runtime Package
    [http://downloads.businessobjects.com/akdlm/crystalreportsforeclipse/2_0/crjava-runtime_12.2.202.zip]
    CR4E Manual Install Package
    [http://downloads.businessobjects.com/akdlm/crystalreportsforeclipse/2_0/cr4e_2.0.1.zip]
    CR4E All-In-One Package
    [http://downloads.businessobjects.com/akdlm/crystalreportsforeclipse/2_0/cr4e-all-in-one-win_2.0.1.zip]
    CR4E Language Packs
    [http://downloads.businessobjects.com/akdlm/crystalreportsforeclipse/2_0/cr4e.nls1_2.0.1.zip]
    [http://downloads.businessobjects.com/akdlm/crystalreportsforeclipse/2_0/cr4e.nls2_2.0.1.zip]
    If you wish to use the Eclipse IDE Software Updater:
    1. Start Eclipse 3.4.1 (Gemini) IDE.
    2. Select Help -> Software Updates...
    3. Select the "Available Software" tab.
    4. Click the "Manage Sites..." button.
    5. If you do not see the following URL listed:
    http://downloads.businessobjects.com/akdlm/crystalreportsforeclipse/2_0/update_site/
        then click "Add..." and add it.
    6. Select the above URL in the "Available Software Sites", then click "OK".
    7. The Available Software should now list the above URL.  Open the node, and you should see "Crystal Reports for Eclipse".
    8. Check all checkboxes for "Crystal Reports for Eclipse", and "Install..."
    After successful update, you'll see version 2.0.1 listed in Help -> About Eclipse SDK and clicking on the "Crystal Reports for Eclipse" icon (blue swoosh with green diamond).
    If you don't see that version listed, here's some troubleshooting tips:
    Open a web browser, and Go to the following URL:
      http://downloads.businessobjects.com/akdlm/crystalreportsforeclipse/2_0/update_site/site.xml
    You should get back a XML file listed the current CR4E plugin and language packs versions.  If you get an error instead, it may be because (1) you're in a locked down environment that won't let you access that site, or (2) the CR4E Update Site may be down for maintenance.   If the former, you'll have to download the updates by some other means and upgrade manually.

    hello ....
    my report is  ''crystal report 11'' => "OLE DB"  => "Add Command(select * from table) " .
    code(JRC) : eclipse + crystal report for eclipse version 2 =>  "cr4e-all-in-one-win_2.0.1.zip"
    <%@ page contentType="text/html; charset=UTF-8"
    import="
    com.crystaldecisions.report.web.viewer.CrystalReportViewer,
    com.crystaldecisions.reports.sdk.ReportClientDocument,
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKExceptionBase,
    java.sql.Connection,
    java.sql.DriverManager,
    java.sql.ResultSet,
    java.sql.SQLException,
    java.sql.Statement" %>
    <%
    try {
         String reportName = "report.rpt";
         ReportClientDocument clientDoc = new ReportClientDocument();
         clientDoc.open(reportName, 0);
         String tableAlias = "Command";
         clientDoc.getDatabaseController().setDataSource(
                   myResult("SELECT * FROM table"),
                   tableAlias,"resultsetTable");
         CrystalReportViewer crystalReportPageViewer = new CrystalReportViewer();
         crystalReportPageViewer.setReportSource(clientDoc.getReportSource());
         crystalReportPageViewer.processHttpRequest(
                   request,
                   response,
                   application,
                   null);
    } catch (ReportSDKExceptionBase e) {
         e.printStackTrace();
        out.println(e);
    %>
    I simplified the code, *myResult("SELECT * FROM table") *  is absolutely no problem ,
    and this code is absolutely no problem in the "crystal report for eclipse "version 1
    but in  version 2 run error:
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: 無法預期的資料庫連線器錯誤---- Error code:-2147467259 Error code name:failed
    Please help me and tell me why....

  • Crystal Reports for Eclipse ver. 2 fails on export to excel

    I have downloaded crystal reports for eclipse version 2 (full eclipse setup) and created the sample project.
    The new version of JRC looks awesome on the browser. Finally the visual appeal is as good as the .NET version.
    However I am having a problem with the export to excel feature. When I select export to excel, I get the following exception
    Update: I just realized this problem exists for all the export options
    SEVERE: Servlet.service() for servlet CrystalReportViewerServlet threw exception
    com.businessobjects.report.web.shared.WebReportingException: getOutputStream() has already been called for this response----
    (Full Exception pasted below the message)
    I have not made any changes to the sample crystal reports project so I am not really sure what i am missing.
    I have Microsoft Vista Ultimate with Crystal Reports 2008 trial version installed.
    I have configured eclipse with Tomcat 6.0 and JDK/JRE 1.6
    Any help would be appreciated.
    Thanks
    SEVERE: Servlet.service() for servlet CrystalReportViewerServlet threw exception
    com.businessobjects.report.web.shared.WebReportingException: getOutputStream() has already been called for this response---- Error code:0
    +     at com.businessobjects.report.web.e.if(Unknown Source)+
    +     at com.businessobjects.report.web.e.a(Unknown Source)+
    +     at com.crystaldecisions.report.web.ServerControl.a(Unknown Source)+
    +     at com.crystaldecisions.report.web.ServerControl.processHttpRequest(Unknown Source)+
    +     at com.crystaldecisions.report.web.viewer.CrystalReportViewerServlet.a(Unknown Source)+
    +     at com.crystaldecisions.report.web.viewer.CrystalReportViewerServlet.doPost(Unknown Source)+
    +     at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)+
    +     at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)+
    +     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)+
    +     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)+
    +     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)+
    +     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)+
    +     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)+
    +     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)+
    +     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)+
    +     at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:263)+
    +     at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)+
    +     at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:584)+
    +     at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)+
    +     at java.lang.Thread.run(Unknown Source)+
    Edited by: Avinash Tauro on Feb 5, 2009 7:43 AM

    I searched on scn and got the listing you mentioned.
    The jsp code I am using is as follows.
    <%@ page contentType="text/html; charset=UTF-8" pageEncoding="ISO-8859-1" %><%@ taglib uri="/crystal-tags-reportviewer.tld" prefix="crviewer" %><crviewer:viewer reportSourceType="reportingComponent" viewerName="CrystalReport1-viewer" reportSourceVar="CrystalReport1" isOwnPage="true"><crviewer:report reportName="CrystalReport1.rpt" /></crviewer:viewer>
    And I get the following exception on selecting any export.
    WebReportingException: getOutputStream() has already been called...
    So I think maybe this problem is not the same as listed under SAP Note 1199025.
    Also the strange thing is I just download the full ganymede version with crystal report for eclipse version 2, and created a default crystal reports website.
    The samples were provided automatically, and I have not written any code myself.
    Any help would be appreciated.
    Regards
    Avinash Tauro

  • Using .csv files in Crystal Reports for Eclipse?

    I recently installed crystal reports for Eclipse and much of the basic CR functionality seems to be there, but then I added a .csv file as an ODA flat file data source and I can see it in my "Data Source Explorer", but can not seem to drag it into my report to actually report on the data in this file. Am I missing some basic step?
    Thanks,
    Chris

    Not all data sources available via the Eclipse Database Explorer component are supported with Crystal Reports for Eclipse.
    CSV data sources currently isn't on the [Supported Platforms doc|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/20c69834-cfc4-2b10-da81-960222254295]
    Sincerely,
    Ted Ueda

  • Crystal Reports for Eclipse - Using .csv files?

    I recently installed crystal reports for Eclipse and much of the basic CR functionality seems to be there, but then I added a .csv file as an ODA flat file data source and I can see it in my "Data Source Explorer", but can not seem to drag it into my report to actually use the data.  Am I missing some basic step?
    Thanks,
    Chris

    Hello Chris,
    I recommend to post this query to the [Crystal Reports Design|SAP Crystal Reports; forum.
    This forum is dedicated to topics related to the creation and design of Crystal Report documents. This includes topics such as database connectivity, parameters and parameter prompting, report formulas, record selection formulas, charting, sorting, grouping, totaling, printing, and exporting but also installation and registering.
    It is monitored by qualified technicians and you will get a faster response there.
    Also, all Crystal Reports Design queries remain in one place and thus can be easily searched in one place.
    Best regards,
    Falk

  • Crystal Reports for Eclipse ReportViewer

    Hi there. I'm just getting started with Crystal Reports for Eclipse plug-in.... I've downloaded the plug in for Eclipse.... now I'm trying to run a swing application that displays a report I found online.... but I can't find the ReportViewer.jar file that it is referencing. Any ideas on how I can get this .jar file? Thanks!
    Eclipse version:
    Version: 3.4.0
    Build id: I20080617-2000

    With CR4E Version 2, it's in the CrystalReportsRuntime.jar
    Sincerely,
    Ted Ueda

  • Crystal Report For Eclipse: POJO problem

    Hi all,
    I am using crystal report for eclipse basic version and used POJO-method to implement for users to viewing my report.
    I did the following:
    I created a sql page (create a target table) and import into crystal report (through  crystal report designer under eclipse environment) E.g. let's say I created a table with 10 fields and imported into the crystal report.
    Then I drag and drop through crystal report for my report design.
    Later if I need to add one more field .....
    I need to modified my SQL page and re-import the sql page into my crystal report. HOWEVER, through this re-import process, I lost all the detail/information on the existing report (that mean I need to re-design my report through the designer under eclipse environmet).
    My question is: Is there any better way for me to implement my report ???
    THANKS .. THANKS a lot as this problem make me use a lot of my time ... THANKS

    In the sceario you have described (using a SQLPage as the datasource for the report), unfortunately, this is a limitation of the workflow. If you need to change the SQL, then you essentially need to remove and re-add it to the report which means replacing all the fields on the report.
    Instead, I would recommend using a class as the report's datasource.  The class would represent the fields that would be used in your POJO object.  This way if you need to modify the fields in the POJO, you can simply update the class and use the Verify Database to update the report.
    -MJ

  • DOWNLOAD CRYSTAL REPORTS FOR ECLIPSE 1.0.8 not compatible with java 1.4

    Hi,
    I understand that this plugin requires java 1.5. However, due to my company's existing infrastructure, I have to use java 1.4 for my web applications.
    May I know if there is a older version of the CRYSTAL REPORTS FOR ECLIPSE compatible with java 1.4 (manual installation) available for download ?
    Thanks in advance.

    You can download Java Runtime version 11.8.8.x [here|http://downloads.businessobjects.com/akdlm/crystalreportsforeclipse/1_0/crystalreports-javasdk-11.8.8.zip]
    It supported JDK 1.4 for a few different web application server deployment. Check platform.txt in it. However this is very old version of CR runtime and can cause other issues in crystal reports rendering etc. in which case the only solution would be to get the latest CRJ runtime.

  • XMLExportFormat and Crystal Reports for Eclipse 2.0

    Hello,
    I found this example code on the Crystal Reports for Eclipse wiki but can't find XMLExportFormat(s) classes in any jar. XMLExportFormatOptions is still referenced in javadoc even if it is useless as it needs the above mentioned classes.
    I really need to export to default XML (as we used to do it in Crystal "save as..." menu) because those files are post-processed. Any hint ? Where can I find those classes ?
    1. Create a new XMLExportFormatOptions object.
      IXMLExportFormat xmlExportFormat = new XMLExportFormat();
      XMLExportFormats xmlExportFormats = new XMLExportFormats(); 
      IXMLExportFormatOptions xmlExpFormatOpts = new XMLExportFormatOptions();
    2. Use the PrintOutputController class to get the list of XML export format types saved with the report.
      xmlExportFormats = rcd.getPrintOutputController().getSavedXMLExportFormats();
      int index = xmlExportFormats.getDefaultExportSelection();
      xmlExpFormatOpts.setXMLExportSelection(index);
      xmlExportFormat = xmlExportFormats.getXMLExportFormat(index);
    3. Create an XMLExportFormatOptions object and set the export format type to XML.
      IExportOptions expOpts = new ExportOptions();
      expOpts.setExportFormatType(ReportExportFormat.XML);
    4. Apply the XML export options.
      expOpts.setFormatOptions(xmlExpFormatOpts);
    5. Creates a new file with the specified path, name, and file extension.
      String xmlPath = "C:
    " + rcd.displayName() + "_" + xmlExportFormat.getName() + "." + xmlExportFormat.getFileExtension();
      FileOutputStream fs = new FileOutputStream(xmlPath);
    6. Creates a new ByteArrayInputStream object, streams the file using the Write method, and closes the stream.
      ByteArrayInputStream byteIS = (ByteArrayInputStream)rcd.getPrintOutputController().export(expOpts);
      byte[] buf = new byte[2000 * 1024];
      int nRead = 0; 
      int maxSize = buf.length;
      while ((nRead = byteIS.read(buf)) != -1)
         fs.write(buf, 0, maxSize);
      fs.close();

    I found the code at that url:
    https://www.sdn.sap.com/irj/boc/sdklibrary
    Go to "Report Application Server Java SDK Developer Guide" link. It's a zip file.
    In the zip file you can go right up to topic93.html
    I found another example here:
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/webcontent/uuid/f0aea666-5384-2b10-ffb0-a6facef1d5e5 [original link is broken]
    See example under "Java_RAS-Managed_BE12_Export_XML"
    Anyway, I've never used Crystal till now and I'm totally lost in all those libraries. I found examples but on those example pages there are never links to libraries neither references to versions. So I just downloaded Crystal Report for Eclipse 2.0 but the examples didn't compile because classes in these examples don't exist. (!?)  Please, don't tell me about "you can do that or you can not do that with version X or version Y" but give me a hint on what I need to run these examples and where to find it, or simply how I can output a report to xml.
    (forgive bad english)
    Thanks for your help,
    Fabrice

Maybe you are looking for