Quantcast
Channel: SCN : Popular Discussions - SAP Crystal Reports, version for Eclipse
Viewing all 893 articles
Browse latest View live

Cannot view report layout under Helios(Eclipse 3.6)

$
0
0

After upgrade to Helios (Eclipse 3.6), I connected to Crystal Reports for Eclipse's update site (http://downloads.businessobjects.com/akdlm/crystalreportsforeclipse/2_0/update_site/), and installed the latest cr4e.2.0.7.

 

But opening a report file, there is only "Expressions" page editor being displayed. Other page such as "Layout" or "Preview" are just disappeared.

 

In my Helios IDE, there are modules installed as below:

GEF                   3.6.0.v20100519-2050-7G7R-A5WNc7QL_fXBGjRZPUUiKPJ
EMF                   2.6.0.v20100614-1136
WDT                   3.2.0.v201005241510-7O7CFb3EMf84nP-FHuc10NTz--M3
XSD                   2.6.0.v20100614-1136
Oracle Database Tool  1.6.0.201007221419

 

Here is what CR4E complained in error logs, it seems that IEditorInput param was passed a value of null.

java.lang.IllegalArgumentException:      at org.eclipse.core.runtime.Assert.isLegal(Assert.java:63)     at org.eclipse.core.runtime.Assert.isLegal(Assert.java:47)     at org.eclipse.ui.part.EditorPart.setInput(EditorPart.java:224)     at org.eclipse.gef.ui.parts.GraphicalEditor.init(GraphicalEditor.java:346)     at org.eclipse.ui.part.MultiPageEditorPart.addPage(MultiPageEditorPart.java:237)     at com.businessobjects.crystalreports.rcputilities.NiceMultiPageEditor.addPage(NiceMultiPageEditor.java:77)     at org.eclipse.ui.part.MultiPageEditorPart.addPage(MultiPageEditorPart.java:211)     at com.businessobjects.crystalreports.designer.uibase.editor.CrystalReportsEditor.addPage(CrystalReportsEditor.java:292)     at com.businessobjects.crystalreports.designer.uibase.editor.ReportEditorExtensionManager.loadPagesFromExtensionRegistry(ReportEditorExtensionManager.java:98)     at com.businessobjects.crystalreports.designer.uibase.editor.CrystalReportsEditor$DocumentLoadingRunnable.attachDocumentAndPages(CrystalReportsEditor.java:645)     at com.businessobjects.crystalreports.designer.uibase.editor.CrystalReportsEditor$DocumentLoadingRunnable.access$1000(CrystalReportsEditor.java:507)     at com.businessobjects.crystalreports.designer.uibase.editor.CrystalReportsEditor$DocumentLoadingRunnable$1.run(CrystalReportsEditor.java:618)     at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)     at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)     at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4041)        ... ...

 

Please take a look at the problem, and give a solution for Helios users.

Thank you.


report not working in chrome

$
0
0

Hi All,

 

I have report which I am running from my custom java application.

It is working fine in all the browsers except chrome.I mean its showing pdf output in all the browsers except chrome.

In chrome its showing the pdf processing symbol like below but nothing is happening

 

Please suggest what is the problem .

 

Untitled.png

Sub reports In Crystal reports XML as a data Source

$
0
0

Hi,

 

I am facing one problem related to Sub reports functionality in crystal reports as XML as a data Source. We are using CrystalReports XI for this.

 

I was generated PDF's using crystal reports from ruby on rails, by using the JAVA API to produce the PDF by taking the XML,XSD,and RPT files as parameters. I  succeed in this case

and the way we are communicating with JAVA API using  from my Ruby on Rails application by the following link.

 

http://rorataspire.wordpress.com/2008/06/13/how-to-integrate-crystal-reports-with-ruby-on-rails/

 

Right Now my problem is as follows.

 

