Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dbptk enterprise - validation problems #464

Open
Laurira opened this issue Jan 16, 2025 · 8 comments
Open

dbptk enterprise - validation problems #464

Laurira opened this issue Jan 16, 2025 · 8 comments

Comments

@Laurira
Copy link

Laurira commented Jan 16, 2025

I have siard file that can be validated successfully in DBPTK Desktop.

When I try the same file in the DBPTK Enterprise then i get
image

No errors in the logs just this message on my screen.

@SugaryLump
Copy link

SugaryLump commented Jan 20, 2025

in DBTPK Enterprise, when exactly is this error shown? Is it mid validation, or right as you press the button, for example?
Could you also please provide the logs for the Enterprise version, even if they don't show any errors?

EDIT: Additionally, what versions of DBPTK are you using in both cases?

@Laurira
Copy link
Author

Laurira commented Jan 21, 2025

It is right after I click the button that starts the validation. I can not reproduce it very easily as the validation process just keeps going after I click the error away... So for example this picture has been present for a week now.

Image

I will try to get you the logs, where are they exactly in the docker installation?

@Laurira
Copy link
Author

Laurira commented Jan 21, 2025

I found /containers/7b8e80cf557822a8947b31a323daf6be082c52b66668d9be21cdaccdfb2ea1b3/7b8e80cf557822a8947b31a323daf6be082c52b66668d9be21cdaccdfb2ea1b3-json.log file that is 119GB, is it normal?

@Laurira
Copy link
Author

Laurira commented Jan 21, 2025

I took last 10000 rows from it and uploaded here: https://www.eha.ee/pilvi/index.php/s/3FnAQ9ZZDRiLYCq

@SugaryLump
Copy link

The logs for DBPTK Enterprise can be found in /dbvtk/log inside its docker container

@Laurira
Copy link
Author

Laurira commented Jan 22, 2025

root@b6055639ee06:/dbvtk/log# tail -4000 dbvtk.log
2025-01-16 09:34:21,081 [http-nio-8080-exec-8] INFO c.d.c.s.controller.SIARDController - Start the SIARD validation process for 4312e797-99ea-4a4e-b190-0cac27e7917a, SIARD is located at /dbvtk/SIARD-files/statistikaamet_metaweb_sis_skeem.siard
2025-01-16 09:34:21,202 [http-nio-8080-exec-8] WARN o.a.c.c.C.[.[.[.[dispatcherServlet] - Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [org.glassfish.jersey.server.ContainerException: java.lang.UnsupportedClassVersionError: org/eclipse/collections/impl/list/mutable/primitive/LongArrayList has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0] with root cause
java.lang.UnsupportedClassVersionError: org/eclipse/collections/impl/list/mutable/primitive/LongArrayList has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
at org.mapdb.StoreDirectAbstract.(StoreDirectAbstract.kt:41)
at org.mapdb.StoreDirect.(StoreDirect.kt:30)
at org.mapdb.StoreDirect$Companion.make(StoreDirect.kt:57)
at org.mapdb.StoreDirect$Companion.make$default(StoreDirect.kt:56)
at org.mapdb.DBMaker$Maker.make(DBMaker.kt:450)
at com.databasepreservation.modules.siard.validate.component.tableData.RequirementsForTableDataValidator.setupMapDB(RequirementsForTableDataValidator.java:171)
at com.databasepreservation.modules.siard.validate.component.tableData.RequirementsForTableDataValidator.(RequirementsForTableDataValidator.java:159)
at com.databasepreservation.modules.siard.validate.component.factories.RequirementsForTableDataComponentFactory.buildComponent(RequirementsForTableDataComponentFactory.java:55)
at com.databasepreservation.modules.siard.validate.SIARDValidateModule.getValidationComponents(SIARDValidateModule.java:205)
at com.databasepreservation.modules.siard.validate.SIARDValidateModule.validate(SIARDValidateModule.java:118)
at com.databasepreservation.SIARDValidation.validate(SIARDValidation.java:92)
at com.databasepreservation.common.server.controller.SIARDController.validateSIARD(SIARDController.java:790)
at com.databasepreservation.common.api.v1.SiardResource.validateSiard(SiardResource.java:99)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory.lambda$static$0(ResourceMethodInvocationHandlerFactory.java:52)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:124)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:167)
at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$TypeOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:219)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:79)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:475)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:397)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:81)
at org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:255)
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:248)
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:244)
at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
at org.glassfish.jersey.internal.Errors.process(Errors.java:244)
at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:265)
at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:234)
at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:684)
at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:394)
at org.glassfish.jersey.servlet.ServletContainer.serviceImpl(ServletContainer.java:386)
at org.glassfish.jersey.servlet.ServletContainer.doFilter(ServletContainer.java:561)
at org.glassfish.jersey.servlet.ServletContainer.doFilter(ServletContainer.java:502)
at org.glassfish.jersey.servlet.ServletContainer.doFilter(ServletContainer.java:439)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
at org.springframework.boot.actuate.metrics.web.servlet.WebMvcMetricsFilter.doFilterInternal(WebMvcMetricsFilter.java:96)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)
at org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:890)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1743)
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191)
at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:750)
2025-01-16 09:34:21,226 [http-nio-8080-exec-7] ERROR Uncaught - [172.21.0.1] Uncaught Exception: (TypeError) : Cannot read properties of null (reading 'nf')
java.lang.Throwable: null
at Unknown.td(DefaultMethodCallback.java:52)
at Unknown.Vzb(AbstractRequestCallback.java:67)
at Unknown.N8b(Request.java:227)
at Unknown.d9b(RequestBuilder.java:412)
at Unknown.anonymous(XMLHttpRequest.java:329)
at Unknown.XYb(Impl.java:299)
at Unknown.$Yb(Impl.java:351)
at Unknown.anonymous(Impl.java:78)

@SugaryLump
Copy link

SugaryLump commented Jan 22, 2025

There seems to be a Java version mismatch issue in the mapdb extension that I can't replicate on my side. How was this instance of DBPTK Enterprise setup? Are you using the docker compose file from https://github.com/keeps/dbptk-enterprise/archive/master.zip ?

@Laurira
Copy link
Author

Laurira commented Jan 22, 2025

Yes I am using the docker compose file. I have not specified any additional java versions for this installation. I just took the dbptk-enterprise from your site and then inserted docker command "docker compose up"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants