Jump to content
  • 0

[help] game server consolo help


Question

Posted

hello guys im trying to make my own server this is my 5 time i never had a problem but i got a problem can some 1 help me ????

 

excepion in thread "main" java.lang.exceptionininitializerError

 

caused by java.lang.nullpointerexception

 

blablalba skilltrees

 

.... 3 more

6 answers to this question

Recommended Posts

  • 0
Posted

http://download.oracle.com/javase/1.4.2/docs/api/java/lang/NullPointerException.html

Thrown when an application attempts to use null in a case where an object is required.

 

Are you trying to build this in Eclipse or is this just output from the gameserver console window?

  • 0
Posted

nono its my gameserver console i dont use eclipse  i use Nightlies from = http://www.l2jserver.com/nightly/

 

 

but login nothing matters its says server ready on 2106 but gameserver console says

 

excepion in thread "main" java.lang.exceptionininitializerError

 

caused by java.lang.nullpointerexception

 

blablalba skilltrees

 

.... 3 more

 

if i go to gameserver map click on errors i get this

 

this is error1

 

nov 16, 2011 2:16:32 PM com.l2jserver.gameserver.instancemanager.MapRegionManager <init>

SEVERE: Failed loading MapRegion

java.lang.NullPointerException

at com.l2jserver.gameserver.instancemanager.MapRegionManager.load(MapRegionManager.java:97)

at com.l2jserver.gameserver.instancemanager.MapRegionManager.<init>(MapRegionManager.java:82)

at com.l2jserver.gameserver.instancemanager.MapRegionManager.<init>(MapRegionManager.java:52)

at com.l2jserver.gameserver.instancemanager.MapRegionManager$SingletonHolder.<clinit>(MapRegionManager.java:505)

at com.l2jserver.gameserver.instancemanager.MapRegionManager.getInstance(MapRegionManager.java:73)

at com.l2jserver.gameserver.GameServer.<init>(GameServer.java:211)

at com.l2jserver.gameserver.GameServer.main(GameServer.java:482)

 

 

this is error 2

 

 

2011.11.16 14:16:31,313 INFO 1 com.l2jserver.Config Loading GameServer Configuration Files...

2011.11.16 14:16:31,437 WARNING 1 com.l2jserver.Config Could not load HexID file (./config/hexid.txt). Hopefully login will give us one.

2011.11.16 14:16:31,437 INFO 1 com.l2jserver.Config Loaded 6 Filter Words.

2011.11.16 14:16:31,453 INFO 1 com.l2jserver.gameserver.GameServer -----------------------------------------------------------------=[ Database ]

2011.11.16 14:16:31,469 INFO 1 com.mchange.v2.log.MLog MLog clients using java 1.4+ standard logging.

2011.11.16 14:16:31,593 INFO 1 com.mchange.v2.c3p0.C3P0Registry Initializing c3p0-0.9.2-pre1 [built 27-May-2010 01:00:49 -0400; debug? true; trace: 10]

