OHDSI Home | Forums | Wiki | Github

RabbitInAHat Error

I’m trying to install WhiteRabbit and RabbitInAHat onto a CentOS virtual machine and I’m having trouble running RIAH. When I try to run it I get an “Error: Invalid File Format” and the logs look like this:

java.util.zip.ZipException: Not in GZIP format
at java.base/java.util.zip.GZIPInputStream.readHeader(GZIPInputStream.java:165)
at java.base/java.util.zip.GZIPInputStream.(GZIPInputStream.java:79)
at java.base/java.util.zip.GZIPInputStream.(GZIPInputStream.java:91)
at org.ohdsi.rabbitInAHat.dataModel.ETL.fromFile(ETL.java:188)
at org.ohdsi.rabbitInAHat.RabbitInAHatMain.doOpenSpecs(RabbitInAHatMain.java:556)
at org.ohdsi.rabbitInAHat.RabbitInAHatMain.(RabbitInAHatMain.java:193)
at org.ohdsi.rabbitInAHat.RabbitInAHatMain.main(RabbitInAHatMain.java:115)
java.lang.NullPointerException: Cannot invoke “org.ohdsi.rabbitInAHat.dataModel.ETL.getTableToTableMapping()” because “org.ohdsi.rabbitInAHat.ObjectExchange.etl” is null
at org.ohdsi.rabbitInAHat.RabbitInAHatMain.doOpenSpecs(RabbitInAHatMain.java:557)
at org.ohdsi.rabbitInAHat.RabbitInAHatMain.(RabbitInAHatMain.java:193)
at org.ohdsi.rabbitInAHat.RabbitInAHatMain.main(RabbitInAHatMain.java:115)
Exception in thread “AWT-EventQueue-0” java.lang.NullPointerException: Cannot invoke “org.ohdsi.rabbitInAHat.dataModel.ETL.hasStemTable()” because “org.ohdsi.rabbitInAHat.ObjectExchange.etl” is null
at org.ohdsi.rabbitInAHat.MappingPanel.setLabeledRectanglesLocation(MappingPanel.java:236)
at org.ohdsi.rabbitInAHat.MappingPanel.layoutItems(MappingPanel.java:225)
at org.ohdsi.rabbitInAHat.MappingPanel.setSize(MappingPanel.java:281)…

I thought there might be an issue with something on the network being blocked but my IT guy says that’s not the case. Any ideas? Thanks for any help!

Thanks for reaching out. Could you explain how you are trying to execute Rabbit in a Hat? The error shows that RiaH is trying to open a file, which it should normally not do on a normal startup.

Please note that RiaH is only useful to run with a graphical user interface. Only WR can be used without the GUI (i.e. scanning a database with connection settings from the config file).

Thanks! I’m starting it through the terminal with just ./rabbitinahat, but it does open the GUI.

t