SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 69894: Promoting a SAS® Visual Analytics report from SAS® 9.4 to SAS® Viya® fails with "exception: java.lang.RuntimeException"

DetailsHotfixAboutRate It

When you import a SAS®9 package that contains a report to SAS Viya, the import might fail with the error, "No transfer objects were successfully imported. exception: java.lang.RuntimeException."

In the reportservicesgroup microservice log, errors similar to the following occur:

Invoked PortableLibraryInitializer static block
2023-02-12 03:19:07.183 ERROR 17094 — [      Thread-53] c.s.b.u.i.r.V.PortableLibraryInitializer : service [PORTABLE_LIBRARY_NO_CLASS_DEF_FOUND_ERROR] A NoClassDefFoundError occurred loading the Portable Library.
java.lang.NoClassDefFoundError: com/sas/portable/commons/util/LibraryLoader
Caused by: java.lang.ClassNotFoundException: com.sas.portable.commons.util.LibraryLoader
2023-02-12 03:19:07.184  INFO 17094 — [    bootstrap-8] c.s.c.bootstrap.ConfigurationLoader      : service [CONFIGURATION_BOOTSTRAP_HTTPSTATUS] [HTTPMethod=POST][endPoint=/configuration/definitions][HTTPStatus=201 CREATED]
2023-02-12 03:19:07.191 ERROR 17094 — [      Thread-53] c.s.b.u.i.r.V.PortableLibraryInitializer : service [PORTABLE_LIBRARY_LOAD_FAILURE] The Portable Libraries failed to load due to exception: The Portable Library jars are missing from the microservice classpath.
java.lang.IllegalStateException: The Portable Library jars are missing from the microservice classpath.
Finished invoking PortableLibraryInitializer static block
2023-02-12 03:19:07.193 ERROR 17094 — [      Thread-53] c.s.r.a.e.evaluation.EvaluationIterator  : service [service.portable.load.failure.msg] The portable libraries could not be loaded.
The Portable Library failed to load. The Portable Library jars are missing from the microservice classpath.
2023-02-14 07:06:15.242 DEBUG 17094 — [-auto-1-exec-10:reports] c.s.r.p.t.V9PromotionDeserializer        : fraand(488cc7b8-10b2-4db6-aa57-ece727d3bfc0) Report conversion results for Relatorio Catastrofes. Status: failure, Internal messages: [The Portable Library failed to load. The Portable Library jars are missing from the microservice classpath.], User messages: [Conversion was not successful]

Click the Hot Fix tab in this note for a link to instructions about accessing and applying the software update.



Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS Visual Analytics (on SAS Viya 3.x)Microsoft® Windows® for x648.5.2Viya
Linux for x648.5.2Viya
Cloud Foundry8.5.2Viya
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.