The problem with the sub reports generation from  crystal reports.  We had one main report file(RPT), In that we are using the Sub reports,for that sub reports need to parse the XML's and XSD's dynamically based on the report encountered on the main(RPT)file,but to send more than one XSD's and XML's dynamically  based on the  sub report, to the JAVA API from Ruby on Rails application I am not succeeded.  So as a result  PDF with the Dynamic data for Sub reports is not fulfill.

 

Your help is appreciable, Thanks in advance.

maximum report processing jobs limit - Crystal report with XI R2 environmen

$
0
0

Team

   My customer is facing the following error at XI R2 Environment...

 

The maximum report processing jobs limit configured by your system administrator has been reached.

To replicate  this issue  at my development environment,

 

1)  I change the RAS maximum concurrent processing limit to 1 but no luck

2) I changed the crystal report job server Maximum Concurrent processing limit to 1 but no luck

3) i changed the register setting to HKEY_LOCAL_MACHINE\SOFTWARE\CRYSTAL DECISIONS\10.0\REPORT APPLICATION SERVER\SERVER\PrintJobLimit = 1 there is no luck

 

 

Kindly let me know which service i need to change to replicate this message (The maximum report processing jobs limit configured by your system administrator has been reached).   Looking your expertise kind suggession and help.

 

 

 

I am opening more than 10 reports, but i could not able to get the error message..

 

 

Thx

Srini

 

Edited by: srinivasan rangaswami on Aug 12, 2011 1:08 PM

 

Edited by: srinivasan rangaswami on Aug 12, 2011 1:10 PM

The types of the parameter field and parameter field current values are not compatible.----

$
0
0

HI,

 

I am attempting to set report parameters in my .jsp code via URL parameters.

 

I am able to set the report name, server connection dynamically however when attempting to set the Parameters I receive:

 

com.crystaldecisions.sdk.occa.report.lib.ReportSDKParameterFieldException: The types of the parameter field and parameter field current values are not compatible.---- Error code:-2147213303 Error code name:invalidParameterField

 

The parameter on the report is a String Type, named for this example p1.

 

The value that p1 represents is LERAD

 

My code:

 

String stringValue = request.getParameter("p1");

CRJavaHelper.addDiscreteParameterValue( clientDoc, "","p1", stringvalue);

returns the above mentioned error.

 

I have tried:

String stringValue = (String)request.getParameter("p1");

which returns the above error

And;

String stringValue = new String(request.getParameter("p1")).toString();

 

which returns

 

java.lang.NullPointerException

java.lang.String.<init>(Unknown Source)

org.apache.jsp.callReport_jsp._jspService(callReport_jsp.java:105)

org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)

javax.servlet.http.HttpServlet.service(HttpServlet.java:722)

org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)

org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)

org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)

javax.servlet.http.HttpServlet.service(HttpServlet.java:722)

 

I notice that the CRjavaHelper.java declares this addDiscreteParameterValue as accepting an Object type for the newValue.

 

Any ideas???

 

 

Calling Standalone Crystal Report(2008) from a windows Java Program

$
0
0

This is a very basic question. How do i invoke a Crystal Report(Standalone) 2008 by writing a simple Java Program.

 

The intent of the java program is to Call the report and run the report to generate a pdf file. Nothing more than that !

 

I do see a API all around with JSP's but i'm looking for a Windows Java Program. I'm very new to API so any guidance is appreciated!!

java.sql.SQLException: ORA-00604: error occurred at recursive SQL level 1

$
0
0

Hi,

 

  How to resolve the below error in Crystal reports usin JSP;

 

Error Stack Trace:

 

java.sql.SQLException: ORA-00604: error occurred at recursive SQL level 1

ORA-01000: maximum open cursors exceeded

ORA-00604: error occurred at recursive SQL level 1

ORA-01000: maximum open cursors exceeded

ORA-01000: maximum open cursors exceeded

 

I am using below code to genrate report:


String reportPath;

Object reportSource;

ReportClientDocument reportClientDocument;

ByteArrayInputStream byteArrayInputStream;

byte[] byteArray;

int bytesRead;

 

