• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Crystal Report and Java Connection

 
Kedar Divekar
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i created the application (DESKTOP Application) in JAVA for opening / showing crystal reports from java. Here is my code

ReportClientDocument reportClientDoc = new ReportClientDocument();
reportClientDoc.open("C://Documents and Settings//kedar//My Documents//NetBeansProjects//JRCViewReportLogon//src//Report1.rpt", 0);
new ReportViewerFrame(reportClientDoc);

After running the code I am getting the following error.

java.util.MissingResourceException: Can't find resource for bundle java.util.PropertyResourceBundle, key Error_InvalidServerName
at java.util.ResourceBundle.getObject(ResourceBundle.java:393)
at java.util.ResourceBundle.getObject(ResourceBundle.java:390)
at java.util.ResourceBundle.getString(ResourceBundle.java:353)
at com.crystaldecisions.client.helper.ResourceManager.getString(Unknown Source)
at com.crystaldecisions.client.helper.SDKResourceManager.getString(Unknown Source)
at com.crystaldecisions.proxy.remoteagent.TCPIPCommunicationAdapter.connect(Unknown Source)
at com.crystaldecisions.proxy.remoteagent.aa.a(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.ReportAppSession.int(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.ReportAppSession.initialize(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.ClientDocument.for(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.for(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.ClientDocument.open(Unknown Source)
at com.crystaldecisions.reports.sdk.ReportClientDocument.open(SourceFile:80)
at JRCViewReportLogon.main(JRCViewReportLogon.java:71)


I searched on net, but I didn’t get anything.

please help me out.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic