crystal report java sdk

Posted on 2009-02-24
Last Modified: 2012-08-14
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.


log4j:WARN Please initialize the log4j system properly. 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


        at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(Unknown Sou


        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


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

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


known Source)


Unknown Source)

        at com.sitrof.convrter.ConvertUtility.RPTToPDF(

        at com.sitrof.convrter.ConvertUtility.main(

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


        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


nknown Source)


own Source)

        at com.crystaldecisions.jakarta.rpoifs.RandomAccessPropertyTable.<init>(

Unknown Source)

        at com.crystaldecisions.jakarta.rpoifs.RandomAccessPOIFileSystem.<init>(

Unknown Source)

        ... 20 more Couldn't get a stream to file

: C:\Documents and Settings\Administrator\Desktop\Project\Project; nested except

ion is: C:\Documents and Settings\Administrator\D

esktop\Project\Project (Access is denied); nested exception is: Couldn't get a stream to

file: C:\Documents and Settings\Administrator\Desktop\Project\Project; nested ex

ception is: C:\Documents and Settings\Administrator\D

esktop\Project\Project (Access is denied) Couldn't get a stream to file: C:

\Documents and Settings\Administrator\Desktop\Project\Project; nested exception

is: C:\Documents and Settings\Administrator\D

esktop\Project\Project (Access is denied) C:\Documents and Settings\Administrator\Desktop\P

roject\Project (Access is denied)

        at Method)









        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.


        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces

        at java.lang.reflect.Method.invoke(

        at sun.rmi.server.UnicastServerRef.dispatch(

        at sun.rmi.transport.Transport$

        at Method)

        at sun.rmi.transport.Transport.serviceCall(

        at sun.rmi.transport.tcp.TCPTransport.handleMessages(


        at sun.rmi.transport.tcp.TCPTransport$



Press any key to continue . . .

Open in new window

Question by:CalmSoul
    LVL 92

    Accepted Solution

    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.

    LVL 5

    Author Comment

    thanks for the answer

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    What Should I Do With This Threat Intelligence?

    Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

    Suggested Solutions

    Title # Comments Views Activity
    scores100 challenge 3 67
    scoreUp challenge 14 40
    Spring Controller - inheritance in request parameter 3 29
    json format text only 4 48
    Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
    Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
    Viewers learn about the third conditional statement “else if” and use it in an example program. Then additional information about conditional statements is provided, covering the topic thoroughly. Viewers learn about the third conditional statement …
    This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

    760 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    13 Experts available now in Live!

    Get 1:1 Help Now