reportPath = request.getParameter("_reportName");

 

reportClientDocument = new ReportClientDocument();

 

reportClientDocument.setReportAppServer(ReportClientDocument.inprocConnectionString);

 

reportClientDocument.open(reportPath, OpenReportOptions._openAsReadOnly);

 

 

reportSource = reportClientDocument.getReportSource();

session.setAttribute("ReportSource", reportSource);

 

byteArrayInputStream = (ByteArrayInputStream) reportClientDocument

        .getPrintOutputController().export(ReportExportFormat.PDF);

 

response.reset();

 

response.setHeader("Content-disposition", "inline;filename=crreport.pdf");

response.setContentType("application/pdf");

 

byteArray = new byte[1024];

while((bytesRead = byteArrayInputStream.read(byteArray)) != -1) {

response.getOutputStream().write(byteArray, 0, bytesRead);

}

 

response.getOutputStream().flush();

response.getOutputStream().close();

 

reportClientDocument.close();

 

 

Thanks

Penchal

Unexpected database connector error

$
0
0

I did a search on 'Unexpected database connector error' and found a large list of topics. Most of the topics were people asking for help. The replies were, just get the latest patches - which does not help!

 

Here is the error message I get,

 

     Parms are; 800/S80/5069660

     ERROR -  detected an exception: Unexpected database connector error

 

I output the parameter values so that I can validate that I read the cotrol file and that I am passing values to the Crystal Report that in fact should work.

 

I have downloaded the latest patches and nothing has changed.

 

The code was working in Nov when I last made a change to it. My profile was removed from my computer in order to fix a virus. I now need to make a change to the program and generate a new .jar file.

 

The code gets an error trying to connect to the database.

 

When I first set this up to work, I had to pay for help from the Indian help desk. They remoted in a fixed my issue, but I have no idea what they did. Now that fix is gone. The help desk told me that they don't support Eclipse, but the Eclipse plug-in is recommended and designed for Crystal Reports.

 

I am running Crystal Reports 2008 version 12.2.0.290, and Eclipse 3.4.2. I need some help, I have no idea of where to turn to or even who to turn to. I found a consultant for Eclipse, but he doesn't know anything about the database connection (JDBC) part.

 

Can anybody help me or point me in the correct direction.

 

Un-like Crystal Reports there are no books available for Eclipse.


Database connection not closed

$
0
0

Hello,

 

Synopsis:

We are seeing an issue where the database connection used by Crystal Reports is not being closed when a report is generated. Eventually, the connection pool is used up and no more reports can be run.

 

Has anyone a work around, are we not specifying something correctly, or can we request a library fix for this issue?

 

Detail:

- We are using Crystal Reports Java Runtime Component (v2.2.218) as a module on JBoss EAP 6.3

- An EJB is used to generate a report and return the PDF to a user.

- Crystal Reports is set up to use JNDI to get a database connection.

- After report is generated and report closed, the connection pool has one less available connection, and 1 used connection

- Report code is something like this:

 

// Open report

ReportClientDocument reportClientDocument = new ReportClientDocument();

reportClientDocument.open(...);

 

// Set some report parameters

...

 

// Export report

reportClientDocument.getPrintOutputController().export(...);

 

// Close report

reportClientDocument.close();

 

- We noticed that the JBoss database connection pool was slowly getting depleted.

- To debug, we enabled the debugging in the cache connection manager in JBoss which will check for DB connections that have not been closed, and will log the offending class that opened the connection (note: it is not recommended to leave this on in production code) (more detail here: https://developer.jboss.org/wiki/DetectingAndClosingLeakedConnectionsInJBoss71 and here: https://access.redhat.com/solutions/17782 )

- Indeed, the connection is opened by Crystal Reports, but not closed:

 

16:09:58.541 INFO [org.jboss.jca.core.api.connectionmanager.ccm.CachedConnectionManager] (EJB default -7)

IJ000100: Closing a connection for you. Please close them yourself: org.jboss.jca.adapters.jdbc.jdk6.WrappedConnectionJDK6@466a2070:

java.lang.Throwable: STACKTRACE

at org.jboss.jca.core.connectionmanager.ccm.CachedConnectionManagerImpl.registerConnection(CachedConnectionManagerImpl.java:269)       

at org.jboss.jca.core.connectionmanager.AbstractConnectionManager.allocateConnection(AbstractConnectionManager.java:519)       

at org.jboss.jca.adapters.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:143)

