So I did export some reports, cubes , and information maps from SAS managent console and saved it on documents on my local drive. They all have .spk extension and I was able open and read both cubes and IMAPS but failing to open the reports (export package). The message I get is "GetContentsCmd status FAILED, reason = java.lang.NullPointerException".
Does anybody have an idea what might have gone wrong, and any idea how to view the report.
Thank you.
Hello @GLartey,
I feel curious: did you got any warning or error on the log when you exported the package? Do you have SSL (https) on your web applications?
My best guess at this moment is that your spk package got all the information from the metadata, but not from the WebDAV, your SAS Content Server. And while the information of the report is stored on the metadata, the actual report is stored in the content server.
Therefore, if you made the export with a user that has no access to the SAS Content Server, your report could not be completely exported. In order you make a proper export you will require an appropiate user, as sasadm, sastrust or any other user with access to the SAS Content Server.
Of course, this is just my best guess. To give the proper answer we or SAS Technical Support would need to give a look to your spk package and/or your log from the export.
Hope it helps a bit!
Kind regards,
Juan
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
Need to connect to databases in SAS Viya? SAS’ David Ghan shows you two methods – via SAS/ACCESS LIBNAME and SAS Data Connector SASLIBS – in this video.
Find more tutorials on the SAS Users YouTube channel.