BookmarkSubscribeRSS Feed
GLartey
Calcite | Level 5

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.

2 REPLIES 2
JuanS_OCS
Amethyst | Level 16

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

GLartey
Calcite | Level 5
Hi Juan,
 
Thank you for the response, I did the export as sasadm. But guess what, I tried another alternative by writing the content of the report to an external file which I was able to open with Notepad. But my question is can this be migrated.
 
Thank you,
Graham.....

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

How to connect to databases in SAS Viya

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.

Discussion stats
  • 2 replies
  • 708 views
  • 0 likes
  • 2 in conversation