at com.crystalsdecisions.reports.queryengine.driverImpl.jdbc.JDBCConnection.Open(Unknown Source) [DatabaseConnectors.jar:12.2.218.2374]

at com.crystalsdecisions.reports.queryengine.JDBConnectionWrapper.Open(SourceFile:123) [CrystalReportsRuntime.jar:12.2.218.2374]

at com.crystalsdecisions.reports.queryengine.br.Open(SourceFile:1786) [CrystalReportsRuntime.jar:12.2.218.2374]

(...continued as obfuscated code)

 

- It seems the class opening the connection also has a close() method, however, it is not called by Crystal Reports.

- We tried calling close manually on the DB controller and IConnection, but received an unimplemented exception in both instances (admittedly, they are for internal use, but we are clutching for solutions)

 

DatabaseController dbController = reportClientDocument.getDatabaseController();

Connections connections =  reportClientDocument.getDatabase().getConnections();

dbController .closeConnection(connections.get(0)); // <-- Exception

Connections.get(0).close(); // <-- Exception

 

11:05:07.372 SEVERE [...reportingClass] (EJB default-3) null; com.crystaldecisions.sdk.occa.report.lib.ReportSDKException:

Currently not implemented in the Java Reporting Component ---- Error code:-21472137395 Error code name: serverProgrammingError

 

 

Possible solutions:

1. Fix the Crystal Reports java library to properly close the database connection

