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

Crystal Reports Javabean connectivity -Invalid argument provided. Details P

$
0
0

read the pdf which gives clear instructions about how to do the javabean connectivity. below are my crconfig settings. used the same class as provided in the example. using wondows vista. could this be an issue

 

 

gives me an error'

 

Invalid argument provided. Details Please choose a javabean class.

 

<JavaDir>C:\j2sdk1.4.2_12\jre\bin</JavaDir>

<JavaBeansClassPath>C:\CrystalReportsJavaBeans</JavaBeansClassPath>


Exporting Report to PDF - Report Application Server 2013

$
0
0

I am trying to export a report to PDF format by using the following code:

 

ByteArrayInputStream byteArrayInputStream = (ByteArrayInputStream) clientDoc.getPrintOutputController().export(ReportExportFormat.PDF);

 

This code works when using the XI version of the Report Application Version. However, I am recently upgrading to 2013 and when trying to export I am getting a java.lang.ClassCastException

 

I tried to search for the API Reference and Developer Guide for the 2013 version, however I couldn't find it. The most recent version that I could find is the 2011 version.

 

Could you please guide me with a sample of how an export is done and do you have any links for the API Reference and Developer Guide for the 2013 version?

Facing issues in crystal reports while download and on Navigation buttons

$
0
0

Hi,

 

We have brought up the setup for Crystal Report 2011, connected it to SQL 2008 DB and are able to view the reports. But we are facing 2 issues:

 

1. On click of Download button, the URL gets changed to below and we get a blank screen.

http://localhost:9080/CrystalReportViewerHandler

 

2. For reports which have more than 1 page, on click on “Next” button, it’s not proceeding to next page. Instead a pop message is displayed to the user as below:

“The viewer is unable to connect with the CrystalReportViewerServlet that handles asynchronous requests. Please ensure that the Servlet and Servlet-Mapping have been properly declared in the application’s web.xml file”

 

 

We have verified that our entries are proper in web.xml.

 

 

<context-param>

<param-name>crystal_servlet_uri</param-name>

<param-value>/CrystalReportViewerHandler</param-value>

</context-param>

<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>

 

 

Kindly let us know if anyone has any inputs.

What is J2EE Stack ?

$
0
0

Hi,

 

Anyone pls explain Wht exactly is J2EE Stack?

 

Regards,

Hari

Problem with JNDI and Oracle

$
0
0

Hello,

 

I´m trying to use a JNDI report in my jboss application server that is using a JNDI connection. Everything works fine with MySql and SqlServer, but in Oracle e get the following error.

 

1:42:05,915 WARN  Connection error occured: org.jboss.resource.connectionmanager.TxConnectionManager$TxConnectionEventListener@2ecc38[state=NORMAL mc=org.jboss.resource.adapter.jdbc.local.LocalManagedConnection@1705706 handles=1 lastUse=1228390908805 permit=true trackByTx=false mcp=org.jboss.resource.connectionmanager.JBossManagedConnectionPool$OnePool@615f24 context=org.jboss.resource.connectionmanager.InternalManagedConnectionPool@ad5581 xaResource=org.jboss.resource.connectionmanager.TxConnectionManager$LocalXAResource@1c8a538 txSync=null]

java.lang.NullPointerException

     at oracle.jdbc.driver.T4C8Oall.getNumRows(T4C8Oall.java:870)

     at oracle.jdbc.driver.T4CStatement.executeForDescribe(T4CStatement.java:811)

     at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1031)

     at oracle.jdbc.driver.T4CStatement.executeMaybeDescribe(T4CStatement.java:830)

     at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1124)

     at oracle.jdbc.driver.OracleStatement.executeInternal(OracleStatement.java:1679)

     at oracle.jdbc.driver.OracleStatement.execute(OracleStatement.java:1645)

     at org.jboss.resource.adapter.jdbc.WrappedStatement.execute(WrappedStatement.java:84)

     at com.crystaldecisions.reports.queryengine.driverImpl.o.ew(Unknown Source)

 

Best Regards,

 

Eduardo Barros.

 

