---
# System prepended metadata

title: Untitled

---

```
{"error":"Unexpected Error","code":500,"message":"nested exception is org.apache.ibatis.exceptions.PersistenceException: \n### Error querying database.  Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection; nested exception is java.sql.SQLTransientConnectionException: HikariPool-1 - Connection is not available, request timed out after 30199ms.\n### The error may exist in tokyo/t_alien/attendance_manager/infrastructure/database/mapper/UserMapper.java (best guess)\n### The error may involve tokyo.t_alien.attendance_manager.infrastructure.database.mapper.UserMapper.selectOne\n### The error occurred while executing a query\n### Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection; nested exception is java.sql.SQLTransientConnectionException: HikariPool-1 - Connection is not available, request timed out after 30199ms.","displayMessage":"不明なエラーが発生しました。","detail":[{"classLoaderName":null,"moduleName":null,"moduleVersion":null,"methodName":"translateExceptionIfPossible","fileName":"MyBatisExceptionTranslator.java","lineNumber":96,"className":"org.mybatis.spring.MyBatisExceptionTranslator","nativeMethod":false},{"classLoaderName":null,"moduleName":null,"moduleVersion":null,"methodName":"invoke","fileName":"SqlSessionTemplate.java","lineNumber":441,"className":"org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor","nativeMethod":false},{"classLoaderName":null,"moduleName":null,"moduleVersion":null,"methodName":"selectOne","fileName":null,"lineNumber":-1,"className":"com.sun.proxy.$Proxy85","nativeMethod":false},{"classLoaderName":null,"moduleName":null,"moduleVersion":null,"methodName":"selectOne","fileName":"SqlSessionTemplate.java","lineNumber":160,"className":"org.mybatis.spring.SqlSessionTemplate","nativeMethod":false},{"classLoaderName":null,"moduleName":null,"moduleVersion":null,"methodName":"execute","fileName":"MapperMethod.java","lineNumber":87,"className":"org.apache.ibatis.binding.MapperMethod","nativeMethod":false},{"classLoaderName":null,"moduleName":null,"moduleVersion":null,"methodName":"invoke","fileName":"MapperProxy.java","lineNumber":145,"className":"org.apache.ibatis.binding.MapperProxy$PlainMethodInvoker","nativeMethod":false},{"classLoaderName":null,"moduleName":null,"moduleVersion":null,"methodName":"invoke","fileName":"MapperProxy.java","lineNumber":86,"className":"org.apache.ibatis.binding.MapperProxy","nativeMethod":false},{"classLoaderName":null,"moduleName":null,"moduleVersion":null,"methodName":"selectOne","fileName":null,"lineNumber":-1,"className":"com.sun.proxy.$Proxy97","nativeMethod":false},{"classLoaderName":null,"moduleName":null,"moduleVersion":null,"methodName":"invoke","fileName":"UserMapperExtensions.kt","lineNumber":78,"className":"tokyo.t_alien.attendance_manager.infrastructure.database.mapper.UserMapperExtensionsKt$selectOne$1","nativeMethod":false},{"classLoaderName":null,"moduleName":null,"moduleVersion":null,"methodName":"invoke","fileName":"UserMapperExtensions.kt","lineNumber":78,"className":"tokyo.t_alien.attendance_manager.infrastructure.database.mapper.UserMapperExtensionsKt$selectOne$1","nativeMethod":false},{"classLoaderName":null,"moduleName":null,"moduleVersion":null,"methodName":"selectOne","fileName":"MapperSupportFunctions.kt","lineNumber":98,"className":"org.mybatis.dynamic.sql.util.kotlin.mybatis3.MapperSupportFunctionsKt","nativeMethod":false},{"classLoaderName":null,"moduleName":null,"moduleVersion":null,"methodName":"selectOne","fileName":"UserMapperExtensions.kt","lineNumber":78,"className":"tokyo.t_alien.attendance_manager.infrastructure.database.mapper.UserMapperExtensionsKt","nativeMethod":false},{"classLoaderName":null,"moduleName":null,"moduleVersion":null,"methodName":"selectByUidNotDeleted","fileName":"UserMapperExtensionsAdditional.kt","lineNumber":18,"className":"tokyo.t_alien.attendance_manager.infrastructure.database.mapper.UserMapperExtensionsAdditionalKt","nativeMethod":false},{"classLoaderName":null,"moduleName":null,"moduleVersion":null,"methodName":"getByUid","fileName":"UserRepositoryImpl.kt","lineNumber":21,"className":"tokyo.t_alien.attendance_manager.infrastructure.repository.UserRepositoryImpl","nativeMethod":false},{"classLoaderName":null,"moduleName":null,"moduleVersion":null,"methodName":"invoke","fileName":"<generated>","lineNumber":-1,"className":"tokyo.t_alien.attendance_manager.infrastructure.repository.UserRepositoryImpl$$FastClassBySpringCGLIB$$c6a33b6b","nativeMethod":false},{"classLoaderName":null,"moduleName":null,"moduleVersion":null,"methodName":"invoke","fileName":"MethodProxy.java","lineNumber":218,"className":"org.springframework.cglib.proxy.MethodProxy","nativeMethod":false},{"classLoaderName":null,"moduleName":null,"moduleVersion":null,"methodName":"invokeJoinpoint","fileName":"CglibAopProxy.java","lineNumber":793,"className":"org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation","nativeMethod":false},{"classLoaderName":null,"moduleName":null,"moduleVersion":null,"methodName":"proceed","fileName":"ReflectiveMethodInvocation.java","lineNumber":163,"className":"org.springframework.aop.framework.ReflectiveMethodInvocation","nativeMethod":false},{"classLoaderName":null,"moduleName":null,"moduleVersion":null,"methodName":"proceed","fileName":"CglibAopProxy.java","lineNumber":763,"className":"org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation","nativeMethod":false},{"classLoaderName":null,"moduleName":null,"moduleVersion":null,"methodName":"invoke","fileName":"PersistenceExceptionTranslationInterceptor.java","lineNumber":137,"className":"org.springframework.dao.support.PersistenceExceptionTranslationInterceptor","nativeMethod":false},{"classLoaderName":null,"moduleName":null,"moduleVersion":null,"methodName":"proceed","fileName":"ReflectiveMethodInvocation.java","lineNumber":186,"className":"org.springframework.aop.framework.ReflectiveMethodInvocation","nativeMethod":false},{"classLoaderName":null,"moduleName":null,"moduleVersion":null,"methodName":"proceed","fileName":"CglibAopProxy.java","lineNumber":763,"className":"org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation","nativeMethod":false},{"classLoaderName":null,"moduleName":null,"moduleVersion":null,"methodName":"intercept","fileName":"CglibAopProxy.java","lineNumber":708,"className":"org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor","nativeMethod":false},{"classLoaderName":null,"moduleName":null,"moduleVersion":null,"methodName":"getByUid","fileName":"<generated>","lineNumber":-1,"className":"tokyo.t_alien.attendance_manager.infrastructure.repository.UserRepositoryImpl$$EnhancerBySpringCGLIB$$91066b","nativeMethod":false},{"classLoaderName":null,"moduleName":null,"moduleVersion":null,"methodName":"getByUid","fileName":"UserService.kt","lineNumber":33,"className":"tokyo.t_alien.attendance_manager.application.service.UserService","nativeMethod":false},{"classLoaderName":null,"moduleName":null,"moduleVersion":null,"methodName":"loadUserDetails","fileName":"CustomAuthenticationComponents.kt","lineNumber":47,"className":"tokyo.t_alien.attendance_manager.application.security.CustomUserDetailsService","nativeMethod":false},{"classLoaderName":null,"moduleName":null,"moduleVersion":null,"methodName":"loadUserDetails","fileName":"CustomAuthenticationComponents.kt","lineNumber":24,"className":"tokyo.t_alien.attendance_manager.application.security.CustomUserDetailsService","nativeMethod":false},{"classLoaderName":null,"moduleName":null,"moduleVersion":null,"methodName":"authenticate","fileName":"PreAuthenticatedAuthenticationProvider.java","lineNumber":97,"className":"org.springframework.security.web.authentication.preauth.PreAuthenticatedAuthenticationProvider","nativeMethod":false},{"classLoaderName":null,"moduleName":null,"moduleVersion":null,"methodName":"authenticate","fileName":"ProviderManager.java","lineNumber":182,"className":"org.springframework.security.authentication.ProviderManager","nativeMethod":false},{"classLoaderName":null,"moduleName":null,"moduleVersion":null,"methodName":"doAuthenticate","fileName":"AbstractPreAuthenticatedProcessingFilter.java","lineNumber":196,"className":"org.springframework.security.web.authentication.preauth.AbstractPreAuthenticatedProcessingFilter","nativeMethod":false},{"classLoaderName":null,"moduleName":null,"moduleVersion":null,"methodName":"doFilter","fileName":"AbstractPreAuthenticatedProcessingFilter.java","lineNumber":138,"className":"org.springframework.security.web.authentication.preauth.AbstractPreAuthenticatedProcessingFilter","nativeMethod":false},{"classLoaderName":null,"moduleName":null,"moduleVersion":null,"methodName":"doFilter","fileName":"FilterChainProxy.java","lineNumber":346,"className":"org.springframework.security.web.FilterChainProxy$VirtualFilterChain","nativeMethod":false},{"classLoaderName":null,"moduleName":null,"moduleVersion":null,"methodName":"doFilter","fileName":"LogoutFilter.java","lineNumber":103,"className":"org.springframework.security.web.authentication.logout.LogoutFilter","nativeMethod":false},{"classLoaderName":null,"moduleName":null,"moduleVersion":null,"methodName":"doFilter","fileName":"LogoutFilter.java","lineNumber":89,"className":"org.springframework.security.web.authentication.logout.LogoutFilter","nativeMethod":false},{"classLoaderName":null,"moduleName":null,"moduleVersion":null,"methodName":"doFilter","fileName":"FilterChainProxy.java","lineNumber":346,"className":"org.springframework.security.web.FilterChainProxy$VirtualFilterChain","nativeMethod":false},{"classLoaderName":null,"moduleName":null,"moduleVersion":null,"methodName":"doFilterInternal","fileName":"CorsFilter.java","lineNumber":91,"className":"org.springframework.web.filter.CorsFilter","nativeMethod":false},{"classLoaderName":null,"moduleName":null,"moduleVersion":null,"methodName":"doFilter","fileName":"OncePerRequestFilter.java","lineNumber":117,"className":"org.springframework.web.filter.OncePerRequestFilter","nativeMethod":false},{"classLoaderName":null,"moduleName":null,"moduleVersion":null,"methodName":"doFilter","fileName":"FilterChainProxy.java","lineNumber":346,"className":"org.springframework.security.web.FilterChainProxy$VirtualFilterChain","nativeMethod":false},{"classLoaderName":null,"moduleName":null,"moduleVersion":null,"methodName":"doHeadersAfter","fileName":"HeaderWriterFilter.java","lineNumber":90,"className":"org.springframework.security.web.header.HeaderWriterFilter","nativeMethod":false},{"classLoaderName":null,"moduleName":null,"moduleVersion":null,"methodName":"doFilterInternal","fileName":"HeaderWriterFilter.java","lineNumber":75,"className":"org.springframework.security.web.header.HeaderWriterFilter","nativeMethod":false},{"classLoaderName":null,"moduleName":null,"moduleVersion":null,"methodName":"doFilter","fileName":"OncePerRequestFilter.java","lineNumber":117,"className":"org.springframework.web.filter.OncePerRequestFilter","nativeMethod":false},{"classLoaderName":null,"moduleName":null,"moduleVersion":null,"methodName":"doFilter","fileName":"FilterChainProxy.java","lineNumber":346,"className":"org.springframework.security.web.FilterChainProxy$VirtualFilterChain","nativeMethod":false},{"classLoaderName":null,"moduleName":null,"moduleVersion":null,"methodName":"doFilter","fileName":"SecurityContextPersistenceFilter.java","lineNumber":112,"className":"org.springframework.security.web.context.SecurityContextPersistenceFilter","nativeMethod":false},{"classLoaderName":null,"moduleName":null,"moduleVersion":null,"methodName":"doFilter","fileName":"SecurityContextPersistenceFilter.java","lineNumber":82,"className":"org.springframework.security.web.context.SecurityContextPersistenceFilter","nativeMethod":false},{"classLoaderName":null,"moduleName":null,"moduleVersion":null,"methodName":"doFilter","fileName":"FilterChainProxy.java","lineNumber":346,"className":"org.springframework.security.web.FilterChainProxy$VirtualFilterChain","nativeMethod":false},{"classLoaderName":null,"moduleName":null,"moduleVersion":null,"methodName":"doFilterInternal","fileName":"WebAsyncManagerIntegrationFilter.java","lineNumber":55,"className":"org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter","nativeMethod":false},{"classLoaderName":null,"moduleName":null,"moduleVersion":null,"methodName":"doFilter","fileName":"OncePerRequestFilter.java","lineNumber":117,"className":"org.springframework.web.filter.OncePerRequestFilter","nativeMethod":false},{"classLoaderName":null,"moduleName":null,"moduleVersion":null,"methodName":"doFilter","fileName":"FilterChainProxy.java","lineNumber":346,"className":"org.springframework.security.web.FilterChainProxy$VirtualFilterChain","nativeMethod":false},{"classLoaderName":null,"moduleName":null,"moduleVersion":null,"methodName":"doFilterInternal","fileName":"DisableEncodeUrlFilter.java","lineNumber":42,"className":"org.springframework.security.web.session.DisableEncodeUrlFilter","nativeMethod":false},{"classLoaderName":null,"moduleName":null,"moduleVersion":null,"methodName":"doFilter","fileName":"OncePerRequestFilter.java","lineNumber":117,"className":"org.springframework.web.filter.OncePerRequestFilter","nativeMethod":false},{"classLoaderName":null,"moduleName":null,"moduleVersion":null,"methodName":"doFilter","fileName":"FilterChainProxy.java","lineNumber":346,"className":"org.springframework.security.web.FilterChainProxy$VirtualFilterChain","nativeMethod":false},{"classLoaderName":null,"moduleName":null,"moduleVersion":null,"methodName":"doFilterInternal","fileName":"FilterChainProxy.java","lineNumber":221,"className":"org.springframework.security.web.FilterChainProxy","nativeMethod":false},{"classLoaderName":null,"moduleName":null,"moduleVersion":null,"methodName":"doFilter","fileName":"FilterChainProxy.java","lineNumber":186,"className":"org.springframework.security.web.FilterChainProxy","nativeMethod":false},{"classLoaderName":null,"moduleName":null,"moduleVersion":null,"methodName":"invokeDelegate","fileName":"DelegatingFilterProxy.java","lineNumber":354,"className":"org.springframework.web.filter.DelegatingFilterProxy","nativeMethod":false},{"classLoaderName":null,"moduleName":null,"moduleVersion":null,"methodName":"doFilter","fileName":"DelegatingFilterProxy.java","lineNumber":267,"className":"org.springframework.web.filter.DelegatingFilterProxy","nativeMethod":false},{"classLoaderName":null,"moduleName":null,"moduleVersion":null,"methodName":"internalDoFilter","fileName":"ApplicationFilterChain.java","lineNumber":189,"className":"org.apache.catalina.core.ApplicationFilterChain","nativeMethod":false},{"classLoaderName":null,"moduleName":null,"moduleVersion":null,"methodName":"doFilter","fileName":"ApplicationFilterChain.java","lineNumber":162,"className":"org.apache.catalina.core.ApplicationFilterChain","nativeMethod":false},{"classLoaderName":null,"moduleName":null,"moduleVersion":null,"methodName":"doFilterInternal","fileName":"SessionRepositoryFilter.java","lineNumber":142,"className":"org.springframework.session.web.http.SessionRepositoryFilter","nativeMethod":false},{"classLoaderName":null,"moduleName":null,"moduleVersion":null,"methodName":"doFilter","fileName":"OncePerRequestFilter.java","lineNumber":82,"className":"org.springframework.session.web.http.OncePerRequestFilter","nativeMethod":false},{"classLoaderName":null,"moduleName":null,"moduleVersion":null,"methodName":"internalDoFilter","fileName":"ApplicationFilterChain.java","lineNumber":189,"className":"org.apache.catalina.core.ApplicationFilterChain","nativeMethod":false},{"classLoaderName":null,"moduleName":null,"moduleVersion":null,"methodName":"doFilter","fileName":"ApplicationFilterChain.java","lineNumber":162,"className":"org.apache.catalina.core.ApplicationFilterChain","nativeMethod":false},{"classLoaderName":null,"moduleName":null,"moduleVersion":null,"methodName":"doFilterInternal","fileName":"CharacterEncodingFilter.java","lineNumber":201,"className":"org.springframework.web.filter.CharacterEncodingFilter","nativeMethod":false},{"classLoaderName":null,"moduleName":null,"moduleVersion":null,"methodName":"doFilter","fileName":"OncePerRequestFilter.java","lineNumber":117,"className":"org.springframework.web.filter.OncePerRequestFilter","nativeMethod":false},{"classLoaderName":null,"moduleName":null,"moduleVersion":null,"methodName":"internalDoFilter","fileName":"ApplicationFilterChain.java","lineNumber":189,"className":"org.apache.catalina.core.ApplicationFilterChain","nativeMethod":false},{"classLoaderName":null,"moduleName":null,"moduleVersion":null,"methodName":"doFilter","fileName":"ApplicationFilterChain.java","lineNumber":162,"className":"org.apache.catalina.core.ApplicationFilterChain","nativeMethod":false},{"classLoaderName":null,"moduleName":null,"moduleVersion":null,"methodName":"invoke","fileName":"StandardWrapperValve.java","lineNumber":197,"className":"org.apache.catalina.core.StandardWrapperValve","nativeMethod":false},{"classLoaderName":null,"moduleName":null,"moduleVersion":null,"methodName":"invoke","fileName":"StandardContextValve.java","lineNumber":97,"className":"org.apache.catalina.core.StandardContextValve","nativeMethod":false},{"classLoaderName":null,"moduleName":null,"moduleVersion":null,"methodName":"invoke","fileName":"AuthenticatorBase.java","lineNumber":541,"className":"org.apache.catalina.authenticator.AuthenticatorBase","nativeMethod":false},{"classLoaderName":null,"moduleName":null,"moduleVersion":null,"methodName":"invoke","fileName":"StandardHostValve.java","lineNumber":135,"className":"org.apache.catalina.core.StandardHostValve","nativeMethod":false},{"classLoaderName":null,"moduleName":null,"moduleVersion":null,"methodName":"invoke","fileName":"ErrorReportValve.java","lineNumber":92,"className":"org.apache.catalina.valves.ErrorReportValve","nativeMethod":false},{"classLoaderName":null,"moduleName":null,"moduleVersion":null,"methodName":"invoke","fileName":"StandardEngineValve.java","lineNumber":78,"className":"org.apache.catalina.core.StandardEngineValve","nativeMethod":false},{"classLoaderName":null,"moduleName":null,"moduleVersion":null,"methodName":"service","fileName":"CoyoteAdapter.java","lineNumber":360,"className":"org.apache.catalina.connector.CoyoteAdapter","nativeMethod":false},{"classLoaderName":null,"moduleName":null,"moduleVersion":null,"methodName":"service","fileName":"Http11Processor.java","lineNumber":399,"className":"org.apache.coyote.http11.Http11Processor","nativeMethod":false},{"classLoaderName":null,"moduleName":null,"moduleVersion":null,"methodName":"process","fileName":"AbstractProcessorLight.java","lineNumber":65,"className":"org.apache.coyote.AbstractProcessorLight","nativeMethod":false},{"classLoaderName":null,"moduleName":null,"moduleVersion":null,"methodName":"process","fileName":"AbstractProtocol.java","lineNumber":890,"className":"org.apache.coyote.AbstractProtocol$ConnectionHandler","nativeMethod":false},{"classLoaderName":null,"moduleName":null,"moduleVersion":null,"methodName":"doRun","fileName":"NioEndpoint.java","lineNumber":1789,"className":"org.apache.tomcat.util.net.NioEndpoint$SocketProcessor","nativeMethod":false},{"classLoaderName":null,"moduleName":null,"moduleVersion":null,"methodName":"run","fileName":"SocketProcessorBase.java","lineNumber":49,"className":"org.apache.tomcat.util.net.SocketProcessorBase","nativeMethod":false},{"classLoaderName":null,"moduleName":null,"moduleVersion":null,"methodName":"runWorker","fileName":"ThreadPoolExecutor.java","lineNumber":1191,"className":"org.apache.tomcat.util.threads.ThreadPoolExecutor","nativeMethod":false},{"classLoaderName":null,"moduleName":null,"moduleVersion":null,"methodName":"run","fileName":"ThreadPoolExecutor.java","lineNumber":659,"className":"org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker","nativeMethod":false},{"classLoaderName":null,"moduleName":null,"moduleVersion":null,"methodName":"run","fileName":"TaskThread.java","lineNumber":61,"className":"org.apache.tomcat.util.threads.TaskThread$WrappingRunnable","nativeMethod":false},{"classLoaderName":null,"moduleName":"java.base","moduleVersion":"11.0.16","methodName":"run","fileName":"Thread.java","lineNumber":829,"className":"java.lang.Thread","nativeMethod":false}]}
```