Closed Zolous closed 4 years ago
You don’t have your Date attribute defined!
From: Zolous [mailto:notifications@github.com] Sent: Wednesday, 5 February 2020 9:18 AM To: mhertzfeld/CrystalReportsNinja Cc: Subscribed Subject: [mhertzfeld/CrystalReportsNinja] Object reference not set to an instance of an object (#26)
CrystalReportsNinja.exe -U user1 -P password -S server -F C:\CrystalReportsNinja\64-bit \test.rpt -O C:\CrystalReportsNinja\64-bit\test1.pdf -E pdf -a "filter_id:80742"
producing the following log ninja-20200204171133.loghttps://github.com/mhertzfeld/CrystalReportsNinja/files/4156401/ninja-20200204171133.log
Using SAP Runtime 64 bit build v13.0.26.3348
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/mhertzfeld/CrystalReportsNinja/issues/26?email_source=notifications&email_token=ANSYCDOMZSCPNZLND6ASY3DRBHSQHA5CNFSM4KP65UZKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4ILBDUFQ, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ANSYCDILT5MVPZICHXEULTDRBHSQHANCNFSM4KP65UZA.
That parameter wasn't being utilized, so I removed it from the .rpt file and am still receiving the same error.
Just realized you haven't specified the Database to use in your command CrystalReportsNinja.exe -U user1 -P password -S server -D DATABSENAME -F C:\CrystalReportsNinja\64-bit \test.rpt -O C:\CrystalReportsNinja\64-bit\test1.pdf -E pdf -a "filter_id:80742"
That should be an optional requirement as it is the default DB connection, but directly providing it yields the exact same error.
Possibly due to your Crystl Runtmie version as this has been setup and tested to run SAP Runtime 64 bit build v13_0_25
What version SAP are you using? This works with SAP9.3 PL12
I'll try downgrading my runtime to 13.0.25 tomorrow and see how that holds. As per the SAP version, and assuming I'm understanding the question correctly; I'm not attempting to utilize this with SAP Business one.
Attempting to run this against a report with no datasource , and no parameters yields a similar error, but at a different section.
How did you go after you downgraded the Runtime
No reply in over a month. Closing issue.
Invoked with the following cmd call
CrystalReportsNinja.exe -U user1 -P password -S server -F C:\CrystalReportsNinja\64-bit \test.rpt -O C:\CrystalReportsNinja\64-bit\test1.pdf -E pdf -a "filter_id:80742"
producing the following log ninja-20200204171133.log
Using SAP Runtime 64 bit build v13.0.26.3348