OHDSI / WhiteRabbit

WhiteRabbit is a small application that can be used to analyse the structure and contents of a database as preparation for designing an ETL. It comes with RabbitInAHat, an application for interactive design of an ETL to the OMOP Common Data Model with the help of the the scan report generated by White Rabbit.
http://ohdsi.github.io/WhiteRabbit
Apache License 2.0
178 stars 88 forks source link

java.lang.NoClassDefFoundError during report gen #378

Closed jtheobaldhp closed 1 year ago

jtheobaldhp commented 1 year ago

Describe the bug

This bug occurs with v.10.8 Does not occur when I roll back to v.10.7

To Reproduce Loaded csv files into WR

Expected behavior Expected report to be generated

Exception in thread "Thread-3" java.lang.NoClassDefFoundError: org/apache/commons/compress/archivers/zip/ZipFile
    at org.ohdsi.whiteRabbit.scan.SourceDataScan.generateReport(SourceDataScan.java:172)
    at org.ohdsi.whiteRabbit.scan.SourceDataScan.process(SourceDataScan.java:117)
    at org.ohdsi.whiteRabbit.WhiteRabbitMain$ScanThread.run(WhiteRabbitMain.java:1054)
Caused by: java.lang.ClassNotFoundException: org.apache.commons.compress.archivers.zip.ZipFile
    at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641)
    at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
    at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)

Desktop

janblom commented 1 year ago

@jtheobaldhp did you use version 0.10.8 or 0.10.8a? The former was missing a dependency that would explain the problem you experiences, while 0.10.8a fixes that.

I had forgotten to remove 0.10.8, apologies for that.

Jan Blom

janblom commented 1 year ago

The version with a missing dependency (0.10.8) has been removed from the release. Version 0.10.8a should be used instead, and is included in the release.