Object doesn't support this property or method - Javascript error-

$
0
0

My initial implementation (using crystal reports for eclipse ver 1.0.4) worked fine and the reports were being displayed. But after my move to use the BOE Crystal jars - I am not able to render the report on-screen.

 

I get the Object doesn't support this property or method  javascript error when rendering report on-screen.

This error only seems to show under Internet Explorer,  In Firefox no error is shown and it is not rendered, but using firebug I noticed it calling javascript but nothing is displayed.

 

 

crystalimagehandler.jsp was a file under crystalreportviewers folder.

But the BOE version has the CrystalReportViewerServlet which I have associated in my web.xml

 

Web.xml

       <context-param>

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

         <param-value>crystalreportviewers</param-value>

       </context-param>

        

       <context-param>

         <param-name>crystal_image_use_relative</param-name>

         <param-value>webapp</param-value>

       </context-param>

        

     <context-param>

            <param-name>crystal_servlet_uri</param-name>

           <param-value>/CrystalReportViewerHandler</param-value>

        </context-param>

 

     <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>

 

Edited by: jam mend on Jan 28, 2009 2:04 AM

Encoding problem while exporting report to PDF

$
0
0

Hi everyone

 

We have a trouble while exporting Crystal Report with Russian or Lithuanian characters to pdf on web. Some of Lithuanian characters are exported as question marks u201C?u201D. The problem is only if  the web project is running on Linux server. On Windows export and printing works fine.

We have tried both WebSphere Application Server 6.1.0.19 and Sun GlassFish v2.1 installed on Ubuntu 9.04.

 

For the testing purpose we have downloaded u201CAll-In-Oneu201D Eclipse installation (u201CEclipse Ganymede 3.4.1 with Crystal Reports for Eclipseu201D) from businessobjects.com (Crystal Reports for Eclipse version is 2.0.2.r678).