2. (Hack) - Allow an existing connection (java.sql.connection) to be passed in that can be manually closed (Others have asked this question, but the discussions remain unanswered, see here: http://scn.sap.com/thread/1851980and here: http://scn.sap.com/thread/1827266 )

Using Excel as Data Source for Crystal Reports (with Java SDK)

$
0
0

Hi,

I already tried to find similar topics here but was more or less unable to fix my problem with the suggestion I found so far.

I would like to create a report with a excel file as data source. All my current attempts fail with the following exception "com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(719):  detected an exception: Error finding JNDI name (E:\SampleSalesData.xls)"

 

This is my current approach:

final ReportClientDocument boReportClientDocument = new ReportClientDocument();
boReportClientDocument.setLocale(Locale.US);
boReportClientDocument.newDocument();
final String fullPathToExcelFile = "E:\\SampleSalesData.xls"
final ConnectionInfo boConnectionInfo = new ConnectionInfo();
final PropertyBag boPropertyBag = boConnectionInfo.getAttributes();
boPropertyBag.put("Server Type", "Access/Excel (DAO)");
boPropertyBag.put("Database Type", "Excel 8.0");
boPropertyBag.put("Database DLL", "crdb_dao.dll");
boPropertyBag.put("System Database Path", "");
boPropertyBag.put("Session UserID", "");
boPropertyBag.put("PreQEServerName", fullPathToExcelFile);
boPropertyBag.put("Database Name", fullPathToExcelFile);
boPropertyBag.put("Server Name", fullPathToExcelFile);
boPropertyBag.put("JNDIOptionalName", fullPathToExcelFile);
boPropertyBag.put("Trusted_Connection", false);
boPropertyBag.put("Use JDBC", false);
boConnectionInfo.setAttributes(boPropertyBag);
// Set the DB Username and Pwd
boConnectionInfo.setUserName(null);
boConnectionInfo.setPassword("");
boConnectionInfo.setKind(ConnectionInfoKind.SQL);
// [...]

 

Once I have added the datasoruce I add a filed to the report and would like to export as PDF (this works fine).

The current StatckTrace looks like this:

2015-09-14 16:35:54,191 ERROR [MAIN] com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(719):  detected an exception: Error finding JNDI name (E:\SampleSalesData.xls)

        at com.crystaldecisions.reports.queryengine.Connection.t4(SourceFile:3024)

        at com.crystaldecisions.reports.dataengine.dfadapter.DFAdapter.a(SourceFile:697)

        at com.crystaldecisions.reports.dataengine.dfadapter.DFAdapter.for(SourceFile:707)

        at com.crystaldecisions.reports.reportdefinition.ReportHelper.a(SourceFile:198)

        at com.businessobjects.reports.sdk.requesthandler.ReportViewingRequestHandler.long(SourceFile:957)

        at com.businessobjects.reports.sdk.requesthandler.ReportViewingRequestHandler.a(SourceFile:635)

        at com.businessobjects.reports.sdk.requesthandler.ReportViewingRequestHandler.int(SourceFile:672)

        at com.businessobjects.reports.sdk.JRCCommunicationAdapter.do(SourceFile:1943)

        at com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(SourceFile:660)

        at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(SourceFile:166)

        at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.a(SourceFile:528)

        at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.call(SourceFile:526)

        at com.crystaldecisions.reports.common.ThreadGuard.syncExecute(SourceFile:102)

        at com.businessobjects.reports.sdk.JRCCommunicationAdapter.for(SourceFile:524)

        at com.businessobjects.reports.sdk.JRCCommunicationAdapter.int(SourceFile:423)

        at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(SourceFile:351)

        at com.businessobjects.sdk.erom.jrc.a.a(SourceFile:54)

        at com.businessobjects.sdk.erom.jrc.a.execute(SourceFile:67)

        at com.crystaldecisions.proxy.remoteagent.RemoteAgent$a.execute(SourceFile:716)

        at com.crystaldecisions.proxy.remoteagent.CommunicationChannel.a(SourceFile:125)

        at com.crystaldecisions.proxy.remoteagent.RemoteAgent.a(SourceFile:537)

        at com.crystaldecisions.sdk.occa.report.application.ds.a(SourceFile:186)

        at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(SourceFile:1558)

        at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(SourceFile:337)

        at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.if(SourceFile:223)

        at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(SourceFile:147)

        at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(SourceFile:128)

        at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(SourceFile:111)

        at EXPORT...

 

Any help on how to resolve this Problem is highly appreciated.

 

Thanks,

Runtime error: Protection Violation

$
0
0

Hello,

 

I am having an issue running reports in Labware LIMS.  Labware is using crystal runtime XI to generate its reports.  Basically what is happening is I can run a few reports (anywhere from 2-7) then I will get an error that states:

 

runtime error: Protection Violation

 

It also writes to error.log which i will post an excerpt from that file as well.

 

The only way to continue running reports is to close out of Labware and start over. 

 

My operating system is Windows Vista SP2 and we are using Labware 5

 

Please help!!!

 

Thanks,

Cody

 

Error log timestamp Wed. 06/08/2011 10:42:24 AM

 

Runtime error: Protection Violation

 

Error(Exception)>>defaultAction

Error(Exception)>>activateHandler: <anUndefinedObject>

Error(Exception)>>handle

Error(Exception)>>signal

Error class(Exception class)>>signal: <'Protection Violation'>

Process class(Object)>>error: <'Protection Violation'>

Process class>>protectionViolationInterrupt

Process class(Object)>>perform: <#protectionViolationInterrupt>

UserDLL(Object)>>vmInterrupt: <#protectionViolationInterrupt>

UserDLL(DynamicLinkLibrary)>>invalidArgument

UserDLL>>dispatchMessage: <aByteArray>

NotificationManager>>readWinQueue

Process class>>osEventInterruptGui

Process class>>osEventInterrupt

SmallInteger(Object)>>vmInterrupt: <#osEventInterrupt>

String(IndexedCollection)>>includes: <aCharacter>

[] in MenuWindow>>menuTitledPrim:

[] in Collection>>reject:

String(FixedSizeCollection)>>select: <aBlockClosure>

String(Collection)>>reject: <aBlockClosure>

[] in MenuWindow>>menuTitledPrim:

[] in Collection>>detect:ifNone:

OrderedCollection>>do: <aBlockClosure>

OrderedCollection(Collection)>>detect: <aBlockClosure> ifNone: <aBlockClosure>

MenuWindow>>menuTitledPrim: <'A&udit'>

MenuWindow>>menuTitled: <'A&udit'>

CrystalFolderManager(ViewManager)>>menuTitled: <'A&udit'>

CrystalFolderManager>>updateMenus

CrystalFolderManager(FolderManager)>>updateItem

CrystalFolderManager(FolderManager)>>refreshObjects

[] in FolderManager>>unReleaseSamples

ProtectedFrameMarker(BlockClosure)>>setUnwind: <aBlockClosure>

BlockClosure>>ensure: <aBlockClosure>

CursorManager>>changeFor: <aBlockClosure>

CrystalFolderManager(FolderManager)>>unReleaseSamples

CrystalFolderManager(Object)>>perform: <#unReleaseSamples>

[] in MenuWindow>>performMenuItem:

Time class>>millisecondsToRun: <aBlockClosure>

MenuWindow>>performMenuItem: <1029>

TopPane(ApplicationWindow)>>performMenuItem: <1029>

Message>>perform

NotificationManager>>empty

NotificationManager>>runPendingEvents

NotificationManager>>runEventLoop

Message>>perform

Message>>evaluate

Process>>safelyEvaluate: <aMessage>

Process>>evaluate: <aMessage>

Unable to Set Custom Paper size setting of 15 (width) x 12 (Height) using J

$
0
0

Hi,

 

   

     I am unable to print the report using the custom paper size setting of  15 (width) x 12 (Height)  with printer friendly fonts so that we can print on Line or dot matrix printer.

     This problem is not solved from last 3 months and we dont get help anywhere.

 

     We are using Java with Crystal Report XI R2 design for the same. 

 

                       ITable table=null;

DatabaseController dbCtrl=null;

ReportClientDocument oReportDoc=null;

try {

String reportName=fileName;

 

oReportDoc=new ReportClientDocument();

oReportDoc.open(reportName,0);

dbCtrl = oReportDoc.getDatabaseController ();

rs=ad.sqlStringBigST(query);

table = dbCtrl.getDatabase ().getTables ().getTable (0);

dbCtrl.setDataSource (rs, table.getName(), "Runtimeres");

Object oreportSource=oReportDoc.getReportSource();

IReportSource reportSource=(IReportSource)oreportSource;

PrintReportOptions printOptions = new PrintReportOptions();

printOptions.setPrinterName("EPSON FX-2175 ESC/P");

printOptions.setPaperSize(PaperSize.useDefault);

options.setPaperSource(PaperSource.manual);

oReportDoc.getPrintOutputController().printReport(printOptions);

 

} catch (Exception e) {

System.err.println(e.toString());

}

 

}

           

 

