Export to XLSX broken?
A Java SQL client for any JDBC compliant database
Brought to you by:
colbell,
gerdwagner
Export to XLSX appears to be broken. Clicking ok in the dialogue box closes the box, but there's no export confirmation prompt after. There is however a file on the file system with size zero.
Export to XLS still works though.
Version: snapshot-20241201_2102
Java: 23.0.1+11-39
Hello, I tested XLSX export right now in version 20241201_2102 and it works fine for me. I am using Adoptium Java OpenJDK 17.0.12 on MS Windows. I tried the same settings as Vikaash, but Java version. Stepan
My test select is:
Thanks for checking. Perhaps the XLSX export is not (yet) compatible with Java 23. I've just installed 20241208_2056 and retested exporting XLSX, but unfortunately no dice..
Hello, Vikaash, I also tried Eclipse Adoptium OpenJDK Runtime Environment 23.0.1+11 on Windows Server 2016 and squirrel-sql-snapshot-20241208_2056-standard.jar and export to CSV nad XLSX works for me OK. Files are created, dialogue is responsive, files are opened in LibreOffice and MS Excel both OK. So it may be a problem in some configuration, I guess. Regards, Stepan
I've also installed (unzipped) Eclipse Adoptium OpenJDK Runtime Environment 23.0.1+11 on my company managed laptop (MS Surface 5) running on Windows 11, but the export to XLSX still doesn't work for me. Must be a local issue then..
Hello, I tested export to CSV on another (my private) comp Win11 just now, running under no admin, the latest Adoptium JDK 23 and CSV and XLSX works for me fine. Yes, I have JDK, no JRE and inside it Java FX from Gluon, but it should not affect this behaviour, I hope. Regards, Stepan
Hi Stepan,
I was wondering if clicking on OK in the dialog having XLSX selected would trigger an error in the log and it did! Hopefully devs can decipher it and diagnose what's going on.
Clicked on the stack trace button:
Sorry, Vikaash, like Stepan I cannot reproduce your problem. But your error message points to a possible fix.
Could you please try out the latest snapshot available here
https://sourceforge.net/projects/squirrel-sql/files/3-snapshots/snapshot-20241219_2026/
or here
https://github.com/squirrel-sql-client/squirrel-sql-snapshot-releases/releases/tag/snapshot-20241219_2026
and let me know if it fixes your problem or al least changes the error message?
Last edit: Gerd Wagner 2024-12-19
Thanks Gerd, I can export to XLSX again using the latest snapshot!