We have done the simplest Crystal Reports Web Project and created a new report with some Lithuanian characters (the report doesn't use any external data source). Then using u201CCrystal Reports->Create Report Viewer JSP...u201D wizard we created standard JSP page with Java code snippets to render report. Then we exported this web project as EAR and run it both on Linux and Windows servers. On Windows server export to pdf works fine, but on Linux not. The same problem is with Russian characters.

 

Could anybody help, how to set charset or encoding used while printing and exporting report to pdf?

 

Thanks in advance

 

Edited by: Judzin on Sep 10, 2009 3:09 PM

Problem rendering report with font "character spacing exactly" value != 0

$
0
0

<p>

Hello all,

I'm having trouble generating a report in java CR XI.

</p>

<p>

If I format the field, with respect to the font with a "character spacing exactly" value diferent than 0, the report is rendered correctly in Crystal Reports Designer 2008 SP2, but not when rendered through Java CR engine XI.

</p>

<p>

Consulting help in designer, the option is defined as :

Character spacing exactly

    Use this option to specify the value that each character in your selected font occupies. The value is defined as the distance in number of points measured from the start of one character to the start of the next. When you change the character spacing, you change only the spacing between adjacent characters, not the font size of the characters.

</p>

<p>

I searched the forum for a similar problem but didn't found any.

Does anyone ran into this problem already ? Is there any workaround  ?

</p>

Thank you.

 

Regards,

Eduardo Andrade


Viewing reports with

$
0
0

Hello All,

 

I am having issues with the <crviewer:viewer> tag

 

I am trying to embed the crystal report inside the another jsp

here is the code that i wrote

for setting the crystal viewer

 

 

 

 

 

 

 

 

 

 

 

 

String label = request.getParameter("label")==null?(String)session.getAttribute("label"):request.getParameter("label");

    session.removeAttribute("label");

    session.setAttribute("label",label);

    String userID = (String)session.getAttribute("USERID");

      

    String userName = (request.getParameter("userid")==null)?"":request.getParameter("userid");

 

     

    CrystalReportViewer viewer = new CrystalReportViewer();

 

 

 

    IEnterpriseSession es = (IEnterpriseSession) session.getAttribute("ISEnterpriseSession");

 

     Fields parameterFields = (Fields)session.getAttribute("parameterFields");

 

     IReportSource reportSource = (IReportSource)session.getAttribute("reportSource");

 

     System.out.println(" report source in the view report : " + reportSource);

 

 

     viewer.setName("CrystalReportViewer");

 

     viewer.setOwnPage(true);

 

     viewer.setDisplayPage(true);

 

     viewer.setPrintMode(CrPrintMode.ACTIVEX);

 

     viewer.setOwnForm(true);

 

     viewer.setParameterFields(parameterFields);

      

     viewer.setReportSource(reportSource);

 

 

 

 

in the above code i already set the parameters but in this tag it still shows me the page where i need to put the values

 

<crviewer:viewer viewerName="<%= viewer.getName()%>"  enablePageToGrow="false"  height="250" width="250" reportSourceType="reportApplicationServer" reportSourceVar="reportSource" >

                               

                    </crviewer:viewer>

 

 

or can anyone tell me how to set the parameters values to the <crviewer:viewer> tag

Crystal Reports Java Reporting Component Developer's Guide?

$
0
0

In several webpages in devlibrary.businessobjects.com, there is a reference to the Crystal Reports Java Reporting Component Developer's Guide.  I've tried to find this document but have had no luck.  I've used the search capability of the website but have gotten nowhere.

 

Can somebody tell me where I can find it to download?

 

Thanks in advance.

 

Ron

Assertion Failures in logs when Crystal Reports are invoked from Java

$
0
0

We see a lot of Assertion failures in System Error logs triggered by Crystal Reports when reports are invoked from Java. Reports are generated successfully but assertion failures exist in logs. We tried out suppressing assertions from WebSphere side but still the assertions triggered while report generation are not disabled. Following is the assertion failures we encounter after tracing is enabled for crystal reports:

 

83806 [WebContainer : 0] DEBUG com.crystaldecisions.reports.formulas.Simplifier.Fields  - The current value of field {Query.CHECK_AMT} is: c(700.0)

83806 [WebContainer : 0] WARN  com.crystaldecisions.reports.common.asserts.CrystalAssert  - Assertion Failed: Formula context returned the wrong type of value for a field.

83806 [WebContainer : 0] WARN  com.crystaldecisions.reports.common.asserts.CrystalAssert  - Assertion Failed: Formula context returned the wrong type of value for a field.

83853 [WebContainer : 0] INFO  com.crystaldecisions.reports.common.asserts.CrystalAssert  - java.lang.Throwable

     at com.crystaldecisions.reports.common.j.b.a(Unknown Source)

     at com.crystaldecisions.reports.formulas.al.if(Unknown Source)

     at com.crystaldecisions.reports.formulas.ab.if(Unknown Source)

     at com.crystaldecisions.reports.formulas.al.if(Unknown Source)

     at com.crystaldecisions.reports.formulas.al.if(Unknown Source)

     at com.crystaldecisions.reports.formulas.ab.if(Unknown Source)

     at com.crystaldecisions.reports.formulas.al.if(Unknown Source)

     at com.crystaldecisions.reports.formulas.al.if(Unknown Source)

     at com.crystaldecisions.reports.formulas.ab.if(Unknown Source)

     at com.crystaldecisions.reports.formulas.al.if(Unknown Source)

     at com.crystaldecisions.reports.formulas.al.a(Unknown Source)

     at com.crystaldecisions.reports.formulas.al.if(Unknown Source)

     at com.crystaldecisions.reports.formulas.al.long(Unknown Source)

     at com.crystaldecisions.reports.formulas.n.a(Unknown Source)

     at com.crystaldecisions.reports.formulas.FormulaInfo.for(Unknown Source)

     at com.crystaldecisions.reports.formulas.FormulaService.evaluate(Unknown Source)

     at com.crystaldecisions.reports.reportdefinition.b2.if(Unknown Source)

     at com.crystaldecisions.reports.dataengine.o.a(Unknown Source)

     at com.crystaldecisions.reports.dataengine.o.a(Unknown Source)

     at com.crystaldecisions.reports.dataengine.n.a(Unknown Source)

     at com.crystaldecisions.reports.dataengine.n.if(Unknown Source)

     at com.crystaldecisions.reports.dataengine.a5.if(Unknown Source)

     at com.crystaldecisions.reports.dataengine.a5.a(Unknown Source)

     at com.crystaldecisions.reports.dataengine.a5.for(Unknown Source)

     at com.crystaldecisions.reports.formatter.formatter.objectformatter.bn.case(Unknown Source)

     at com.crystaldecisions.reports.formatter.formatter.objectformatter.a8.a(Unknown Source)

     at com.crystaldecisions.reports.formatter.formatter.objectformatter.a8.goto(Unknown Source)

     at com.crystaldecisions.reports.formatter.formatter.objectformatter.i.goto(Unknown Source)

     at com.crystaldecisions.reports.formatter.formatter.objectformatter.a8.for(Unknown Source)

     at com.crystaldecisions.reports.formatter.formatter.objectformatter.bl.a(Unknown Source)

     at com.crystaldecisions.reports.formatter.formatter.objectformatter.bn.a(Unknown Source)

     at com.crystaldecisions.reports.formatter.formatter.objectformatter.bn.a(Unknown Source)

     at com.crystaldecisions.reports.formatter.formatter.objectformatter.a9.a(Unknown Source)

     at com.crystaldecisions.reports.formatter.formatter.objectformatter.b3.for(Unknown Source)

     at com.crystaldecisions.reports.formatter.formatter.objectformatter.b3.for(Unknown Source)

     at com.crystaldecisions.reports.formatter.formatter.objectformatter.bu.for(Unknown Source)

     at com.crystaldecisions.reports.formatter.formatter.objectformatter.bl.a(Unknown Source)

     at com.crystaldecisions.reports.formatter.formatter.objectformatter.b3.a(Unknown Source)

     at com.crystaldecisions.reports.formatter.formatter.objectformatter.b3.a(Unknown Source)

     at com.crystaldecisions.reports.formatter.formatter.objectformatter.b3.a(Unknown Source)

     at com.crystaldecisions.reports.formatter.formatter.objectformatter.b0.a(Unknown Source)

     at com.crystaldecisions.reports.formatter.formatter.objectformatter.a4.a(Unknown Source)

     at com.crystaldecisions.reports.formatter.formatter.objectformatter.b3.for(Unknown Source)

     at com.crystaldecisions.reports.formatter.formatter.objectformatter.b3.for(Unknown Source)

     at com.crystaldecisions.reports.formatter.formatter.objectformatter.bu.for(Unknown Source)

     at com.crystaldecisions.reports.formatter.formatter.objectformatter.bl.a(Unknown Source)

     at com.crystaldecisions.reports.formatter.formatter.objectformatter.f.for(Unknown Source)

 

Interestingly we have the Check_Amt as Number in Oracle database as well as in the reports but still the {Query.CHECK_AMT} is: c(700.0) Check_Amt is read as character.

 

Is there any way we can suppress this assertion?

How to achieve localization in crystal reports 2011

$
0
0

Hi i am using crystal reports 2011.

i have to develop multilingual reports.

 

i need to change only  headers based on language selected using language parameter.data is same for all languages

 

 

if i selected country=india     then labels are

 

User          Date


vissu          01/05/2012

 

if country=uk     then

 

impôt         série


vissu          01/05/2012

 

Can any one please help me how to implement this.

Hi parik we are manually providing the language.

What is J2EE Stack ?

$
0
0

Hi,

 

Anyone pls explain Wht exactly is J2EE Stack?

 

Regards,

Hari

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.

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!!


How to switch database connection at runtime in crystal reports using java swing

$
0
0

Please help. I am developing a swing application that can open reports made using crystal reports xi. What Im trying to do is to open a report and pass the connection info to that report so that I can dynamically change the database of the report. But for some reason it is not working and the report still produces the information from the database that it was initially set up. Can someone please tell me what I did wrong?  Btw when I try using  com.crystaldecisions.sdk.occa.report.application.ReportClientDocument, I get a server not found error. But when I try to use import com.crystaldecisions.reports.sdk.ReportClientDocument; It's not working. I am not sure what a report server is and I dont think I set it up on my computer. Please help. Here is my code:

 

import com.crystaldecisions.sdk.occa.report.application.ReportClientDocument;
ReportClientDocument rpt =  new ReportClientDocument();        rpt.open(reportPath+fileName, 0);        Fields fields = null;                IConnectionInfo connInfo = rpt.getDatabaseController().getConnectionInfos(null).getConnectionInfo(0);                 PropertyBag innerProp = connInfo.getAttributes();            innerProp.clear();                        PropertyBag propertyBag = new PropertyBag();            propertyBag.put("Server Type", "JDBC (JNDI)");            propertyBag.put("Database DLL", "crdb_jdbc.dll");            propertyBag.put("Database Class Name", "com.mysql.jdbc.Driver");            propertyBag.put("Use JDBC", "true");            propertyBag.put("Server Name", DBConnect.getServer());            propertyBag.put("Generic JDBC Driver Behavior", "No");            propertyBag.put("URI", "!com.mysql.jdbc.Driver!jdbc:mysql://"+DBConnect.getServer()+":"+DBConnect.getPort()+"/"+DBConnect.getDatabase()+"!ServerType=29!QuoteChar=`");                    connInfo.setAttributes(innerProp);            connInfo.setPassword(DBConnect.getPassword());            connInfo.setUserName(DBConnect.getUsername());                                                        int replaceParams = DBOptions._ignoreCurrentTableQualifiers + DBOptions._doNotVerifyDB;        rpt.getDatabaseController().replaceConnection(rpt.getDatabaseController().getConnectionInfos(null).getConnectionInfo(0), connInfo, fields, replaceParams);

CR4E2.0- Why I see double & single quotes as empty boxes?

$
0
0

Hi,

 

Looking at some previous posts I understand that

- This is not character encoding issue

- The character under the encoding scheme was understood, but the font has no glyph representation

 

I opened up the PDF file in Adobe Reader, and looked up Document Properties, it indicates TimesNewRoman (Embedded Subset) Type: TrueType; Encoding Built-in

 

I don't see any issue if I preview the report in Crystal designer and save it when I am on preview tab.

However as soon as I close the preview tab and save the report, I see the boxes again.

 

Why do I see this behaviour? Kindly advice what am I missing here or I need to do?

 

I am running the application on my local machine (Windows 2000) and generating the pdf programmatically.

 

Using following environment/configuration:

 

1. Websphere Application Server v6.1

2. RAD - Version: 7.0.0.7 with CR4E2.0

3. Crystal Report XI - version 11.0.0.895

4. java version "1.5.0"

 

Thanks in advance.

"Can't find resource for bundle java.util.PropertyResourceBundle" error

$
0
0

I just upgraded my webapps to use CR4E SP1. Every time I view a report, I get the following error. What am I missing?

 

[2009-05-08 10:49:56,826] ERROR com.crystaldecisions.reports.common Failed to load the resource 'InternalFormatterException' from the bundle java.util.PropertyResourceBundle@d5f6e9.

java.util.MissingResourceException: Can't find resource for bundle java.util.PropertyResourceBundle, key InternalFormatterException

     at java.util.ResourceBundle.getObject(ResourceBundle.java:384)

     at java.util.ResourceBundle.getString(ResourceBundle.java:344)

     at com.crystaldecisions.reports.common.CrystalResources.loadString(Unknown Source)

     at com.crystaldecisions.reports.common.CrystalResources.loadMessage(Unknown Source)

     at com.crystaldecisions.reports.common.CrystalResourcesFactory.getLocalizedMessage(Unknown Source)

     at com.crystaldecisions.reports.common.CrystalException.getLocalizedMessage(Unknown Source)

     at com.businessobjects.reports.sdk.JRCCommunicationAdapter.do(Unknown Source)

     at com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(Unknown Source)

     at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(Unknown Source)

     at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.a(Unknown Source)

     at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.call(Unknown Source)

     at com.crystaldecisions.reports.common.ThreadGuard.syncExecute(Unknown Source)

     at com.businessobjects.reports.sdk.JRCCommunicationAdapter.for(Unknown Source)

     at com.businessobjects.reports.sdk.JRCCommunicationAdapter.int(Unknown Source)

     at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)

     at com.businessobjects.sdk.erom.jrc.a.a(Unknown Source)

     at com.businessobjects.sdk.erom.jrc.a.execute(Unknown Source)

     at com.crystaldecisions.proxy.remoteagent.RemoteAgent$a.execute(Unknown Source)

     at com.crystaldecisions.proxy.remoteagent.CommunicationChannel.a(Unknown Source)

     at com.crystaldecisions.proxy.remoteagent.RemoteAgent.a(Unknown Source)

     at com.crystaldecisions.sdk.occa.report.application.ds.a(Unknown Source)

     at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)

     at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)

     at com.crystaldecisions.sdk.occa.report.application.ReportSource.export(Unknown Source)

     at com.crystaldecisions.sdk.occa.report.application.AdvancedReportSource.export(Unknown Source)

     at com.crystaldecisions.reports.reportengineinterface.JPEReportSource.export(Unknown Source)

     at com.businessobjects.report.web.event.bh.a(Unknown Source)

     at com.businessobjects.report.web.event.o.a(Unknown Source)

     at com.businessobjects.report.web.event.bw.broadcast(Unknown Source)

     at com.businessobjects.report.web.event.am.a(Unknown Source)

     at com.businessobjects.report.web.a.t.if(Unknown Source)

     at com.businessobjects.report.web.e.a(Unknown Source)

     at com.businessobjects.report.web.e.a(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.viewer.ReportExportControl.a(Unknown Source)

     at com.crystaldecisions.report.web.ServerControl.processHttpRequest(Unknown Source)

     at org.apache.jsp.reporting.exporter_jsp._jspService(exporter_jsp.java:248)

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

     at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

     at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)

     at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)

     at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)

     at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

     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:191)

     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:286)

     at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)

     at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)

     at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)

     at java.lang.Thread.run(Thread.java:619)

 

