• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 3255
  • Last Modified:

crystal report java sdk

I am using crystal report java sdk and getting following errors... Anybody has any idea?
Connecting to dcmtest:1099
 Logging in to Docushare as user admin.... Logged in!
 
Processing please wait...log4j:WARN No appenders could be found for logger (com.
crystaldecisions12.reports.common.Document).
log4j:WARN Please initialize the log4j system properly.
com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: An error occured tr
ying to load the report: V12 engine failed to load the report---- Error code:-21
47215356 Error code name:fileNotOpened
        at com.businessobjects.reports.sdk.JRCAdapterSDKException.a(Unknown Sour
ce)
        at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(Unknown Sou
rce)
        at com.businessobjects.reports.sdk.JRCCommunicationAdapter.<init>(Unknow
n Source)
        at com.businessobjects.sdk.erom.jrc.a.<init>(Unknown Source)
        at com.businessobjects.sdk.erom.jrc.ReportAgentFactory.createAgent(Unkno
wn Source)
        at com.crystaldecisions.proxy.remoteagent.RemoteAgent$a.<init>(Unknown S
ource)
        at com.crystaldecisions.proxy.remoteagent.RemoteAgent.a(Unknown Source)
        at com.crystaldecisions.proxy.remoteagent.RemoteAgent.a(Unknown Source)
        at com.crystaldecisions.sdk.occa.report.application.ClientDocument.if(Un
known Source)
        at com.crystaldecisions.sdk.occa.report.application.ClientDocument.open(
Unknown Source)
        at com.sitrof.convrter.ConvertUtility.RPTToPDF(ConvertUtility.java:313)
        at com.sitrof.convrter.ConvertUtility.main(ConvertUtility.java:585)
Caused by: com.businessobjects.reports.sdk.JRCAdapterSDKException: An error occu
red trying to load the report: V12 engine failed to load the report
        at com.businessobjects.reports.sdk.JRCReportLoader.a(Unknown Source)
        at com.businessobjects.reports.sdk.JRCReportLoader.a(Unknown Source)
        at com.businessobjects.reports.sdk.requesthandler.ReportDocumentRequestH
andler.a(Unknown Source)
        ... 10 more
Caused by: com.businessobjects.reports.reportconverter.ReportConversionException
: V12 engine failed to load the report
        at com.businessobjects.reports.reportconverter.v12.V12SaveLoader.a(Unkno
wn Source)
        at com.businessobjects.reports.loader.ReportLoader.a(Unknown Source)
        ... 13 more
Caused by: com.crystaldecisions12.reports.common.SaveLoadException: Failed to re
ad document meta information.
        at com.crystaldecisions12.reports.common.Document.a(Unknown Source)
        at com.crystaldecisions12.reports.common.Document.loadDocument(Unknown S
ource)
        at com.crystaldecisions12.reports.reportdefinition.ReportDocument.loadDo
cument(Unknown Source)
        at com.crystaldecisions12.reports.reportdefinition.ReportDocument.LoadDo
cument(Unknown Source)
        at com.businessobjects.reports.reportconverter.v12.c.a(Unknown Source)
        ... 15 more
Caused by: java.lang.NullPointerException
        at com.crystaldecisions.jakarta.poi.poifs.property.DirectoryProperty.a(U
nknown Source)
        at com.crystaldecisions.jakarta.poi.poifs.property.PropertyTable.if(Unkn
own Source)
        at com.crystaldecisions.jakarta.rpoifs.RandomAccessPropertyTable.<init>(
Unknown Source)
        at com.crystaldecisions.jakarta.rpoifs.RandomAccessPOIFileSystem.<init>(
Unknown Source)
        ... 20 more
com.xerox.docushare.content.ContentStoreException: Couldn't get a stream to file
: C:\Documents and Settings\Administrator\Desktop\Project\Project; nested except
ion is:
        java.io.FileNotFoundException: C:\Documents and Settings\Administrator\D
esktop\Project\Project (Access is denied); nested exception is:
        com.xerox.docushare.DSContentElementException: Couldn't get a stream to
file: C:\Documents and Settings\Administrator\Desktop\Project\Project; nested ex
ception is:
        java.io.FileNotFoundException: C:\Documents and Settings\Administrator\D
esktop\Project\Project (Access is denied)
com.xerox.docushare.DSContentElementException: Couldn't get a stream to file: C:
\Documents and Settings\Administrator\Desktop\Project\Project; nested exception
is:
        java.io.FileNotFoundException: C:\Documents and Settings\Administrator\D
esktop\Project\Project (Access is denied)
java.io.FileNotFoundException: C:\Documents and Settings\Administrator\Desktop\P
roject\Project (Access is denied)
        at java.io.FileInputStream.open(Native Method)
        at java.io.FileInputStream.<init>(FileInputStream.java:106)
        at java.io.FileInputStream.<init>(FileInputStream.java:66)
        at com.xerox.docushare.FileContentElement.open(FileContentElement.java:1
92)
        at com.xerox.docushare.content.impl.ContentStoreImpl.addContent(ContentS
toreImpl.java:565)
        at com.xerox.docushare.impl.server.BackendSessionImpl.saveContentInCS(Ba
ckendSessionImpl.java:6168)
        at com.xerox.docushare.impl.server.BackendSessionImpl.createDocument(Bac
kendSessionImpl.java:4288)
        at com.xerox.docushare.impl.server.BackendSessionImpl.createDocument(Bac
kendSessionImpl.java:3892)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294)
        at sun.rmi.transport.Transport$1.run(Transport.java:153)
        at java.security.AccessController.doPrivileged(Native Method)
        at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
        at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:4
66)
        at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport
.java:707)
        at java.lang.Thread.run(Thread.java:595)
Press any key to continue . . .

Open in new window

0
CalmSoul
Asked:
CalmSoul
1 Solution
 
objectsCommented:
it cannot access  C:\Documents and Settings\Administrator\Desktop\Project\Project

check its a valid readable directory and your policy file allows the application to access it.

0
 
CalmSoulAuthor Commented:
thanks for the answer
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now