thehyve / transmart-core

Core components and documentation of the tranSMART platform. https://i2b2transmart.org/
GNU General Public License v3.0
13 stars 13 forks source link

Study dimension elements endpoint fails #485

Closed gijskant closed 4 years ago

gijskant commented 4 years ago

The request POST https://transmart-dev.thehyve.net/v2/dimensions/study/elements (e.g., on the data table page of Glowing Bear) fails because of:

Jun 30 14:54:32 transmart-dev start[2465]: 2020-06-30 14:54:32.141  WARN --- [nio-8080-exec-8] o.h.engine.jdbc.spi.SqlExceptionHelper   : SQL Error: 0, SQLState: 42P01
Jun 30 14:54:32 transmart-dev start[2465]: 2020-06-30 14:54:32.142 ERROR --- [nio-8080-exec-8] o.h.engine.jdbc.spi.SqlExceptionHelper   : ERROR: relation "i2b2demodata.study_trial_visit_dimension" does not exist
Jun 30 14:54:32 transmart-dev start[2465]:   Position: 579
Jun 30 14:54:32 transmart-dev start[2465]: 2020-06-30 14:54:32.143  INFO --- [nio-8080-exec-8] o.t.rest.http.BusinessExceptionResolver  : Asked BusinessExceptionResolver to resolve exception from handler org.grails.web.mapping.mvc.GrailsControllerUrlMappingInfo@d353e7c
Jun 30 14:54:32 transmart-dev start[2465]: org.hibernate.exception.SQLGrammarException: could not extract ResultSet
Jun 30 14:54:32 transmart-dev start[2465]:         at org.hibernate.exception.internal.SQLStateConversionDelegate.convert(SQLStateConversionDelegate.java:106)
Jun 30 14:54:32 transmart-dev start[2465]:         at org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:42)
Jun 30 14:54:32 transmart-dev start[2465]:         at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:111)
Jun 30 14:54:32 transmart-dev start[2465]:         at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:97)
Jun 30 14:54:32 transmart-dev start[2465]:         at org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.extract(ResultSetReturnImpl.java:79)
Jun 30 14:54:32 transmart-dev start[2465]:         at org.hibernate.loader.Loader.getResultSet(Loader.java:2122)
Jun 30 14:54:32 transmart-dev start[2465]:         at org.hibernate.loader.Loader.executeQueryStatement(Loader.java:1905)
Jun 30 14:54:32 transmart-dev start[2465]:         at org.hibernate.loader.Loader.executeQueryStatement(Loader.java:1881)
Jun 30 14:54:32 transmart-dev start[2465]:         at org.hibernate.loader.Loader.scroll(Loader.java:2698)
Jun 30 14:54:32 transmart-dev start[2465]:         at org.hibernate.loader.criteria.CriteriaLoader.scroll(CriteriaLoader.java:104)
Jun 30 14:54:32 transmart-dev start[2465]:         at org.hibernate.internal.SessionImpl.scroll(SessionImpl.java:1740)
Jun 30 14:54:32 transmart-dev start[2465]:         at org.hibernate.internal.CriteriaImpl.scroll(CriteriaImpl.java:377)
Jun 30 14:54:32 transmart-dev start[2465]:         at org.transmartproject.db.clinical.AbstractDataResourceService.getIterable(AbstractDataResourceService.groovy:76)
Jun 30 14:54:32 transmart-dev start[2465]:         at org.transmartproject.db.clinical.MultidimensionalDataResourceService.getDimensionElements(MultidimensionalDataResourceService.groovy:317)
Jun 30 14:54:32 transmart-dev start[2465]:         at org.transmartproject.db.clinical.MultidimensionalDataResourceService.getDimensionElements(MultidimensionalDataResourceService.groovy)
Jun 30 14:54:32 transmart-dev start[2465]:         at org.transmartproject.core.multidimquery.MultiDimensionalDataResource$getDimensionElements.call(Unknown Source)
Jun 30 14:54:32 transmart-dev start[2465]:         at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47)
Jun 30 14:54:32 transmart-dev start[2465]:         at org.transmartproject.core.multidimquery.MultiDimensionalDataResource$getDimensionElements.call(Unknown Source)
Jun 30 14:54:32 transmart-dev start[2465]:         at org.transmartproject.rest.DimensionController.listElements(DimensionController.groovy:134)
Jun 30 14:54:32 transmart-dev start[2465]:         at org.transmartproject.rest.DimensionController.listElements(DimensionController.groovy)
Jun 30 14:54:32 transmart-dev start[2465]:         at org.grails.core.DefaultGrailsControllerClass$MethodHandleInvoker.invoke(DefaultGrailsControllerClass.java:223)
Jun 30 14:54:32 transmart-dev start[2465]:         at org.grails.core.DefaultGrailsControllerClass.invoke(DefaultGrailsControllerClass.java:188)
Jun 30 14:54:32 transmart-dev start[2465]:         at org.grails.web.mapping.mvc.UrlMappingsInfoHandlerAdapter.handle(UrlMappingsInfoHandlerAdapter.groovy:90)
Jun 30 14:54:32 transmart-dev start[2465]:         at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:967)
Jun 30 14:54:32 transmart-dev start[2465]:         at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:901)
Jun 30 14:54:32 transmart-dev start[2465]:         at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:970)
Jun 30 14:54:32 transmart-dev start[2465]:         at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:872)
Jun 30 14:54:32 transmart-dev start[2465]:         at javax.servlet.http.HttpServlet.service(HttpServlet.java:660)
Jun 30 14:54:32 transmart-dev start[2465]:         at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846)
Jun 30 14:54:32 transmart-dev start[2465]:         at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
Jun 30 14:54:32 transmart-dev start[2465]:         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
Jun 30 14:54:32 transmart-dev start[2465]:         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
Jun 30 14:54:32 transmart-dev start[2465]:         at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
Jun 30 14:54:32 transmart-dev start[2465]:         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
Jun 30 14:54:32 transmart-dev start[2465]:         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
Jun 30 14:54:32 transmart-dev start[2465]:         at org.springframework.boot.web.filter.ApplicationContextHeaderFilter.doFilterInternal(ApplicationContextHeaderFilter.java:54)
Jun 30 14:54:32 transmart-dev start[2465]:         at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
Jun 30 14:54:32 transmart-dev start[2465]:         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
Jun 30 14:54:32 transmart-dev start[2465]:         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
Jun 30 14:54:32 transmart-dev start[2465]:         at org.keycloak.adapters.springsecurity.filter.KeycloakAuthenticatedActionsFilter.doFilter(KeycloakAuthenticatedActionsFilter.java:57)
Jun 30 14:54:32 transmart-dev start[2465]:         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
Jun 30 14:54:32 transmart-dev start[2465]:         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
Jun 30 14:54:32 transmart-dev start[2465]:         at org.keycloak.adapters.springsecurity.filter.KeycloakSecurityContextRequestFilter.doFilter(KeycloakSecurityContextRequestFilter.java:61)
Jun 30 14:54:32 transmart-dev start[2465]:         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
Jun 30 14:54:32 transmart-dev start[2465]:         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
Jun 30 14:54:32 transmart-dev start[2465]:         at org.keycloak.adapters.springsecurity.filter.KeycloakPreAuthActionsFilter.doFilter(KeycloakPreAuthActionsFilter.java:96)
Jun 30 14:54:32 transmart-dev start[2465]:         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
Jun 30 14:54:32 transmart-dev start[2465]:         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
Jun 30 14:54:32 transmart-dev start[2465]:         at org.keycloak.adapters.springsecurity.filter.KeycloakAuthenticationProcessingFilter.successfulAuthentication(KeycloakAuthenticationProcessingFilter.java:214)
Jun 30 14:54:32 transmart-dev start[2465]:         at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:240)
Jun 30 14:54:32 transmart-dev start[2465]:         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
Jun 30 14:54:32 transmart-dev start[2465]:         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
Jun 30 14:54:32 transmart-dev start[2465]:         at org.springframework.boot.actuate.trace.WebRequestTraceFilter.doFilterInternal(WebRequestTraceFilter.java:111)
Jun 30 14:54:32 transmart-dev start[2465]:         at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
Jun 30 14:54:32 transmart-dev start[2465]:         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
Jun 30 14:54:32 transmart-dev start[2465]:         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
Jun 30 14:54:32 transmart-dev start[2465]:         at org.grails.web.servlet.mvc.GrailsWebRequestFilter.doFilterInternal(GrailsWebRequestFilter.java:77)
Jun 30 14:54:32 transmart-dev start[2465]:         at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
Jun 30 14:54:32 transmart-dev start[2465]:         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
Jun 30 14:54:32 transmart-dev start[2465]:         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
Jun 30 14:54:32 transmart-dev start[2465]:         at org.grails.web.filters.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:67)
Jun 30 14:54:32 transmart-dev start[2465]:         at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
Jun 30 14:54:32 transmart-dev start[2465]:         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
Jun 30 14:54:32 transmart-dev start[2465]:         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
Jun 30 14:54:32 transmart-dev start[2465]:         at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:197)
Jun 30 14:54:32 transmart-dev start[2465]:         at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
Jun 30 14:54:32 transmart-dev start[2465]:         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
Jun 30 14:54:32 transmart-dev start[2465]:         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
Jun 30 14:54:32 transmart-dev start[2465]:         at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:317)
Jun 30 14:54:32 transmart-dev start[2465]:         at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:127)
Jun 30 14:54:32 transmart-dev start[2465]:         at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:91)
Jun 30 14:54:32 transmart-dev start[2465]:         at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
Jun 30 14:54:32 transmart-dev start[2465]:         at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:114)
Jun 30 14:54:32 transmart-dev start[2465]:         at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
Jun 30 14:54:32 transmart-dev start[2465]:         at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:137)
Jun 30 14:54:32 transmart-dev start[2465]:         at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
Jun 30 14:54:32 transmart-dev start[2465]:         at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:111)
Jun 30 14:54:32 transmart-dev start[2465]:         at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
Jun 30 14:54:32 transmart-dev start[2465]:         at org.keycloak.adapters.springsecurity.filter.KeycloakAuthenticatedActionsFilter.doFilter(KeycloakAuthenticatedActionsFilter.java:74)
Jun 30 14:54:32 transmart-dev start[2465]:         at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
Jun 30 14:54:32 transmart-dev start[2465]:         at org.keycloak.adapters.springsecurity.filter.KeycloakSecurityContextRequestFilter.doFilter(KeycloakSecurityContextRequestFilter.java:92)
Jun 30 14:54:32 transmart-dev start[2465]:         at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
Jun 30 14:54:32 transmart-dev start[2465]:         at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:170)
Jun 30 14:54:32 transmart-dev start[2465]:         at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
Jun 30 14:54:32 transmart-dev start[2465]:         at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63)
Jun 30 14:54:32 transmart-dev start[2465]:         at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
Jun 30 14:54:32 transmart-dev start[2465]:         at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:116)
Jun 30 14:54:32 transmart-dev start[2465]:         at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
Jun 30 14:54:32 transmart-dev start[2465]:         at org.keycloak.adapters.springsecurity.filter.KeycloakAuthenticationProcessingFilter.successfulAuthentication(KeycloakAuthenticationProcessingFilter.java:214)
Jun 30 14:54:32 transmart-dev start[2465]:         at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:240)
Jun 30 14:54:32 transmart-dev start[2465]:         at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
Jun 30 14:54:32 transmart-dev start[2465]:         at org.keycloak.adapters.springsecurity.filter.KeycloakPreAuthActionsFilter.doFilter(KeycloakPreAuthActionsFilter.java:96)
Jun 30 14:54:32 transmart-dev start[2465]:         at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
Jun 30 14:54:32 transmart-dev start[2465]:         at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:66)
Jun 30 14:54:32 transmart-dev start[2465]:         at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
Jun 30 14:54:32 transmart-dev start[2465]:         at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
Jun 30 14:54:32 transmart-dev start[2465]:         at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:105)
Jun 30 14:54:32 transmart-dev start[2465]:         at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
Jun 30 14:54:32 transmart-dev start[2465]:         at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:56)
Jun 30 14:54:32 transmart-dev start[2465]:         at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
Jun 30 14:54:32 transmart-dev start[2465]:         at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
Jun 30 14:54:32 transmart-dev start[2465]:         at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:214)
Jun 30 14:54:32 transmart-dev start[2465]:         at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:177)
Jun 30 14:54:32 transmart-dev start[2465]:         at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:347)
Jun 30 14:54:32 transmart-dev start[2465]:         at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:263)
Jun 30 14:54:32 transmart-dev start[2465]:         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
Jun 30 14:54:32 transmart-dev start[2465]:         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
Jun 30 14:54:32 transmart-dev start[2465]:         at org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:96)
Jun 30 14:54:32 transmart-dev start[2465]:         at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
Jun 30 14:54:32 transmart-dev start[2465]:         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
Jun 30 14:54:32 transmart-dev start[2465]:         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
Jun 30 14:54:32 transmart-dev start[2465]:         at org.springframework.boot.actuate.autoconfigure.MetricsFilter.doFilterInternal(MetricsFilter.java:100)
Jun 30 14:54:32 transmart-dev start[2465]:         at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
Jun 30 14:54:32 transmart-dev start[2465]:         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
Jun 30 14:54:32 transmart-dev start[2465]:         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
Jun 30 14:54:32 transmart-dev start[2465]:         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199)
Jun 30 14:54:32 transmart-dev start[2465]:         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
Jun 30 14:54:32 transmart-dev start[2465]:         at org.keycloak.adapters.tomcat.AbstractAuthenticatedActionsValve.invoke(AbstractAuthenticatedActionsValve.java:67)
Jun 30 14:54:32 transmart-dev start[2465]:         at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:543)
Jun 30 14:54:32 transmart-dev start[2465]:         at org.keycloak.adapters.tomcat.AbstractKeycloakAuthenticatorValve.invoke(AbstractKeycloakAuthenticatorValve.java:181)
Jun 30 14:54:32 transmart-dev start[2465]:         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139)
Jun 30 14:54:32 transmart-dev start[2465]:         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)
Jun 30 14:54:32 transmart-dev start[2465]:         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
Jun 30 14:54:32 transmart-dev start[2465]:         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
Jun 30 14:54:32 transmart-dev start[2465]:         at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:615)
Jun 30 14:54:32 transmart-dev start[2465]:         at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
Jun 30 14:54:32 transmart-dev start[2465]:         at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:818)
Jun 30 14:54:32 transmart-dev start[2465]:         at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1627)
Jun 30 14:54:32 transmart-dev start[2465]:         at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
Jun 30 14:54:32 transmart-dev start[2465]:         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
Jun 30 14:54:32 transmart-dev start[2465]:         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
Jun 30 14:54:32 transmart-dev start[2465]:         at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
Jun 30 14:54:32 transmart-dev start[2465]:         at java.lang.Thread.run(Thread.java:748)
Jun 30 14:54:32 transmart-dev start[2465]: Caused by: org.postgresql.util.PSQLException: ERROR: relation "i2b2demodata.study_trial_visit_dimension" does not exist
Jun 30 14:54:32 transmart-dev start[2465]:   Position: 579
Jun 30 14:54:32 transmart-dev start[2465]:         at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2532)
Jun 30 14:54:32 transmart-dev start[2465]:         at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2267)
Jun 30 14:54:32 transmart-dev start[2465]:         at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:312)
Jun 30 14:54:32 transmart-dev start[2465]:         at org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:448)
Jun 30 14:54:32 transmart-dev start[2465]:         at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:369)
Jun 30 14:54:32 transmart-dev start[2465]:         at org.postgresql.jdbc.PgPreparedStatement.executeWithFlags(PgPreparedStatement.java:153)
Jun 30 14:54:32 transmart-dev start[2465]:         at org.postgresql.jdbc.PgPreparedStatement.executeQuery(PgPreparedStatement.java:103)
Jun 30 14:54:32 transmart-dev start[2465]:         at com.zaxxer.hikari.pool.ProxyPreparedStatement.executeQuery(ProxyPreparedStatement.java:52)
Jun 30 14:54:32 transmart-dev start[2465]:         at com.zaxxer.hikari.pool.HikariProxyPreparedStatement.executeQuery(HikariProxyPreparedStatement.java)
Jun 30 14:54:32 transmart-dev start[2465]:         at org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.extract(ResultSetReturnImpl.java:70)
Jun 30 14:54:32 transmart-dev start[2465]:         ... 128 common frames omitted
Jun 30 14:54:32 transmart-dev start[2465]: 2020-06-30 14:54:32.163 TRACE --- [nio-8080-exec-8] o.t.db.log.AccessLogService              : {"username":"xxxxxxxx","event":"error","eventMessage":"{\"ip\":\"xxxxxxx\",\"action\":\"index\",\"duration\":39,\"status\":500,\"message\":\"could not extract ResultSet\",\"body\":{\"constraint\":{\"type\":\"true\"}}}","requestURL":"/v2/dimensions/study/elements","accessTime":"2020-06-30T14:54:32"}