Starting AuthServer.
[21:50:57] INFO ServerNamesHolder: loaded 127 server names(s) count.
[21:50:57] INFO HikariPool-1 - Started.
[21:50:57] INFO HikariPool-1 - Close initiated...
[21:50:57] INFO HikariPool-1 - Closed.
[21:50:57] WARN Could not init database connection.
com.zaxxer.hikari.pool.HikariPool$PoolInitializationException: Failed to initialize pool: Cannot load connection class because of underlying exception: 'java.lang.NumberFormatException: For input string: "localhost"'.
at com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:528)
at com.zaxxer.hikari.pool.HikariPool.<init>(HikariPool.java:118)
at com.zaxxer.hikari.HikariDataSource.<init>(HikariDataSource.java:71)
at org.mmocore.commons.database.factory.AbstractDatabaseFactory.doStart(AbstractDatabaseFactory.java:26)
at org.mmocore.authserver.AuthServer.main(AuthServer.java:93)
Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Cannot load connection class because of underlying exception: 'java.lang.NumberFormatException: For input string: "localhost"'.
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
at com.mysql.jdbc.Util.getInstance(Util.java:386)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1015)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:989)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:975)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:920)
at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:356)
at com.mysql.jdbc.jdbc2.optional.MysqlDataSource.getConnection(MysqlDataSource.java:443)
at com.mysql.jdbc.jdbc2.optional.MysqlDataSource.getConnection(MysqlDataSource.java:141)
at com.mysql.jdbc.jdbc2.optional.MysqlDataSource.getConnection(MysqlDataSource.java:111)
at com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:316)
at com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:518)
... 4 more
Caused by: java.lang.NumberFormatException: For input string: "localhost"
at java.lang.NumberFormatException.forInputString(Unknown Source)
at java.lang.Integer.parseInt(Unknown Source)
at java.lang.Integer.parseInt(Unknown Source)
at com.mysql.jdbc.NonRegisteringDriver.port(NonRegisteringDriver.java:916)
at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:347)
... 9 more
[21:50:57] INFO ServerNamesHolder: loaded 127 server names(s) count.
[21:50:58] INFO Loaded whirlpool2 as default crypt.
[21:51:01] INFO Cached 10 KeyPairs for RSA communication
[21:51:01] INFO Stored 20 keys for Blowfish communication
[21:51:01] ERROR
java.lang.NullPointerException
at org.mmocore.commons.database.factory.AbstractDatabaseFactory.getConnection(AbstractDatabaseFactory.java:45)
at org.mmocore.authserver.GameServerManager.load(GameServerManager.java:46)
at org.mmocore.authserver.GameServerManager.<init>(GameServerManager.java:36)
at org.mmocore.authserver.GameServerManager.<clinit>(GameServerManager.java:24)
at org.mmocore.authserver.AuthServer.<init>(AuthServer.java:40)
at org.mmocore.authserver.AuthServer.main(AuthServer.java:95)
[21:51:01] INFO Loaded 0 registered GameServer(s).
[21:51:01] INFO Listening for gameservers on 127.0.0.1:9014
[21:51:01] INFO Listening for clients on 127.0.0.1:2106
[21:51:01] INFO XMLRPCServer: Started. Listen on 127.0.0.1:7000
помогите плз с ошибкой