Please let me know what is the solution for the same.

 

Regards,

Raj

Crystal Reports for Java are rasapp and rascore jars required

$
0
0

Trying to call unmanaged reports in jsp using the crjava-runtime_12.2.219

Where can I find sample code for unmanaged reports and are the RAS sdk jars required or are they within the new runtime I am trying to use.

 

At present I am getting the below error:

An internal error has occurred: javax.servlet.ServletException: com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: com.crystaldecisions.common.keycode.KeycodeDecoderFactory.getKeycodeDecoderV2()Lcom/crystaldecisions/common/keycode/KeyDecoderV2;---- Error code:-2147467259 Error code name:failed

 

Any Help would be greatly appreciated.

 

Message was edited by: Amit Patel This is the scenario: -  Currently we have a web app and Reports created in Crystal Reports XI - JSP serves the Report Crystal Reports Web viewer using JRC + RAS - We need to upgrade to Crystal Reports 2013 -Trying to update the code using the crjava-runtime_12.2.219 The error I get is ReportClientDocument.inprocConnectionString cannot be resolved to a type. Also do I need to get a new keycode if I plan to use CR4E to update the reports? Thanks Amit Patel

Problem opening report file

$
0
0

Hi,

 

I'm trying to open a report, but it comes this exception.

 

I'm update with the last library version.

 

