Hello,
Snapshots:
* squirrel-sql-snapshot-20180404_2309
* squirrel-sql-snapshot-20180701_1329
are unusable in Ubuntu 18.04.
After installation, Squirrell starts and displays main window, butthe only thing user can do is switch between left-pane tabs:
- Aliases
- Drivers
All following functions does NOT work :
- Click on Upper menu-> File highlights "File" word, but drop-down menu does not appear. In fact ANY menu option does not appear.
- Click on Connect to expandable list
- In Aliases does not work:
- Double click to open window
- Right-click to open context menu
- In Driver does not work:
- Double click to open driver configuration window
- Right-click to open context menu
Is there any workaround for this?
Sorry, I can't reproduce your problem. What JRE/JDK are you using? Are there error logs?
For a quick try I'd recommend to download an Oracle JRE/JDK and to run SQuirreL with that.
I use default OpenJDK distributed with Ubuntu 18.04:
Where should I search for error logs? I don't see any in Squirrel installation directory
In your home directory there should be a folder .squirrel-sql/logs/
Right, silly me. Logs attached.
Thank you.
From the frequently occurring "IllegalArgumentException: Window must not be zero" in your log it's quite obvious that this is keeping the GUI from working.
There are several bug reports concerning this exception for other Swing based applications as well as the JDK/JRE itself:
https://bugs.openjdk.java.net/browse/JDK-8204646
https://netbeans.org/bugzilla/show_bug.cgi?id=271914
https://bugs.openjdk.java.net/browse/JDK-8179680
https://forum.mediathekview.de/topic/1406/exception-in-thread-awt-eventqueue-0-java-lang-illegalargumentexception-window-must-not-be-zero
It seems to occur mostly on systems with multiple screens. But certainly not always as I have no problem using SQuirreL on two screens under Windows and Linux. It also seems to be JDK/JRE dependent. So again I'd try switching to another JDK/JRE.
Thank you for the help, seem like I hit:
https://bugs.openjdk.java.net/browse/JDK-8204646
I will try different OpenJDK, hopefully nothing else wil be breake by that.
Please close this issue, as I do not see any button to close it.
Closed on user request.