Can't Connect... #31


  • New
  • Defect
Open
Assigned to _ForgeUser7607113
  • _ForgeUser7132011 created this issue Jul 20, 2012

    What steps will reproduce the problem?
    1.Install plugin
    2.Reboot
    3.Loads, trys to connect on phone with right information and it fails

    What is the expected output? What do you see instead?
    I see an unable to connect message

    What version of the product are you using?
    The latest

    Do you have an error log of what happened?

    2012-07-20 10:10:21 [INFO] [MobileAdmin] Enabling MobileAdmin v3.2.4
    2012-07-20 10:10:21 [INFO] [MobileAdmin] Loading server stats.
    2012-07-20 10:10:21 [INFO] [MobileAdmin] Loading chat log.
    2012-07-20 10:10:21 [INFO] [MobileAdmin] Loading users.
    2012-07-20 10:10:21 [SEVERE] Error occurred while enabling MobileAdmin v3.2.4 (Is it up to date?)
    java.lang.ClassCastException: java.lang.Long cannot be cast to java.lang.String
        at net.kaltner.MobileAdmin.MobileAdmin.onEnable(MobileAdmin.java:94)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:337)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:383)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:378)
        at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:360)
        at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:432)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:419)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:234)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:487)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)

    Please provide any additional information below.

  • _ForgeUser7132011 added the tags New Defect Jul 20, 2012
  • _ForgeUser7820838 posted a comment Jul 20, 2012

    This error generally occurs when one of the user passwords in "plugins/MobileAdmin/Users.config" is numeric (all numbers). This is an issue with the YAML file parser as it thinks the string password is a number value. You should change the users password to something alphanumeric (letters and numbers) not only to fix this issue, but to set a stronger password for your user.


    Edited Jul 28, 2012

To post a comment, please login or register a new account.