ERROR [AWT-EventQueue-0] (SourceFile:425) - ERROR: Report definition conversion failed

java.lang.ClassCastException: java.lang.String

     at com.crystaldecisions12.reports.common.DocumentSummaryInfo.i(SourceFile:383)

     at com.businessobjects.reports.reportconverter.v12.d.c(SourceFile:3758)

     at com.businessobjects.reports.reportconverter.v12.d.m(SourceFile:236)

     at com.businessobjects.reports.reportconverter.v12.f.if(SourceFile:210)

     at com.businessobjects.reports.reportconverter.v12.V12SaveLoader.a(SourceFile:242)

     at com.businessobjects.reports.loader.ReportLoader.a(SourceFile:205)

     at com.businessobjects.reports.sdk.JRCReportLoader.a(SourceFile:137)

     at com.businessobjects.reports.sdk.JRCReportLoader.a(SourceFile:76)

     at com.businessobjects.reports.sdk.requesthandler.ReportDocumentRequestHandler.a(SourceFile:136)

     at com.businessobjects.reports.sdk.JRCCommunicationAdapter.<init>(SourceFile:225)

     at com.businessobjects.sdk.erom.jrc.a.<init>(SourceFile:43)

     at com.businessobjects.sdk.erom.jrc.ReportAgentFactory.createAgent(SourceFile:46)

     at com.crystaldecisions.proxy.remoteagent.RemoteAgent$a.<init>(SourceFile:703)

     at com.crystaldecisions.proxy.remoteagent.RemoteAgent.a(SourceFile:662)

     at com.crystaldecisions.proxy.remoteagent.RemoteAgent.a(SourceFile:632)

     at com.crystaldecisions.sdk.occa.report.application.ClientDocument.if(SourceFile:504)

     at com.crystaldecisions.sdk.occa.report.application.ClientDocument.open(SourceFile:669)

     at com.crystaldecisions.reports.sdk.ReportClientDocument.open(SourceFile:80)

....

 

Thanks,

Moises Romero

Viewer is unable to connect with the CrystalReportViewerServlet

$
0
0

I know this question has been asked before but I have followed all of the instructions and still cannot get my application configured correctly. I basically followed the steps outlined in "Viewers Java SDK Developers Guide" to copy all of the required jar files, include the crystalreportviewers12 folder in the document root of my web application, and map the CrystalReportViewerServlet.

 

Here is my entry for the static files:

 

<context-param>

        <param-name>crystal_image_uri</param-name>

        <param-value>/crystalreportviewers12</param-value>

</context-param>

 

Here is my entry for the servlet and servlet mapping:

 

<servlet>

        <servlet-name>CrystalReportViewerServlet</servlet-name>

        <servlet-class>com.crystaldecisions.report.web.viewer.CrystalReportViewerServlet</servlet-class>

</servlet>

<servlet-mapping>

        <servlet-name>CrystalReportViewerServlet</servlet-name>

        <url-pattern>/CrystalReportViewerHandler</url-pattern>

</servlet-mapping>

 

I have verified that CrystalReportViewerServlet, located in webreporting.jar, is in my server classpath.

 

When I run the report the first page of the report is rendered in the viewer. I see the report data and all of the toolbar buttons rendered correctly. Two things are wrong however. Any images in the report are not displayed correctly. When I inspect the properties of an image I see that the Web application context is missing from the url. So for example, the path to the image is 'http://localhost:8080/CrystalReportViewerHandler?dynamicimage=..." when I think it should be "http://localhost:8080/myWebApp/CrystalReportViewerHandler?dynamicimage=..."

 

