TDM Portal Startup log is full of Parameter value [\] did not match expected type [java.lang.String (n/a)]; nested exception
search cancel

TDM Portal Startup log is full of Parameter value [\] did not match expected type [java.lang.String (n/a)]; nested exception

book

Article ID: 244653

calendar_today

Updated On:

Products

CA Test Data Manager (Data Finder / Grid Tools)

Issue/Introduction

TDM portal 4.10.29.0 Startup log file was full of strange errors recently, after restarting the CA Test Data Manager Portal service and being used for a while.

FINEST|11708/0|22-06-15 14:18:32|org.springframework.dao.InvalidDataAccessApiUsageException: Parameter value [\] did not match expected type [java.lang.String (n/a)]; nested exception is java.lang.IllegalArgumentException: Parameter value [\] did not match expected type [java.lang.String (n/a)]
FINEST|11708/0|22-06-15 14:18:32| at org.springframework.orm.jpa.EntityManagerFactoryUtils.convertJpaAccessExceptionIfPossible(EntityManagerFactoryUtils.java:374)
FINEST|11708/0|22-06-15 14:18:32| at org.springframework.orm.jpa.vendor.HibernateJpaDialect.translateExceptionIfPossible(HibernateJpaDialect.java:235)
FINEST|11708/0|22-06-15 14:18:32| at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.translateExceptionIfPossible(AbstractEntityManagerFactoryBean.java:551)
FINEST|11708/0|22-06-15 14:18:32| at org.springframework.dao.support.ChainedPersistenceExceptionTranslator.translateExceptionIfPossible(ChainedPersistenceExceptionTranslator.java:61)
FINEST|11708/0|22-06-15 14:18:32| at org.springframework.dao.support.DataAccessUtils.translateIfNecessary(DataAccessUtils.java:242)
FINEST|11708/0|22-06-15 14:18:32| at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:152)
FINEST|11708/0|22-06-15 14:18:32| at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
FINEST|11708/0|22-06-15 14:18:32| at org.springframework.data.jpa.repository.support.CrudMethodMetadataPostProcessor$CrudMethodMetadataPopulatingMethodInterceptor.invoke(CrudMethodMetadataPostProcessor.java:145)
FINEST|11708/0|22-06-15 14:18:32| at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
FINEST|11708/0|22-06-15 14:18:32| at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97)
FINEST|11708/0|22-06-15 14:18:32| at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
FINEST|11708/0|22-06-15 14:18:32| at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:215)
FINEST|11708/0|22-06-15 14:18:32| at com.sun.proxy.$Proxy2170.findByNameStartingWith(Unknown Source)
FINEST|11708/0|22-06-15 14:18:32| at com.ca.tdm.security.ldap.LDAPConfigurationsRetriever.getLDAPConfigurations(LDAPConfigurationsRetriever.java:32)
FINEST|11708/0|22-06-15 14:18:32| at com.ca.tdm.security.LDAPConfigUtil.getLDAPConfigurations(LDAPConfigUtil.java:209)
FINEST|11708/0|22-06-15 14:18:32| at com.ca.tdm.security.LDAPConfigUtil.getLDAPConfigs(LDAPConfigUtil.java:94)
FINEST|11708/0|22-06-15 14:18:32| at com.ca.tdm.security.LDAPUtil.intializeContext(LDAPUtil.java:100)
FINEST|11708/0|22-06-15 14:18:32| at com.ca.tdm.security.LDAPUtil.getLDAPProperties(LDAPUtil.java:127)
FINEST|11708/0|22-06-15 14:18:32| at com.ca.tdm.security.service.SecurityUserService.getUserAccessibleFunctions(SecurityUserService.java:723)
FINEST|11708/0|22-06-15 14:18:32| at com.ca.tdm.security.service.SecurityUserService$$FastClassBySpringCGLIB$$e3c0f077.invoke(<generated>)

This error is also seen in the TDMPublish.log, the TDMJobEngine.log, the TDMGenerator.log, and the TDMDataReservation.log

Environment

Release : 4.10

Component : TDM Web Portal

Cause

This is an issue in Hibernate 5.6.8 which we are sourcing through Spring Boot 2.6.7 - see here: https://hibernate.atlassian.net/browse/HHH-15142.

It has been fixed in Hibernate 5.6.9 which is used by Spring Boot 2.6.8, therefore, Broadcom needs to upgrade the Spring Boot dependency for TDM Portal.

Resolution

This has been addressed in TDMWeb-4.10.43.0. Contact TDM Support and request the latest TDM Portal patch, or download the patch from https://support.broadcom.com/web/ecx/support-content-notification/-/external/content/release-announcements/Test-Data-Manager-TDM-Patches/16649#TDM4.10