You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using JavaGUI, it's possible to get the following exception:
java.lang.ArrayIndexOutOfBoundsException: 67
at com.qspin.qtaste.javagui.server.UpdateComponentCommander.getComponentByName(UpdateComponentCommander.java:70)
at com.qspin.qtaste.javagui.server.UpdateComponentCommander.executeCommand(UpdateComponentCommander.java:26)
at com.qspin.qtaste.javagui.server.JavaGUI.clickOnButton(JavaGUI.java:78)
at com.qspin.qtaste.javagui.server.JavaGUI.clickOnButton(JavaGUI.java:73)
Looking at the UpdateComponentCommander code I find this:
66: for (int w = 0; w < Frame.getWindows().length; w++) {
67: Window window = Frame.getWindows()[w];
which is absolutely not safe, since each getWindows() call could return a different array because windows can be closed or opened concurrently.
The text was updated successfully, but these errors were encountered:
When using JavaGUI, it's possible to get the following exception:
java.lang.ArrayIndexOutOfBoundsException: 67
at com.qspin.qtaste.javagui.server.UpdateComponentCommander.getComponentByName(UpdateComponentCommander.java:70)
at com.qspin.qtaste.javagui.server.UpdateComponentCommander.executeCommand(UpdateComponentCommander.java:26)
at com.qspin.qtaste.javagui.server.JavaGUI.clickOnButton(JavaGUI.java:78)
at com.qspin.qtaste.javagui.server.JavaGUI.clickOnButton(JavaGUI.java:73)
Looking at the UpdateComponentCommander code I find this:
66: for (int w = 0; w < Frame.getWindows().length; w++) {
67: Window window = Frame.getWindows()[w];
which is absolutely not safe, since each getWindows() call could return a different array because windows can be closed or opened concurrently.
The text was updated successfully, but these errors were encountered: