{"action":"opened","issue":{"url":"https://api.github.com/repos/greatman/craftconomy3/issues/46","labels_url":"https://api.github.com/repos/greatman/craftconomy3/issues/46/labels{/name}","comments_url":"https://api.github.com/repos/greatman/craftconomy3/issues/46/comments","events_url":"https://api.github.com/repos/greatman/craftconomy3/issues/46/events","html_url":"https://github.com/greatman/craftconomy3/issues/46","id":108672532,"number":46,"title":"iConomy6 MySQL convert does not work properly","user":{"login":"EvilOlaf","id":3305006,"avatar_url":"https://avatars.githubusercontent.com/u/3305006?v=3","gravatar_id":"","url":"https://api.github.com/users/EvilOlaf","html_url":"https://github.com/EvilOlaf","followers_url":"https://api.github.com/users/EvilOlaf/followers","following_url":"https://api.github.com/users/EvilOlaf/following{/other_user}","gists_url":"https://api.github.com/users/EvilOlaf/gists{/gist_id}","starred_url":"https://api.github.com/users/EvilOlaf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EvilOlaf/subscriptions","organizations_url":"https://api.github.com/users/EvilOlaf/orgs","repos_url":"https://api.github.com/users/EvilOlaf/repos","events_url":"https://api.github.com/users/EvilOlaf/events{/privacy}","received_events_url":"https://api.github.com/users/EvilOlaf/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-28T14:43:54Z","updated_at":"2015-09-28T14:43:54Z","closed_at":null,"body":"I could do the setup routine till I had to enter the login credentials for the database to convert:\r\n```\r\nmysql selected. Now, Please enter the correct values for the database format chosen. Syntax is: /ccsetup convert <address, port, username, password, database> <value>\r\nExample: /ccsetup convert address test\r\n```\r\n\r\n```\r\n[16:32:43 INFO]: Olaf issued server command: /ccsetup convert localhost 3306 myexistingdb veryevilpassword myexistingdb\r\n# No luck\r\n[16:32:56 INFO]: Olaf issued server command: /ccsetup convert localhost 3306 myexistingdb veryevilpassword myexistingdb test\r\n# No luck\r\n[16:32:59 INFO]: Olaf issued server command: /ccsetup convert localhost 3306 myexistingdb veryevilpassword myexistingdb\r\n# No luck\r\n[16:33:12 INFO]: Olaf issued server command: /ccsetup convert localhost 3306 myexistingdb veryevilpassword\r\n# No luck\r\n[16:33:15 INFO]: Olaf issued server command: /ccsetup convert localhost\r\n[16:33:15 ERROR]: null\r\norg.bukkit.command.CommandException: Unhandled exception executing command 'ccsetup' in plugin Craftconomy3 v3.3-e72ac42-trv178\r\n        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) ~[spigot-1.8.8.jar:git-Spigot-76236cb-62a2169]\r\n        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141) ~[spigot-1.8.8.jar:git-Spigot-76236cb-62a2169]\r\n        at org.bukkit.craftbukkit.v1_8_R3.CraftServer.dispatchCommand(CraftServer.java:641) ~[spigot-1.8.8.jar:git-Spigot-76236cb-62a2169]\r\n        at net.minecraft.server.v1_8_R3.PlayerConnection.handleCommand(PlayerConnection.java:1162) [spigot-1.8.8.jar:git-Spigot-76236cb-62a2169]\r\n        at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:997) [spigot-1.8.8.jar:git-Spigot-76236cb-62a2169]\r\n        at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(PacketPlayInChat.java:45) [spigot-1.8.8.jar:git-Spigot-76236cb-62a2169]\r\n        at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(PacketPlayInChat.java:1) [spigot-1.8.8.jar:git-Spigot-76236cb-62a2169]\r\n        at net.minecraft.server.v1_8_R3.PlayerConnectionUtils$1.run(SourceFile:13) [spigot-1.8.8.jar:git-Spigot-76236cb-62a2169]\r\n        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_60]\r\n        at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_60]\r\n        at net.minecraft.server.v1_8_R3.SystemUtils.a(SourceFile:44) [spigot-1.8.8.jar:git-Spigot-76236cb-62a2169]\r\n        at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:715) [spigot-1.8.8.jar:git-Spigot-76236cb-62a2169]\r\n        at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:374) [spigot-1.8.8.jar:git-Spigot-76236cb-62a2169]\r\n        at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:654) [spigot-1.8.8.jar:git-Spigot-76236cb-62a2169]\r\n        at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:557) [spigot-1.8.8.jar:git-Spigot-76236cb-62a2169]\r\n        at java.lang.Thread.run(Thread.java:745) [?:1.8.0_60]\r\nCaused by: java.lang.ArrayIndexOutOfBoundsException: 1\r\n        at com.greatmancode.craftconomy3.commands.setup.NewSetupConvertCommand.selectValues(NewSetupConvertCommand.java:87) ~[?:?]\r\n        at com.greatmancode.craftconomy3.commands.setup.NewSetupConvertCommand.execute(NewSetupConvertCommand.java:54) ~[?:?]\r\n        at com.greatmancode.craftconomy3.tools.commands.SubCommand.execute(SubCommand.java:69) ~[?:?]\r\n        at com.greatmancode.craftconomy3.tools.commands.bukkit.BukkitCommandReceiver.onCommand(BukkitCommandReceiver.java:51) ~[?:?]\r\n        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ~[spigot-1.8.8.jar:git-Spigot-76236cb-62a2169]\r\n        ... 15 more\r\n[16:33:18 INFO]: Olaf issued server command: /ccsetup convert localhost 3306\r\n# From this point CC3 does not recognize /ccsetup commands anymore.\r\n```\r\n\r\nAs an additional suggestion. If the database setup has been completed and the further setup fails for any reason and you have to restart the server the whole procedure has to be done again even though those values have been written to the config file already. Did not test if `Setup: false` would allow to skip this as well as starting a conversion process.\r\n\r\nThanks for reading.\r\n\r\nBest regards\r\nOlaf"}}