Skip to content

Data too long for column 'sanatized_term' #2342

@alegauss

Description

@alegauss

Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed: org.springframework.dao.InvalidDataAccessResourceUsageException: could not execute statement [(conn=71924) Data too long for column 'sanatized_term' at row 1] [insert into sn_site_metric_access (access_date,language,num_found,sanatized_term,term,sn_site_id,user_id,id) values (?,?,?,?,?,?,?,?)]; SQL [insert into sn_site_metric_access (access_date,language,num_found,sanatized_term,term,sn_site_id,user_id,id) values (?,?,?,?,?,?,?,?)]] with root cause
java.sql.SQLSyntaxErrorException: (conn=71924) Data too long for column 'sanatized_term' at row 1
at org.mariadb.jdbc.export.ExceptionFactory.createException(ExceptionFactory.java:289)
...
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)
at org.springframework.data.jpa.repository.support.CrudMethodMetadataPostProcessor$CrudMethodMetadataPopulatingMethodInterceptor.invoke(CrudMethodMetadataPostProcessor.java:165)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:223)
at jdk.proxy2/jdk.proxy2.$Proxy254.save(Unknown Source)
at com.viglet.turing.sn.TurSNSearchProcess.populateMetrics(TurSNSearchProcess.java:313)
at com.viglet.turing.sn.TurSNSearchProcess.lambda$searchResponse$6(TurSNSearchProcess.java:223)
at java.base/java.util.Optional.map(Optional.java:260)

Metadata

Metadata

Assignees

Labels

javaPull requests that update Java codemediumComplexity - Mediumturing-serverTuring Server

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions