Okay, I reinstalled the sdk and updated to 3.0.10. Now, here is the process I am doing:
Run the ServerMain
Run the ClientMain
Run another ClientMain
Make a name in the first client and go to the lobby
When trying to go to the lobby on the second client so that I can hit start game to get in game, the first client crashes and the second client goes to the lobby.
Here is the log from the server:
[java]ant -f C:\Users\Davis\Documents\JmonkeyEngine\monkeyzone\trunk -Djavac.includes=com/jme3/monkeyzone/ServerMain.java -Drun.class=com.jme3.monkeyzone.ServerMain run-single
init:
Deleting: C:\Users\Davis\Documents\JmonkeyEngine\monkeyzone\trunk\build\built-jar.properties
deps-jar:
Updating property file: C:\Users\Davis\Documents\JmonkeyEngine\monkeyzone\trunk\build\built-jar.properties
Compiling 1 source file to C:\Users\Davis\Documents\JmonkeyEngine\monkeyzone\trunk\build\classes
warning: [options] bootstrap class path not set in conjunction with -source 1.5
1 warning
compile-single:
run-single:
Jun 24, 2014 11:47:01 AM com.jme3.system.JmeDesktopSystem initialize
INFO: Running on jMonkeyEngine 3.0.10
Jun 24, 2014 11:47:01 AM com.jme3.asset.AssetConfig loadText
WARNING: Cannot find loader com.jme3.scene.plugins.ogre.MeshLoader
Jun 24, 2014 11:47:01 AM com.jme3.asset.AssetConfig loadText
WARNING: Cannot find loader com.jme3.scene.plugins.ogre.SkeletonLoader
Jun 24, 2014 11:47:01 AM com.jme3.asset.AssetConfig loadText
WARNING: Cannot find loader com.jme3.scene.plugins.ogre.MaterialLoader
Jun 24, 2014 11:47:01 AM com.jme3.asset.AssetConfig loadText
WARNING: Cannot find loader com.jme3.scene.plugins.ogre.SceneLoader
Jun 24, 2014 11:47:01 AM com.jme3.asset.AssetConfig loadText
WARNING: Cannot find loader com.jme3.scene.plugins.blender.BlenderModelLoader
Jun 24, 2014 11:48:01 AM com.jme3.monkeyzone.ServerNetListener messageReceived
INFO: Got handshake message
Jun 24, 2014 11:48:01 AM com.jme3.monkeyzone.ServerNetListener messageReceived
INFO: Sent back handshake message
Jun 24, 2014 11:48:01 AM com.jme3.monkeyzone.ServerNetListener messageReceived
INFO: Got client join message
Jun 24, 2014 11:48:01 AM com.jme3.monkeyzone.ServerNetListener messageReceived
INFO: Created new played ID 0
Jun 24, 2014 11:48:01 AM com.jme3.monkeyzone.ServerNetListener messageReceived
INFO: Login succesful - sent back join message
Jun 24, 2014 11:48:01 AM com.jme3.monkeyzone.WorldManager addPlayer
INFO: Adding player: 0
Jun 24, 2014 11:48:10 AM com.jme3.monkeyzone.ServerNetListener messageReceived
INFO: Got handshake message
Jun 24, 2014 11:48:10 AM com.jme3.monkeyzone.ServerNetListener messageReceived
INFO: Sent back handshake message
Jun 24, 2014 11:48:10 AM com.jme3.monkeyzone.ServerNetListener messageReceived
INFO: Got client join message
Jun 24, 2014 11:48:10 AM com.jme3.monkeyzone.ServerNetListener messageReceived
INFO: Created new played ID 1
Jun 24, 2014 11:48:10 AM com.jme3.monkeyzone.ServerNetListener messageReceived
INFO: Login succesful - sent back join message
Jun 24, 2014 11:48:10 AM com.jme3.monkeyzone.WorldManager addPlayer
INFO: Adding player: 1
Jun 24, 2014 11:48:10 AM com.jme3.monkeyzone.ServerNetListener$2 call
INFO: Send player 0 to client 1
Jun 24, 2014 11:48:10 AM com.jme3.monkeyzone.WorldManager removePlayer
INFO: Removing player: 0
Jun 24, 2014 11:48:10 AM class com.jme3.app.AppTask invoke()
SEVERE: Exception
java.lang.NullPointerException
at com.jme3.monkeyzone.PlayerData.getLongData(PlayerData.java:225)
at com.jme3.monkeyzone.PlayerData.getLongData(PlayerData.java:136)
at com.jme3.monkeyzone.WorldManager.removePlayer(WorldManager.java:327)
at com.jme3.monkeyzone.ServerNetListener$1.call(ServerNetListener.java:89)
at com.jme3.monkeyzone.ServerNetListener$1.call(ServerNetListener.java:85)
at com.jme3.app.AppTask.invoke(AppTask.java:142)
at com.jme3.app.Application.runQueuedTasks(Application.java:583)
at com.jme3.app.Application.update(Application.java:596)
at com.jme3.app.SimpleApplication.update(SimpleApplication.java:231)
at com.jme3.system.NullContext.run(NullContext.java:130)
at java.lang.Thread.run(Thread.java:744)
[/java]
Here is the log from the first client:
[java]ant -f C:\Users\Davis\Documents\JmonkeyEngine\monkeyzone\trunk -Djavac.includes=com/jme3/monkeyzone/ClientMain.java -Drun.class=com.jme3.monkeyzone.ClientMain run-single
init:
Deleting: C:\Users\Davis\Documents\JmonkeyEngine\monkeyzone\trunk\build\built-jar.properties
deps-jar:
Updating property file: C:\Users\Davis\Documents\JmonkeyEngine\monkeyzone\trunk\build\built-jar.properties
Compiling 1 source file to C:\Users\Davis\Documents\JmonkeyEngine\monkeyzone\trunk\build\classes
warning: [options] bootstrap class path not set in conjunction with -source 1.5
Note: C:\Users\Davis\Documents\JmonkeyEngine\monkeyzone\trunk\src\com\jme3\monkeyzone\ClientMain.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
1 warning
compile-single:
run-single:
Jun 24, 2014 11:47:48 AM com.jme3.system.JmeDesktopSystem initialize
INFO: Running on jMonkeyEngine 3.0.10
Jun 24, 2014 11:47:48 AM com.jme3.system.Natives extractNativeLibs
INFO: Extraction Directory: C:\Users\Davis\Documents\JmonkeyEngine\monkeyzone\trunk
Jun 24, 2014 11:47:48 AM com.jme3.system.lwjgl.LwjglContext printContextInitInfo
INFO: Lwjgl 2.9.0 context running on thread LWJGL Renderer Thread
Jun 24, 2014 11:47:48 AM com.jme3.system.lwjgl.LwjglContext printContextInitInfo
INFO: Adapter: aticfx64
Jun 24, 2014 11:47:48 AM com.jme3.system.lwjgl.LwjglContext printContextInitInfo
INFO: Driver Version: 8.17.10.1191
Jun 24, 2014 11:47:48 AM com.jme3.system.lwjgl.LwjglContext printContextInitInfo
INFO: Vendor: ATI Technologies Inc.
Jun 24, 2014 11:47:48 AM com.jme3.system.lwjgl.LwjglContext printContextInitInfo
INFO: OpenGL Version: 4.2.12217 Compatibility Profile Context 12.104.0.0
Jun 24, 2014 11:47:48 AM com.jme3.system.lwjgl.LwjglContext printContextInitInfo
INFO: Renderer: AMD Radeon HD 6520G
Jun 24, 2014 11:47:48 AM com.jme3.system.lwjgl.LwjglContext printContextInitInfo
INFO: GLSL Ver: 4.20
Jun 24, 2014 11:47:49 AM com.jme3.asset.AssetConfig loadText
WARNING: Cannot find loader com.jme3.scene.plugins.ogre.MeshLoader
Jun 24, 2014 11:47:49 AM com.jme3.asset.AssetConfig loadText
WARNING: Cannot find loader com.jme3.scene.plugins.ogre.SkeletonLoader
Jun 24, 2014 11:47:49 AM com.jme3.asset.AssetConfig loadText
WARNING: Cannot find loader com.jme3.scene.plugins.ogre.MaterialLoader
Jun 24, 2014 11:47:49 AM com.jme3.asset.AssetConfig loadText
WARNING: Cannot find loader com.jme3.scene.plugins.ogre.SceneLoader
Jun 24, 2014 11:47:49 AM com.jme3.asset.AssetConfig loadText
WARNING: Cannot find loader com.jme3.scene.plugins.blender.BlenderModelLoader
Jun 24, 2014 11:47:49 AM com.jme3.audio.lwjgl.LwjglAudioRenderer initInThread
INFO: Audio Device: OpenAL Soft
Jun 24, 2014 11:47:49 AM com.jme3.audio.lwjgl.LwjglAudioRenderer initInThread
INFO: Audio Vendor: OpenAL Community
Jun 24, 2014 11:47:49 AM com.jme3.audio.lwjgl.LwjglAudioRenderer initInThread
INFO: Audio Renderer: OpenAL Soft
Jun 24, 2014 11:47:49 AM com.jme3.audio.lwjgl.LwjglAudioRenderer initInThread
INFO: Audio Version: 1.1 ALSOFT 1.15.1
Jun 24, 2014 11:47:49 AM com.jme3.audio.lwjgl.LwjglAudioRenderer initInThread
INFO: AudioRenderer supports 64 channels
Jun 24, 2014 11:47:49 AM com.jme3.audio.lwjgl.LwjglAudioRenderer initInThread
INFO: Audio effect extension version: 1.0
Jun 24, 2014 11:47:49 AM com.jme3.audio.lwjgl.LwjglAudioRenderer initInThread
INFO: Audio max auxilary sends: 4
Jun 24, 2014 11:48:01 AM com.jme3.monkeyzone.ClientNetListener clientConnected
INFO: Sent handshake message
Jun 24, 2014 11:48:01 AM com.jme3.monkeyzone.ClientNetListener messageReceived
INFO: Got handshake message back
Jun 24, 2014 11:48:01 AM com.jme3.monkeyzone.ClientNetListener messageReceived
INFO: Got login message back, we’re in
Jun 24, 2014 11:48:01 AM com.jme3.monkeyzone.ClientMain updatePlayerData
INFO: Updating player data
Jun 24, 2014 11:48:01 AM com.jme3.network.physicssync.PhysicsSyncManager enqueueMessage
INFO: Initial offset -47.276
Jun 24, 2014 11:48:01 AM com.jme3.monkeyzone.WorldManager addPlayer
INFO: Adding player: 0
Jun 24, 2014 11:48:01 AM de.lessvoid.nifty.screen.Screen registerElementId
WARNING: Possible conflicting id [panel] detected. Consider making all Ids unique or use #id in control-definitions.
Jun 24, 2014 11:48:01 AM de.lessvoid.nifty.screen.Screen registerElementId
WARNING: Possible conflicting id [panel] detected. Consider making all Ids unique or use #id in control-definitions.
Jun 24, 2014 11:48:01 AM de.lessvoid.nifty.controls.listbox.ListBoxControl getScrollbarMode
WARNING: unknown scrollbar mode [horizontal] falling back to ‘on’
Jun 24, 2014 11:48:01 AM de.lessvoid.nifty.screen.Screen registerElementId
WARNING: Possible conflicting id [panel] detected. Consider making all Ids unique or use #id in control-definitions.
Jun 24, 2014 11:48:01 AM de.lessvoid.nifty.controls.listbox.ListBoxControl getScrollbarMode
WARNING: unknown scrollbar mode [horizontal] falling back to ‘on’
Jun 24, 2014 11:48:01 AM de.lessvoid.nifty.controls.listbox.ListBoxControl getScrollbarMode
WARNING: unknown scrollbar mode [horizontal] falling back to ‘on’
Jun 24, 2014 11:48:10 AM com.jme3.monkeyzone.ClientMain updatePlayerData
INFO: Updating player data
Jun 24, 2014 11:48:10 AM class com.jme3.app.AppTask invoke()
SEVERE: Exception
java.lang.RuntimeException: java.lang.NullPointerException
at de.lessvoid.nifty.Nifty.addControlsWithoutStartScreen(Nifty.java:426)
at de.lessvoid.nifty.controls.dynamic.TextCreator.create(TextCreator.java:32)
at com.jme3.monkeyzone.ClientMain$3.call(ClientMain.java:248)
at com.jme3.monkeyzone.ClientMain$3.call(ClientMain.java:241)
at com.jme3.app.AppTask.invoke(AppTask.java:142)
at com.jme3.app.Application.runQueuedTasks(Application.java:583)
at com.jme3.app.Application.update(Application.java:596)
at com.jme3.app.SimpleApplication.update(SimpleApplication.java:231)
at com.jme3.system.lwjgl.LwjglAbstractDisplay.runLoop(LwjglAbstractDisplay.java:151)
at com.jme3.system.lwjgl.LwjglDisplay.runLoop(LwjglDisplay.java:185)
at com.jme3.system.lwjgl.LwjglAbstractDisplay.run(LwjglAbstractDisplay.java:228)
at java.lang.Thread.run(Thread.java:744)
Caused by: java.lang.NullPointerException
at de.lessvoid.nifty.controls.dynamic.attributes.ControlAttributes.buildControl(ControlAttributes.java:389)
at de.lessvoid.nifty.controls.dynamic.attributes.ControlAttributes.createText(ControlAttributes.java:344)
at de.lessvoid.nifty.controls.dynamic.TextCreator.access$000(TextCreator.java:12)
at de.lessvoid.nifty.controls.dynamic.TextCreator$1.createControl(TextCreator.java:29)
at de.lessvoid.nifty.Nifty$ControlToAdd.createControl(Nifty.java:1000)
at de.lessvoid.nifty.Nifty.addControlsWithoutStartScreen(Nifty.java:424)
… 11 more
Jun 24, 2014 11:48:10 AM class com.jme3.app.AppTask invoke()
SEVERE: Exception
java.lang.NullPointerException
at com.jme3.monkeyzone.ClientMain$2.call(ClientMain.java:219)
at com.jme3.monkeyzone.ClientMain$2.call(ClientMain.java:213)
at com.jme3.app.AppTask.invoke(AppTask.java:142)
at com.jme3.app.Application.runQueuedTasks(Application.java:583)
at com.jme3.app.Application.update(Application.java:596)
at com.jme3.app.SimpleApplication.update(SimpleApplication.java:231)
at com.jme3.system.lwjgl.LwjglAbstractDisplay.runLoop(LwjglAbstractDisplay.java:151)
at com.jme3.system.lwjgl.LwjglDisplay.runLoop(LwjglDisplay.java:185)
at com.jme3.system.lwjgl.LwjglAbstractDisplay.run(LwjglAbstractDisplay.java:228)
at java.lang.Thread.run(Thread.java:744)
Jun 24, 2014 11:48:10 AM com.jme3.app.Application handleError
SEVERE: Uncaught exception thrown in Thread[LWJGL Renderer Thread,5,main]
java.lang.RuntimeException: java.lang.NullPointerException
at de.lessvoid.nifty.Nifty.addControls(Nifty.java:409)
at de.lessvoid.nifty.Nifty.handleDynamicElements(Nifty.java:357)
at de.lessvoid.nifty.Nifty.update(Nifty.java:293)
at com.jme3.niftygui.InputSystemJme.endInput(InputSystemJme.java:113)
at com.jme3.input.InputManager.processQueue(InputManager.java:819)
at com.jme3.input.InputManager.update(InputManager.java:883)
at com.jme3.app.Application.update(Application.java:604)
at com.jme3.app.SimpleApplication.update(SimpleApplication.java:231)
at com.jme3.system.lwjgl.LwjglAbstractDisplay.runLoop(LwjglAbstractDisplay.java:151)
at com.jme3.system.lwjgl.LwjglDisplay.runLoop(LwjglDisplay.java:185)
at com.jme3.system.lwjgl.LwjglAbstractDisplay.run(LwjglAbstractDisplay.java:228)
at java.lang.Thread.run(Thread.java:744)
Caused by: java.lang.NullPointerException
at de.lessvoid.nifty.controls.dynamic.attributes.ControlAttributes.buildControl(ControlAttributes.java:389)
at de.lessvoid.nifty.controls.dynamic.attributes.ControlAttributes.createText(ControlAttributes.java:344)
at de.lessvoid.nifty.controls.dynamic.TextCreator.access$000(TextCreator.java:12)
at de.lessvoid.nifty.controls.dynamic.TextCreator$1.createControl(TextCreator.java:29)
at de.lessvoid.nifty.Nifty$ControlToAdd.createControl(Nifty.java:1000)
at de.lessvoid.nifty.Nifty.addControls(Nifty.java:407)
… 11 more
BUILD SUCCESSFUL (total time: 1 minute 56 seconds)[/java]
Here is the log from the second client:
[java]
ant -f C:\Users\Davis\Documents\JmonkeyEngine\monkeyzone\trunk -Djavac.includes=com/jme3/monkeyzone/ClientMain.java -Drun.class=com.jme3.monkeyzone.ClientMain run-single
init:
Deleting: C:\Users\Davis\Documents\JmonkeyEngine\monkeyzone\trunk\build\built-jar.properties
deps-jar:
Updating property file: C:\Users\Davis\Documents\JmonkeyEngine\monkeyzone\trunk\build\built-jar.properties
Compiling 1 source file to C:\Users\Davis\Documents\JmonkeyEngine\monkeyzone\trunk\build\classes
warning: [options] bootstrap class path not set in conjunction with -source 1.5
Note: C:\Users\Davis\Documents\JmonkeyEngine\monkeyzone\trunk\src\com\jme3\monkeyzone\ClientMain.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
1 warning
compile-single:
run-single:
Jun 24, 2014 11:47:19 AM com.jme3.system.JmeDesktopSystem initialize
INFO: Running on jMonkeyEngine 3.0.10
Jun 24, 2014 11:47:19 AM com.jme3.system.Natives extractNativeLibs
INFO: Extraction Directory: C:\Users\Davis\Documents\JmonkeyEngine\monkeyzone\trunk
Jun 24, 2014 11:47:19 AM com.jme3.system.lwjgl.LwjglContext printContextInitInfo
INFO: Lwjgl 2.9.0 context running on thread LWJGL Renderer Thread
Jun 24, 2014 11:47:19 AM com.jme3.system.lwjgl.LwjglContext printContextInitInfo
INFO: Adapter: aticfx64
Jun 24, 2014 11:47:20 AM com.jme3.system.lwjgl.LwjglContext printContextInitInfo
INFO: Driver Version: 8.17.10.1191
Jun 24, 2014 11:47:20 AM com.jme3.system.lwjgl.LwjglContext printContextInitInfo
INFO: Vendor: ATI Technologies Inc.
Jun 24, 2014 11:47:20 AM com.jme3.system.lwjgl.LwjglContext printContextInitInfo
INFO: OpenGL Version: 4.2.12217 Compatibility Profile Context 12.104.0.0
Jun 24, 2014 11:47:20 AM com.jme3.system.lwjgl.LwjglContext printContextInitInfo
INFO: Renderer: AMD Radeon HD 6520G
Jun 24, 2014 11:47:20 AM com.jme3.system.lwjgl.LwjglContext printContextInitInfo
INFO: GLSL Ver: 4.20
Jun 24, 2014 11:47:20 AM com.jme3.asset.AssetConfig loadText
WARNING: Cannot find loader com.jme3.scene.plugins.ogre.MeshLoader
Jun 24, 2014 11:47:20 AM com.jme3.asset.AssetConfig loadText
WARNING: Cannot find loader com.jme3.scene.plugins.ogre.SkeletonLoader
Jun 24, 2014 11:47:20 AM com.jme3.asset.AssetConfig loadText
WARNING: Cannot find loader com.jme3.scene.plugins.ogre.MaterialLoader
Jun 24, 2014 11:47:20 AM com.jme3.asset.AssetConfig loadText
WARNING: Cannot find loader com.jme3.scene.plugins.ogre.SceneLoader
Jun 24, 2014 11:47:20 AM com.jme3.asset.AssetConfig loadText
WARNING: Cannot find loader com.jme3.scene.plugins.blender.BlenderModelLoader
Jun 24, 2014 11:47:20 AM com.jme3.audio.lwjgl.LwjglAudioRenderer initInThread
INFO: Audio Device: OpenAL Soft
Jun 24, 2014 11:47:20 AM com.jme3.audio.lwjgl.LwjglAudioRenderer initInThread
INFO: Audio Vendor: OpenAL Community
Jun 24, 2014 11:47:20 AM com.jme3.audio.lwjgl.LwjglAudioRenderer initInThread
INFO: Audio Renderer: OpenAL Soft
Jun 24, 2014 11:47:20 AM com.jme3.audio.lwjgl.LwjglAudioRenderer initInThread
INFO: Audio Version: 1.1 ALSOFT 1.15.1
Jun 24, 2014 11:47:20 AM com.jme3.audio.lwjgl.LwjglAudioRenderer initInThread
INFO: AudioRenderer supports 64 channels
Jun 24, 2014 11:47:20 AM com.jme3.audio.lwjgl.LwjglAudioRenderer initInThread
INFO: Audio effect extension version: 1.0
Jun 24, 2014 11:47:20 AM com.jme3.audio.lwjgl.LwjglAudioRenderer initInThread
INFO: Audio max auxilary sends: 4
Jun 24, 2014 11:48:10 AM com.jme3.monkeyzone.ClientNetListener clientConnected
INFO: Sent handshake message
Jun 24, 2014 11:48:10 AM com.jme3.monkeyzone.ClientNetListener messageReceived
INFO: Got handshake message back
Jun 24, 2014 11:48:10 AM com.jme3.monkeyzone.ClientNetListener messageReceived
INFO: Got login message back, we’re in
Jun 24, 2014 11:48:10 AM com.jme3.monkeyzone.ClientMain updatePlayerData
INFO: Updating player data
Jun 24, 2014 11:48:10 AM com.jme3.monkeyzone.ClientMain updatePlayerData
INFO: Updating player data
Jun 24, 2014 11:48:10 AM com.jme3.network.physicssync.PhysicsSyncManager enqueueMessage
INFO: Initial offset -18.365
Jun 24, 2014 11:48:10 AM com.jme3.monkeyzone.WorldManager addPlayer
INFO: Adding player: 1
Jun 24, 2014 11:48:10 AM com.jme3.monkeyzone.WorldManager addPlayer
INFO: Adding player: 0
Jun 24, 2014 11:48:10 AM com.jme3.monkeyzone.ClientMain updatePlayerData
INFO: Updating player data
Jun 24, 2014 11:48:10 AM com.jme3.network.physicssync.PhysicsSyncManager enqueueMessage
INFO: Increase offset due to low delaytime (-0.006)
Jun 24, 2014 11:48:10 AM com.jme3.monkeyzone.ClientMain$2 call
INFO: List player com.jme3.monkeyzone.PlayerData@6c8dd47a
Jun 24, 2014 11:48:10 AM com.jme3.monkeyzone.ClientMain$2 call
INFO: List player com.jme3.monkeyzone.PlayerData@1fec1485
Jun 24, 2014 11:48:10 AM com.jme3.monkeyzone.WorldManager removePlayer
INFO: Removing player: 0
Jun 24, 2014 11:48:10 AM de.lessvoid.nifty.screen.Screen registerElementId
WARNING: Possible conflicting id [panel] detected. Consider making all Ids unique or use #id in control-definitions.
Jun 24, 2014 11:48:10 AM de.lessvoid.nifty.screen.Screen registerElementId
WARNING: Possible conflicting id [panel] detected. Consider making all Ids unique or use #id in control-definitions.
Jun 24, 2014 11:48:10 AM de.lessvoid.nifty.screen.Screen registerElementId
WARNING: Possible conflicting id [5] detected. Consider making all Ids unique or use #id in control-definitions.
Jun 24, 2014 11:48:10 AM de.lessvoid.nifty.controls.listbox.ListBoxControl getScrollbarMode
WARNING: unknown scrollbar mode [horizontal] falling back to ‘on’
Jun 24, 2014 11:48:10 AM de.lessvoid.nifty.screen.Screen registerElementId
WARNING: Possible conflicting id [panel] detected. Consider making all Ids unique or use #id in control-definitions.
Jun 24, 2014 11:48:10 AM de.lessvoid.nifty.controls.listbox.ListBoxControl getScrollbarMode
WARNING: unknown scrollbar mode [horizontal] falling back to ‘on’
Jun 24, 2014 11:48:10 AM de.lessvoid.nifty.controls.listbox.ListBoxControl getScrollbarMode
WARNING: unknown scrollbar mode [horizontal] falling back to ‘on’
BUILD STOPPED (total time: 6 minutes 32 seconds)[/java]