NullPointerException occur when click "Export" or "Next Page"

$
0
0

Hi All,

 

I have a system use CR2008.

Recently, customer of this system upgrade the server from Windows 2003 to Windows 2012 and  DB from SQL Server 2K5 to 2012.

After some investigation, I know that Service Pack 7 is needing to make CR 2008 be compatible with SQL Server 2012, so I have already install the service packs and can access to SQL Serer  2012 now.

The issue is after we update the Crystal Report Runtime to crjava-runtime_12.2.219, we can see the report but if we click the Export button (nomater export as rpt, pdf or excel), and dialog box will popup and show "Unable to process the request." the detail show NullPointer Exception was occur.

QQ图片20160320023320.png

 

This issue seems like the issue in this thread http://scn.sap.com/thread/3669297 but slide different.

I have struggled this for two days, please help.

Any suggestion is highly appreciate.

Parameter Prompting order on Crystal Reports Viewer

$
0
0

I am using the CrystalReportViewer to display reports from within a J2EE application.  We create the reports external to the development environment using Crystal Reports 11. 

 

All seems to work well except for a problem in the way that run-time parameters are displayed in the viewer panel.  The problem is that the parameter order that we define in the report, and which is displayed as expected when the report is run in Crystal Reports itself, is not reflected on the viewer. 

 

For example, our paramaters for a given report may be in this order:

 

From Date

To Date

Minimum Value

 

But when the report is executed through the viewer on a jsp page, we may see those same three parameters prompted like this:

 

To Date

Minimum Value

From Date

 

This is just an example of course, but in a complex report, with many associatted parameters, this somewhat random reordering makes the parameter list very difficult to comprehend.

 

Can anyone offer a method by which we can keep the display order consistent?

 

Best regards,

 

Chuck Doherty

Viewing all 893 articles
Browse latest View live