We moved our repositories to BitBucket!

If you can't login or you can't register to the forums do not rise an issue, instead please write to support (at) l2jserver.com

Check our wiki!

Report server issues here

Forum has been updated to phpBB 3.2, let's see if this fixes some minor bugs we had.

Thank you for visiting http://www.l2jserver.com/

ERROR GAMESERVER VERSION 2.6.1.0 MARIADB

Support for the latest build of L2J Server, get help here with installations, upgrades, problems.
Do not post bugs reports here, use viewforum.php?f=77 instead.
There is no support for other server builds than the official provided by l2jserver.com
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
cioan
Posts: 1
Joined: Sun Mar 29, 2020 5:11 am

ERROR GAMESERVER VERSION 2.6.1.0 MARIADB

Post by cioan » Sun Mar 29, 2020 5:20 am

Hello!

I have an error starting the server. I have downloaded everything from the official website of L2JSERVER.

So after doing all the steps as indicated I get the following error.

Attached code.

--------------------------------------BEGIN-ERROR---------------------------------------------------------------------------------------------
Starting L2J Game Server.

[INFO ] 2020-03-29 07:24:58 GameServer: ------------------------------------------------=[ Database ]
[INFO ] 2020-03-29 07:24:58 GameServer: -----------------------------------=[ Network Configuration ]
[INFO ] 2020-03-29 07:24:58 IPConfigData: Using automatic network configuration.
[INFO ] 2020-03-29 07:24:58 IPConfigData: Adding new subnet: 127.0.0.0/8 address: 127.0.0.1
[INFO ] 2020-03-29 07:24:58 IPConfigData: Adding new subnet: 192.168.1.0/24 address: 192.168.1.131
[INFO ] 2020-03-29 07:24:58 IPConfigData: Adding new subnet: 0.0.0.0/0 address:
[INFO ] 2020-03-29 07:24:59 ConnectionFactory: Using HikariCP connection pool.
Exception in thread "main" java.lang.ExceptionInInitializerError
at com.l2jserver.gameserver.dao.factory.impl.DAOFactory.getInstance(DAOFactory.java:38)
at com.l2jserver.gameserver.GameServer.<init>(GameServer.java:193)
at com.l2jserver.gameserver.GameServer.main(GameServer.java:449)
Caused by: java.lang.NullPointerException
at com.l2jserver.gameserver.dao.factory.impl.DAOFactory$SingletonHolder.<clinit>(DAOFactory.java:47)
... 3 more

Game Server Terminated Abnormally!


Game Server Terminated.

Presione una tecla para continuar . . .
----------------------------------------END-ERROR---------------------------------------------------------------------------------------------


A greeting.

User avatar
nonom
DP Junior Developer
DP Junior Developer
Posts: 644
Joined: Wed Mar 11, 2009 10:34 pm
Location: Magmeld

Re: ERROR GAMESERVER VERSION 2.6.1.0 MARIADB

Post by nonom » Sun May 03, 2020 4:51 pm

Try this https://bitbucket.org/nonom/docker-l2j-server

Should be enough to deploy a server+mariadb connecting to 127.0.0.1
Image
"There are three kinds of people in this world, those who can count and those who can't"

User avatar
Zoey76
L2j Inner Circle
L2j Inner Circle
Posts: 6975
Joined: Tue Aug 11, 2009 3:36 am

Re: ERROR GAMESERVER VERSION 2.6.1.0 MARIADB

Post by Zoey76 » Mon May 11, 2020 4:14 am

cioan wrote:
Sun Mar 29, 2020 5:20 am
Hello!

I have an error starting the server. I have downloaded everything from the official website of L2JSERVER.

So after doing all the steps as indicated I get the following error.

Attached code.

--------------------------------------BEGIN-ERROR---------------------------------------------------------------------------------------------
Starting L2J Game Server.

[INFO ] 2020-03-29 07:24:58 GameServer: ------------------------------------------------=[ Database ]
[INFO ] 2020-03-29 07:24:58 GameServer: -----------------------------------=[ Network Configuration ]
[INFO ] 2020-03-29 07:24:58 IPConfigData: Using automatic network configuration.
[INFO ] 2020-03-29 07:24:58 IPConfigData: Adding new subnet: 127.0.0.0/8 address: 127.0.0.1
[INFO ] 2020-03-29 07:24:58 IPConfigData: Adding new subnet: 192.168.1.0/24 address: 192.168.1.131
[INFO ] 2020-03-29 07:24:58 IPConfigData: Adding new subnet: 0.0.0.0/0 address:
[INFO ] 2020-03-29 07:24:59 ConnectionFactory: Using HikariCP connection pool.
Exception in thread "main" java.lang.ExceptionInInitializerError
at com.l2jserver.gameserver.dao.factory.impl.DAOFactory.getInstance(DAOFactory.java:38)
at com.l2jserver.gameserver.GameServer.<init>(GameServer.java:193)
at com.l2jserver.gameserver.GameServer.main(GameServer.java:449)
Caused by: java.lang.NullPointerException
at com.l2jserver.gameserver.dao.factory.impl.DAOFactory$SingletonHolder.<clinit>(DAOFactory.java:47)
... 3 more

Game Server Terminated Abnormally!


Game Server Terminated.

Presione una tecla para continuar . . .
----------------------------------------END-ERROR---------------------------------------------------------------------------------------------


A greeting.
Did you install a MariaDB server?

Did you set the same password for the database user in database.properties?
Using Eclipse 4.15 - OpenJDK11 - MariaDB 10.4.12 - L2J Server 2.6.2.0

Post Reply