After upgrade from Jaspersoft 8.1.1 to Jaspersoft 9.0 started seeing the error on running any OOTB or custom reports in Clarity:
2025-01-10T11:39:25,493 ERROR GenericExceptionMapper,https-openssl-nio-8443-exec-2:89 [] - Unexpected error occured. null. Profile Level (PROFILE_LEVEL_ADMIN_USER) do not contain non-empty and valid mandatory attributes for DS. Pool will be destroyed.
java.lang.reflect.InvocationTargetException: null
at jdk.internal.reflect.GeneratedMethodAccessor985.invoke(Unknown Source) ~[?:?]
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
at java.base/java.lang.reflect.Method.invoke(Method.java:569) ~[?:?]
at com.jaspersoft.jasperserver.api.engine.jasperreports.service.impl.BeanReportDataSourceServiceFactory.createService(BeanReportDataSourceServiceFactory.java:94) ~[jasperserver-api-engine-impl-9.0.0.jar:?]
at jdk.internal.reflect.GeneratedMethodAccessor987.invoke(Unknown Source) ~[?:?]
[…….]
Caused by: com.jaspersoft.jasperserver.api.JSExceptionWrapper: Profile Level (PROFILE_LEVEL_ADMIN_USER) do not contain non-empty and valid mandatory attributes for DS. Pool will be destroyed.
at com.ca.jasper.jdbc.JaaSProxyJDBCPoolDataSourceFactory.createService(JaaSProxyJDBCPoolDataSourceFactory.java:457) ~[ca-jasper-extensions.jar:?]
at com.ca.jasper.jdbc.JaaSProxyJDBCPoolDataSourceFactory.createService(JaaSProxyJDBCPoolDataSourceFactory.java:162) ~[ca-jasper-extensions.jar:?]
... 278 more
Suppressed: org.apache.jasper.JasperException: Profile Level (PROFILE_LEVEL_ADMIN_USER) do not contain non-empty and valid mandatory attributes for DS. Pool will be destroyed.
at com.ca.jasper.jdbc.JaaSProxyJDBCPoolDataSourceFactory.createService(JaaSProxyJDBCPoolDataSourceFactory.java:290) ~[ca-jasper-extensions.jar:?]
at com.ca.jasper.jdbc.JaaSProxyJDBCPoolDataSourceFactory.createService(JaaSProxyJDBCPoolDataSourceFactory.java:162) ~[ca-jasper-extensions.jar:?]
After running the Clarity commands to reset user attributes syncPPMcontext and jasperparameters it starts working for some time and then the next day it stops working again
Jaspersoft 9.0