Using Squirrel-SQL 4.0.0 on Linux Mint 19.3 running inside VirtualBox.
Executing a long SQL file containing multiple queries sometimes fails to execute, and I do mean sometimes. It will work one day and not a few days later. And breaking the file into smaller queries, when that is possible, works fine, so it isn't the queries themselves which are problematic. Errors like the following appear in the squirrel-sql.log file whenever the problem occurs, varying only in the numbers. The only "mouse event" involved is clicking the "run all SQLs in editor" button.
2020-08-03 16:02:37,711 [AWT-EventQueue-1] ERROR net.sourceforge.squirrel_sql.client.Main - Exception occurred dispatching Event java.awt.event.MouseEvent[MOUSE_RELEASED,(401,124),absolute(401,123),button=1,modifiers=Button1,clickCount=1] on frame0
java.lang.StackOverflowError
2020-08-03 16:03:38,117 [AWT-EventQueue-1] ERROR net.sourceforge.squirrel_sql.client.Main - Exception occurred dispatching Event java.awt.event.MouseEvent[MOUSE_RELEASED,(402,121),absolute(402,120),button=1,modifiers=Button1,clickCount=1] on frame0
java.lang.StackOverflowError
Each is followed by over 900 lines like " at java.base/java.util.regex.Pattern$<pattern>.match(Pattern.java:<digits>)", for example:
at java.base/java.util.regex.Pattern$GroupTail.match(Pattern.java:4863)
Using the keyboard shortcut, <shift><ctrl><Enter>, also results in an error:
2020-08-04 09:21:54,697 [AWT-EventQueue-1] ERROR net.sourceforge.squirrel_sql.client.Main - Exception occurred dispatching Event java.awt.event.KeyEvent[KEY_PRESSED,keyCode=10,keyText=Enter,keyChar=Enter,modifiers=Alt+Shift,extModifiers=Alt+Shift,keyLocation=KEY_LOCATION_STANDARD,rawCode=36,primaryLevelUnicode=10,scancode=0,extendedKeyCode=0xa] on net.sourceforge.squirrel_sql.fw.gui.SQLCatalogsComboBox[,69,0,167x24,layout=javax.swing.plaf.metal.MetalComboBoxUI$MetalComboBoxLayoutManager,alignmentX=0.0,alignmentY=0.0,border=,flags=328,maximumSize=java.awt.Dimension[width=167,height=24],minimumSize=,preferredSize=,isEditable=false,lightWeightPopupEnabled=true,maximumRowCount=8,selectedItemReminder=FlexnetDB]
java.lang.StackOverflowError
I tried searching the lists and bug reports but could not find anything comparable to this problem.
Larry Fritz
Application Engineer | Sensus<https://sensus.com/> | Xylem<http://www.xyleminc.com/>
M: 469-275-6042
Lar...@xy...<mailto:Lar...@xy...>
LinkedIn<https://www.linkedin.com/company/sensus> | Twitter<https://twitter.com/SensusGlobal> | YouTube<https://www.youtube.com/c/SensusGlobal> | Facebook<https://www.facebook.com/SensusGlobal/> | Instagram<https://www.instagram.com/sensusglobal/> | 3D Tour<https://apps.kaonadn.net/5277329597136896/index.html>
[cid:9C3A8262-A5A5-4BEA-B280-5BCBD77D7A55]
|