Warpholomey Newbie
Posts : 3 Join date : 2012-06-17 Location : Moscow
| Subject: Server startup exceptions (instance.out). Sun 17 Jun - 8:01 | |
| Hello! I just downloaded compiled version of server and tried to run it (following wiki instructions). As a result, the server will not start, but in the log instance.out contains the following: - Code:
-
...
DEBUG [2012-06-17 00:48:27,585] Instance-2 EnginePlugin.handleMessage: got msg id 25, matching 1 hooks for msgtype MessageType['mv.CREATE_INSTANCE', 119] DEBUG [2012-06-17 00:48:27,586] Instance-2 CreateInstanceHook: templateName=sampleworld template override=[Template: name=null (ns=NS.instance, key=name, val=default) DEBUG [2012-06-17 00:48:27,593] Instance-2 CreateInstanceHook: assigned world manager WorldManager1 host=Lipps-HP ERROR [2012-06-17 00:48:27,595] Instance-2 handleMessageImpl java.lang.NullPointerException at java.lang.String.replace(Unknown Source) at multiverse.server.util.FileUtil.expandFileName(FileUtil.java:10) at multiverse.server.plugins.InstancePlugin$CreateInstanceHook.createInstance(InstancePlugin.java:307) at multiverse.server.plugins.InstancePlugin$CreateInstanceHook.handleMessage(InstancePlugin.java:222) at multiverse.server.plugins.InstancePlugin$CreateInstanceHook.processMessage(InstancePlugin.java:216) at multiverse.server.engine.EnginePlugin.handleMessageImpl(EnginePlugin.java:424) at multiverse.server.engine.EnginePlugin$QueuedMessage.run(EnginePlugin.java:458) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) DEBUG [2012-06-17 00:48:27,595] Instance-2 sendResponse to instance,25 type=msgsys.RESPONSE id=26 class=multiverse.msgsys.ExceptionResponseMessage DEBUG [2012-06-17 00:48:27,596] SelfMessage SelfMessageHandler.handle pos=864 DEBUG [2012-06-17 00:48:27,597] SelfMessage handleSelfMessage id=26 responseTo=25 type=msgsys.RESPONSE class=multiverse.msgsys.ExceptionResponseMessage ERROR [2012-06-17 00:48:27,600] main ScriptManager.runPYFile: file=..\config\sampleworld\startup_instance.py Traceback (innermost last): File "..\config\sampleworld\startup_instance.py", line 15, in ? multiverse.msgsys.RPCException(java.lang.NullPointerException in instance)
at java.lang.String.replace(Unknown Source)
at multiverse.server.util.FileUtil.expandFileName(FileUtil.java:10)
at multiverse.server.plugins.InstancePlugin$CreateInstanceHook.createInstance(InstancePlugin.java:307)
at multiverse.server.plugins.InstancePlugin$CreateInstanceHook.handleMessage(InstancePlugin.java:222)
at multiverse.server.plugins.InstancePlugin$CreateInstanceHook.processMessage(InstancePlugin.java:216)
at multiverse.server.engine.EnginePlugin.handleMessageImpl(EnginePlugin.java:424)
at multiverse.server.engine.EnginePlugin$QueuedMessage.run(EnginePlugin.java:458)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
multiverse.msgsys.RPCException: multiverse.msgsys.RPCException(java.lang.NullPointerException in instance)
at org.python.core.Py.JavaError(Unknown Source) at org.python.core.Py.JavaError(Unknown Source) at org.python.core.PyReflectedFunction.__call__(Unknown Source) at org.python.core.PyReflectedFunction.__call__(Unknown Source) at org.python.core.PyObject.__call__(Unknown Source) at org.python.core.PyObject.invoke(Unknown Source) at org.python.pycode._pyx5.f$0(..\config\sampleworld\startup_instance.py:15) at org.python.pycode._pyx5.call_function(..\config\sampleworld\startup_instance.py) at org.python.core.PyTableCode.call(Unknown Source) at org.python.core.PyCode.call(Unknown Source) at org.python.core.Py.runCode(Unknown Source) at multiverse.server.engine.ScriptManager.runPYFile(ScriptManager.java:181) at multiverse.server.engine.ScriptManager.runFile(ScriptManager.java:94) at multiverse.server.engine.Engine.processPostScripts(Engine.java:527) at multiverse.server.engine.Engine.main(Engine.java:382) DEBUG [2012-06-17 00:48:27,600] main Engine, script completed DEBUG [2012-06-17 00:48:30,172] MessageIO Connection closed (exception) java.nio.channels.SocketChannel[connected local=/0.0.0.0:10440 remote=/127.0.0.1:10470] ERROR [2012-06-17 00:48:30,172] MessageIO Lost connection to agent 'mobserver' java.nio.channels.SocketChannel[closed] DEBUG [2012-06-17 00:48:30,213] MessageIO Connection closed (exception) java.nio.channels.SocketChannel[connected local=/0.0.0.0:10440 remote=/127.0.0.1:10593] ERROR [2012-06-17 00:48:30,213] MessageIO Lost connection to agent 'voiceserver' java.nio.channels.SocketChannel[closed] DEBUG [2012-06-17 00:48:30,229] MessageIO Connection closed (exception) java.nio.channels.SocketChannel[connected local=/0.0.0.0:10440 remote=/127.0.0.1:10475] ERROR [2012-06-17 00:48:30,230] MessageIO Lost connection to agent 'proxy_1' java.nio.channels.SocketChannel[closed] DEBUG [2012-06-17 00:48:30,266] MessageIO Connection closed (exception) java.nio.channels.SocketChannel[connected local=/0.0.0.0:10440 remote=/127.0.0.1:10467] ERROR [2012-06-17 00:48:30,267] MessageIO Lost connection to agent 'objmgr' java.nio.channels.SocketChannel[closed] DEBUG [2012-06-17 00:48:30,278] MessageIO Connection closed (exception) java.nio.channels.SocketChannel[connected local=/0.0.0.0:10440 remote=/127.0.0.1:10686] ERROR [2012-06-17 00:48:30,278] MessageIO Lost connection to agent 'login_manager' java.nio.channels.SocketChannel[closed]
I do not know what to do with these exceptions. Again -- this is a server downloaded from the repository. Could you help me solve this problem? | |
|
Warpholomey Newbie
Posts : 3 Join date : 2012-06-17 Location : Moscow
| Subject: Re: Server startup exceptions (instance.out). Sun 17 Jun - 8:03 | |
| Windows 7 (x64):
java version "1.6.0_31" Java(TM) SE Runtime Environment (build 1.6.0_31-b05) Java HotSpot(TM) 64-Bit Server VM (build 20.6-b01, mixed mode)
| |
|
Xangis Foundation Developer
Posts : 124 Join date : 2011-12-30 Location : Beaverton, OR
| Subject: Re: Server startup exceptions (instance.out). Sun 17 Jun - 12:39 | |
| Was it the 2008 or 2012 server version? | |
|
Warpholomey Newbie
Posts : 3 Join date : 2012-06-17 Location : Moscow
| Subject: Re: Server startup exceptions (instance.out). Sun 17 Jun - 20:25 | |
| It was the 2012 server version. Archive server_20120322.zip | |
|
Xangis Foundation Developer
Posts : 124 Join date : 2011-12-30 Location : Beaverton, OR
| Subject: Re: Server startup exceptions (instance.out). Mon 18 Jun - 3:11 | |
| I can't tell what the problem is - it's not something obvious to me from that error. Since it's dying with a null pointer exception in a string replace for expanding a file name, there are a few things that might be happening:
- If you have spaces anywhere in your path or the path of your JDBC, it might be having a problem with those. - If you have any non-ASCII characters, i.e. cyrillic, in your file path, it might be having trouble. I don't think that's been tested. - It seems like there could be a missing file in multiverse/config/sampleworld. | |
|
Delurin Head of Platform Development
Posts : 424 Join date : 2011-08-03
| Subject: Re: Server startup exceptions (instance.out). Tue 19 Jun - 1:45 | |
| It looks like it is missing a link to your worldfiles | |
|
Sponsored content
| Subject: Re: Server startup exceptions (instance.out). | |
| |
|