Unable to delete user accounts

Post your Server Bug Report
drashna
Posts: 10
Joined: 05 Jul 2013, 19:58
Has thanked: 0
Been thanked: 4 times

Unable to delete user accounts

Unread post by drashna »

Code: Select all

=========================================================================================
 VERSION:      MADSONIC 6.0 | BUILD: 7860
 SERVLET:      TOMCAT 8.0.30
 SERVER:       CPU: Xeon E3-1245v3 | ARCH: X64 | MEMORY: 16GB | HDD: 40TB
 OS:           WINDOWS 2012 R2 Essentials
 SYSTEM:       SERVER
 INSTALLER:    Standalone - WAR
 JAVA:         ORACLE JDK 1.8 
 BROWSER:      CHROME latest
 DESCRIPTION:  Errors out on user deletion.
 REPRODUCIBLE: YES
=========================================================================================
Specifically, the error message is this:

PreparedStatementCallback; SQL [delete from user where username=?]; java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.String java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.String; nested exception is java.sql.SQLException: java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.String java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.String


If I use the SQL/DB option to manually run "delete from user where username={username}", it errors out with the follwoing:
user lacks privilege or object not found: {username}


It's been doing this for the last few versions, not sure how far back, exactly. Also, this is for by admin account, and the built in "admin" account.
Post Reply