11-02-2010, 09:52 PM
Код:
Evolution Team Login Server
loading login config
MLog clients using java 1.4+ standard logging.
Initializing c3p0-0.9.1.2 [built 21-May-2007 15:04:56; debug? true; trace: 10]
Initializing c3p0 pool... com.mchange.v2.c3p0.ComboPooledDataSource [ acquireInc
rement -> 5, acquireRetryAttempts -> 0, acquireRetryDelay -> 500, autoCommitOnCl
ose -> true, automaticTestTable -> connection_test_table, breakAfterAcquireFailu
re -> false, checkoutTimeout -> 0, connectionCustomizerClassName -> null, connec
tionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, dataSou
rceName -> 1hge1378c3v8gks12ctww9|9ed927, debugUnreturnedConnectionStackTraces -
> false, description -> null, driverClass -> com.mysql.jdbc.Driver, factoryClass
Location -> null, forceIgnoreUnresolvedTransactions -> false, identityToken -> 1
hge1378c3v8gks12ctww9|9ed927, idleConnectionTestPeriod -> 3600, initialPoolSize
-> 10, jdbcUrl -> jdbc:mysql://localhost/akamanah, maxAdministrativeTaskTime ->
0, maxConnectionAge -> 0, maxIdleTime -> 0, maxIdleTimeExcessConnections -> 0, m
axPoolSize -> 10, maxStatements -> 0, maxStatementsPerConnection -> 100, minPool
Size -> 10, numHelperThreads -> 3, numThreadsAwaitingCheckoutDefaultUser -> 0, p
referredTestQuery -> null, properties -> {user=******, password=******}, propert
yCycle -> 0, testConnectionOnCheckin -> false, testConnectionOnCheckout -> false
, unreturnedConnectionTimeout -> 0, usesTraditionalReflectiveProxies -> false ]
Loading LoginContoller...
Cached 10 KeyPairs for RSA communication
Exception in thread "main" java.lang.NullPointerException
at net.sf.l2j.util.MTRandom.next(MTRandom.java:349)
at java.util.Random.nextDouble(Unknown Source)
at net.sf.l2j.util.Rnd.nextInt(Rnd.java:53)
at net.sf.l2j.loginserver.LoginController.generateBlowFishKeys(LoginCont
roller.java:118)
at net.sf.l2j.loginserver.LoginController.<init>(LoginController.java:94
)
at net.sf.l2j.loginserver.LoginController.load(LoginController.java:57)
at net.sf.l2j.loginserver.L2LoginServer.<init>(L2LoginServer.java:95)
at net.sf.l2j.loginserver.L2LoginServer.main(L2LoginServer.java:38)
Работа сервера завершена некорректно
сервер отключен
Для продолжения нажмите любую клавишу . . .
При регистрации гс вываливался с ошибкой, зарегистрировал (и создал hexid) через GS Registering Tool от L2J сборки.
Причем на сервере все отлично работает, а на локалхосте - ошибка.