java.lang.RuntimeException

If you like a tip written by other Samebug users, mark is as helpful! Marks help our algorithm provide you better solutions and also help other users.
tip

MySQL doesn't support some types of characters (such as emojis) with the utf8 encoding. You need to be on MySQL 5.5+ and force utf8mb4 (everywhere, client and server). You can do this sending the query "SET NAMES utf8mb4". Check this https://goo.gl/3E2qzg

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • MySQL Issue
    via GitHub by Lmmb74
    ,
  • 运行时报SQL异常
    via GitHub by gewanbo
    ,
  • MySQL error on first time startup
    via GitHub by wezell
    ,
  • Logblock lookup SQL Exception.
    via GitHub by mibby
    ,
    • java.lang.RuntimeException: java.sql.SQLException: Expression #1 of ORDER BY clause is not in SELECT list, references column 'bungeecord.bungeeperms_permissions2.id' which is not in SELECT list; this is incompatible with DISTINCT 19:18:37 [INFO] [BungeePerms] permissions loaded at net.alpenblock.bungeeperms.Mysql.returnQuery(Mysql.java:232) at net.alpenblock.bungeeperms.Mysql.returnQuery(Mysql.java:98) at net.alpenblock.bungeeperms.io.mysql2.MysqlPermsAdapter2.getGroups(MysqlPermsAdapter2.java:44) at net.alpenblock.bungeeperms.io.MySQL2BackEnd.loadGroups(MySQL2BackEnd.java:68) at net.alpenblock.bungeeperms.PermissionsManager.loadPerms(PermissionsManager.java:116) at net.alpenblock.bungeeperms.PermissionsManager.<init>(PermissionsManager.java:65) at net.alpenblock.bungeeperms.BungeePerms.<init>(BungeePerms.java:56) at net.alpenblock.bungeeperms.platform.bungee.BungeePlugin.onLoad(BungeePlugin.java:63) at net.md_5.bungee.api.plugin.PluginManager.enablePlugin(PluginManager.java:309) at net.md_5.bungee.api.plugin.PluginManager.loadPlugins(PluginManager.java:212) at net.md_5.bungee.BungeeCord.start(BungeeCord.java:258) at net.md_5.bungee.BungeeCordLauncher.main(BungeeCordLauncher.java:55) at net.md_5.bungee.Bootstrap.main(Bootstrap.java:15) Caused by: java.sql.SQLException: Expression #1 of ORDER BY clause is not in SELECT list, references column 'bungeecord.bungeeperms_permissions2.id' which is not in SELECT list; this is incompatible with DISTINCT at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:996) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3887) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3823) at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2435) at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2582) at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2526) at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2484) at com.mysql.jdbc.StatementImpl.executeQuery(StatementImpl.java:1446)

    Users with the same issue

    Kialandei
    13 times, last one,
    linxiaolong
    3 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    145 more bugmates