2011.11.16 14:16:31,952 INFO 1 com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource Initializing c3p0 pool... com.mchange.v2.c3p0.ComboPooledDataSource [ acquireIncrement -> 5, acquireRetryAttempts -> 0, acquireRetryDelay -> 500, autoCommitOnClose -> true, automaticTestTable -> connection_test_table, breakAfterAcquireFailure -> false, checkoutTimeout -> 0, connectionCustomizerClassName -> null, connectionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, dataSourceName -> 1hge15z8j1bv9pqzx7sirn|7139e9f8, debugUnreturnedConnectionStackTraces -> false, description -> null, driverClass -> com.mysql.jdbc.Driver, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, identityToken -> 1hge15z8j1bv9pqzx7sirn|7139e9f8, idleConnectionTestPeriod -> 3600, initialPoolSize -> 10, jdbcUrl -> jdbc:mysql://localhost/l2jgs, maxAdministrativeTaskTime -> 0, maxConnectionAge -> 0, maxIdleTime -> 0, maxIdleTimeExcessConnections -> 0, maxPoolSize -> 100, maxStatements -> 0, maxStatementsPerConnection -> 100, minPoolSize -> 10, numHelperThreads -> 3, numThreadsAwaitingCheckoutDefaultUser -> 0, preferredTestQuery -> null, properties -> {user=******, password=******}, propertyCycle -> 0, statementCacheNumDeferredCloseThreads -> 0, statementDestroyerNumActiveThreads -> -1, statementDestroyerNumConnectionsInUseAllUsers -> -1, statementDestroyerNumConnectionsInUseDefaultUser -> -1, statementDestroyerNumConnectionsWithDeferredDestroyStatementsAllUsers -> -1, statementDestroyerNumConnectionsWithDeferredDestroyStatementsDefaultUser -> -1, statementDestroyerNumDeferredDestroyStatementsAllUsers -> -1, statementDestroyerNumDeferredDestroyStatementsDefaultUser -> -1, statementDestroyerNumIdleThreads -> -1, statementDestroyerNumTasksPending -> -1, statementDestroyerNumThreads -> -1, testConnectionOnCheckin -> false, testConnectionOnCheckout -> false, unreturnedConnectionTimeout -> 0, usesTraditionalReflectiveProxies -> false ]

2011.11.16 14:16:31,983 INFO 1 com.l2jserver.gameserver.GameServer L2J Server Version:    5079

2011.11.16 14:16:31,983 INFO 1 com.l2jserver.gameserver.GameServer L2J Datapack Version:  Unsupported Custom Version.

2011.11.16 14:16:31,999 INFO 1 com.l2jserver.gameserver.idfactory.IdFactory Updated characters online status.

2011.11.16 14:16:32,077 INFO 1 com.l2jserver.gameserver.idfactory.IdFactory Cleaned 0 elements from database in 0 s

2011.11.16 14:16:32,077 INFO 1 com.l2jserver.gameserver.idfactory.IdFactory Cleaned 0 expired timestamps from database.

2011.11.16 14:16:32,093 INFO 1 com.l2jserver.gameserver.idfactory.BitSetIDFactory IDFactory: 102912 id's available.

2011.11.16 14:16:32,093 INFO 1 com.l2jserver.gameserver.GameServer ------------------------------------------------------------------=[ Engines ]

2011.11.16 14:16:32,093 INFO 1 com.l2jserver.gameserver.scripting.L2ScriptEngineManager Initializing Script Engine Manager

2011.11.16 14:16:32,529 INFO 1 com.l2jserver.gameserver.scripting.L2ScriptEngineManager Script Engine: jython 2.2.1 - Language: python - Language Version: 2.2.1

2011.11.16 14:16:32,561 INFO 1 com.l2jserver.gameserver.scripting.L2ScriptEngineManager Script Engine: BeanShell Engine 1.1 - Language: BeanShell - Language Version: 2.0b5

2011.11.16 14:16:32,576 INFO 1 com.l2jserver.gameserver.scripting.L2ScriptEngineManager Script Engine: java 1.7 - Language: java - Language Version: 1.7

2011.11.16 14:16:32,592 INFO 1 com.l2jserver.gameserver.scripting.L2ScriptEngineManager Script Engine: Mozilla Rhino 1.7 release 3 PRERELEASE - Language: ECMAScript - Language Version: 1.8

2011.11.16 14:16:32,685 INFO 1 com.l2jserver.gameserver.GameServer --------------------------------------------------------------------=[ World ]

2011.11.16 14:16:32,685 INFO 1 com.l2jserver.gameserver.instancemanager.InstanceManager Initializing InstanceManager

2011.11.16 14:16:32,685 WARNING 1 com.l2jserver.gameserver.instancemanager.InstanceManager instancenames.xml could not be loaded: file not found

2011.11.16 14:16:32,685 INFO 1 com.l2jserver.gameserver.instancemanager.InstanceManager Loaded 0 instance names

2011.11.16 14:16:32,701 INFO 1 com.l2jserver.gameserver.instancemanager.InstanceManager Multiverse Instance created

2011.11.16 14:16:32,701 INFO 1 com.l2jserver.gameserver.instancemanager.InstanceManager Universe Instance created

2011.11.16 14:16:32,800 INFO 1 com.l2jserver.gameserver.model.L2World L2World: (128 by 136) World Region Grid set up.

2011.11.16 14:16:32,822 SEVERE 1 com.l2jserver.gameserver.instancemanager.MapRegionManager Failed loading MapRegion

2011.11.16 14:16:32,831 WARNING 1 com.l2jserver.gameserver.Announcements data/announcements.txt doesn't exist

2011.11.16 14:16:32,834 INFO 1 com.l2jserver.gameserver.GameServer -------------------------------------------------------------------=[ Skills ]

2011.11.16 14:16:32,836 WARNING 1 com.l2jserver.gameserver.handler.EffectHandler Problems while running EffectMansterHandler

2011.11.16 14:16:32,848 CONFIG 1 com.l2jserver.gameserver.handler.EffectHandler Loaded 0 Effect handlers

2011.11.16 14:16:32,867 INFO 1 com.l2jserver.gameserver.datatables.EnchantGroupsTable EnchantGroupsTable: Loaded 5 groups.

2011.11.16 14:16:32,870 WARNING 1 com.l2jserver.gameserver.skills.SkillsEngine Dir C:\L2J\server\gameserver\data\stats\items not exists

2011.11.16 14:16:32,870 WARNING 1 com.l2jserver.gameserver.skills.SkillsEngine Dir C:\L2J\server\gameserver\data\stats\skills not exists

2011.11.16 14:16:32,872 INFO 1 com.l2jserver.gameserver.skills.SkillsEngine SkillsEngine: Loaded 0 Skill templates from XML files.

2011.11.16 14:16:32,875 WARNING 1 com.l2jserver.gameserver.datatables.SkillTable No skill info found for skill id 4215 and skill level 1.

2011.11.16 14:16:32,876 WARNING 1 com.l2jserver.gameserver.datatables.SkillTable No skill info found for skill id 4515 and skill level 1.

2011.11.16 14:16:32,876 WARNING 1 com.l2jserver.gameserver.datatables.SkillTable No skill info found for skill id 246 and skill level 1.

2011.11.16 14:16:32,877 WARNING 1 com.l2jserver.gameserver.datatables.SkillTable No skill info found for skill id 247 and skill level 1.

2011.11.16 14:16:32,878 WARNING 1 com.l2jserver.gameserver.datatables.SkillTable No skill info found for skill id 4289 and skill level 1.

2011.11.16 14:16:32,879 WARNING 1 com.l2jserver.gameserver.datatables.SkillTable No skill info found for skill id 325 and skill level 1.

2011.11.16 14:16:32,879 WARNING 1 com.l2jserver.gameserver.datatables.SkillTable No skill info found for skill id 4616 and skill level 1.

2011.11.16 14:16:32,880 WARNING 1 com.l2jserver.gameserver.datatables.SkillTable No skill info found for skill id 5965 and skill level 1.

2011.11.16 14:16:32,881 WARNING 1 com.l2jserver.gameserver.datatables.SkillTable No skill info found for skill id 2025 and skill level 1.

2011.11.16 14:16:32,881 WARNING 1 com.l2jserver.gameserver.datatables.SkillTable No skill info found for skill id 5182 and skill level 1.

2011.11.16 14:16:32,882 WARNING 1 com.l2jserver.gameserver.datatables.SkillTable No skill info found for skill id 4380 and skill level 1.

2011.11.16 14:16:32,883 WARNING 1 com.l2jserver.gameserver.datatables.SkillTable No skill info found for skill id 3630 and skill level 1.

2011.11.16 14:16:32,883 WARNING 1 com.l2jserver.gameserver.datatables.SkillTable No skill info found for skill id 3631 and skill level 1.

2011.11.16 14:16:32,884 WARNING 1 com.l2jserver.gameserver.datatables.SkillTable No skill info found for skill id 5074 and skill level 1.

2011.11.16 14:16:32,885 WARNING 1 com.l2jserver.gameserver.datatables.SkillTable No skill info found for skill id 5075 and skill level 1.

2011.11.16 14:16:32,885 WARNING 1 com.l2jserver.gameserver.datatables.SkillTable No skill info found for skill id 2139 and skill level 1.

 

  • 0
Posted

Update to Java 7 and try it, or if you are using Java 7 then you might have an older server library and need to downgrade to Java 6 Update 25.

 

For the second error you did not make a HexID file and copy it to your configs, and the rest looks like you either did not copy the datapack correctly into the gameserver or install the sql tables correctly.

 

For the hell of it i downloaded the L2jServer nightlies nad installed them, no problem on my end.

  • 0
Posted

when i click on registergameserver it says

 

no avaible names  for gameserver verify servername.xml file but i did that !

 

and i downloaded and i did all sql tables

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...