ron190 / jsql-injection

jSQL Injection is a Java application for automatic SQL database injection.
GNU General Public License v2.0
1.51k stars 416 forks source link

Unhandled ExceptionInInitializerError #95692

Closed jsql-robot closed 3 months ago

jsql-robot commented 3 months ago
jSQL: v0.100
Java: v21.0.3-amd64-en on OpenJDK Runtime Environment
OS: Linux (v6.6.15-amd64)
Desktop: undefined
Strategy: undefined
Db engine: MySQL
Exception on main
java.lang.ExceptionInInitializerError
    at com.jsql.view.swing.panel.preferences.PanelTampering.<init>(PanelTampering.java:40)
    at com.jsql.view.swing.panel.PanelPreferences.<init>(PanelPreferences.java:18)
    at com.jsql.view.swing.menubar.Menubar.initializeItemPreferences(Menubar.java:424)
    at com.jsql.view.swing.menubar.Menubar.initializeMenuWindows(Menubar.java:325)
    at com.jsql.view.swing.menubar.Menubar.<init>(Menubar.java:127)
    at com.jsql.view.swing.JFrameView.initializePaneComponents(JFrameView.java:169)
    at com.jsql.view.swing.JFrameView.<init>(JFrameView.java:68)
    at com.jsql.MainApplication.main(MainApplication.java:66)
Caused by: Can't construct a java object for tag:yaml.org,2002:com.jsql.util.tampering.ModelYamlTampering; exception=No single argument constructor found for class com.jsql.util.tampering.ModelYamlTampering
 in 'reader', line 1, column 1:
    var tamper = function(payload) {
    ^

    at org.yaml.snakeyaml.constructor.Constructor$ConstructYamlObject.construct(Constructor.java:326)
    at org.yaml.snakeyaml.constructor.BaseConstructor.constructObjectNoCheck(BaseConstructor.java:264)
    at org.yaml.snakeyaml.constructor.BaseConstructor.constructObject(BaseConstructor.java:247)
    at org.yaml.snakeyaml.constructor.BaseConstructor.constructDocument(BaseConstructor.java:201)
    at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:185)
    at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:493)
    at org.yaml.snakeyaml.Yaml.loadAs(Yaml.java:486)
    at com.jsql.util.tampering.TamperingType.<init>(TamperingType.java:31)
    at com.jsql.util.tampering.TamperingType.<clinit>(TamperingType.java:15)
    ... 8 more
Caused by: org.yaml.snakeyaml.error.YAMLException: No single argument constructor found for class com.jsql.util.tampering.ModelYamlTampering
    at org.yaml.snakeyaml.constructor.Constructor$ConstructScalar.construct(Constructor.java:379)
    at org.yaml.snakeyaml.constructor.Constructor$ConstructYamlObject.construct(Constructor.java:320)
    ... 16 more