The second problem occurs when I click a navigation button. An error dialog pops up indicating that the viewer is unable to connect with the CrystalReportViewerServlet. When I run the application in Firefox I can see the request that is sent when I click a navigation button. The request is "http://localhost:8080/CrystalReportViewerHandler".  Again, I think the web application context is missing from the request uri.

 

So obviously, this is a configuration issue, but I don't know how to fix it. I tried all three options for the "crystal_image_use_relative" context parameter. Either "page" or leaving it out entirely are the only two options that work. If I specify "webapp" or "server" then the viewer cannot find the necessary resource files.

 

Currently I am running the Web application on a local Glassfish 3.1 server. I have used and developed against the Crystal Enterprise 11 SDK for years so I am not exactly inexperienced with this. But for some reason I am stumped now. I hope I have provided enough information for someone to point me in the right direction. Thanks in advance for your help.


Crystal Report-Ad-hoc reporting with Java Web Application

$
0
0

Hi,

   We are reviewing crystal reports for our Java web Application.We are looking at the option for enabling ad-hoc reporting using crystal report.Can any one help us out with clear steps and process to get this done.

 

   Thanks 

 

Nagarajan

CRJ SDK

$
0
0

Hi!  The "Crystal Report Java runtime component" is available as a separate download to "SAP Crystal Reports, Version for Eclipse".  So where can I find the javadoc for the API and the Development Guide for the 12.2.216 release of the runtime libraries?

Interpretation tag HTML : font

$
0
0

Hi,

 

 

 

I make a report with Crystal Report 2011, and in a formula field i put this HTML code : "<font face = 'arial' color = 'blue' size = 4><b>Mon texte gras et bleu.</b></font><br>Mon texte normal.". My field has a Text Interpretation to "HTML" value. When I edit my document in PDF format or when I preview the result, all my text is blue, not only the first part.

 

 

I realized the same sample on Crystal Report XI R2 and the result is correct, the first part is blue and the next is black.

 

 

 

Have you got any solution ?

 

 

 

Thanks.

Crystal report for Eclipse - user guide location (link?)

$
0
0

I am still looking for the user guide for CR4E. 

 

I downloaded the all in one.  'cr4e-all-in-one-win_2.0.17.zip'  and have created a simple report. 

 

I found a getting started guide, but not the user manual (for CR for  Eclipse).

 

I did download a user guide titled:  

'SAP Crystal Reports 2013 User Guide  ■ SAP Crystal Reports 2013 Support Package 1 2013-08-03'

 

However this environment doesn't match the eclipse environment.  

(the formula editor, and Select Expert described in the manual, do not match eclipse's environment.  (SAP crystal reports  2013 (manual) , looks very much CR XI.  )

 

I guess I'm confused on the SAP crystal reports products, and how they inter-operate. 

 

 

I am now wondering if the eclipse environment is mostly used after reports are created, in....   a stand alone report environment.  <?>

 

 

We are migrating from CR XI, and wish to server  reports in a html (or .jsp) environment.  (w/ live and saved data).

 

What product mix would be recommended? 

 

Am I correct that few reports are actually created in the eclipse environment? 

 

(what product should I use to create /migrate our existing reports, and create new ones?)

 

 

 

Thanks in advance!

Html field

$
0
0

I make a report with crystal reports 2013. I put in the report a text field witch has the property "Text interpretation" to HTML and witch contents :

<html>   

<head>         

</head>   

<body>     

  <p><b><u>LINE 1</u></b></p>     

  <p>LINE 2</p>

  <p>LINE 3</p>

</body> 

</html>.

 

When I print this report the first line is printed in bold and underline, the two other lines are printed in bold. The issue is : the first attribut (<b>) is applied to the remainder of the document, not not only to the enclosed text.

 

I use the runtime "crjava-runtime_12.2.219"

 

Has anyone an idee about this problem ?

 

Thanks !

Viewing all 893 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>