-
sending a pluginRequest produces weird Errors...
Hi there
I used the code-snippet from this forum to have a room-level plugin call aserver-level plugin.
I'm using ES 3.5 on Mac OS X 10.3.4 with Java VM 1.4.2_03
Well, my plugins work just fine - SOMETIMES...
But very often I get errors from the server like this:
2004/08/02 17:50:54.730 SEVERE [10] (ExecutePluginTransaction.execute): Trouble with ExecutePluginTransaction: JavaScriptException occured while calling pluginRequest: java.lang.NullPointerException
com.electrotank.electroserver.plugins.PluginExcept ion: JavaScriptException occured while calling pluginRequest: java.lang.NullPointerException
com.electrotank.electroserver.plugins.ScriptPlugin .pluginRequest(ScriptPlugin.java:193)
com.electrotank.electroserver.transactions.Execute PluginTransaction.execute(ExecutePluginTransaction .java:54)
com.electrotank.electroserver.transactions.Transac tionHandler.handleTransaction(TransactionHandler.j ava:94)
com.electrotank.electroserver.ChatProtocol.process Message(ChatProtocol.java:235)
org.ronsoft.protoplex.generic.AbstractGenericServe r.drainQueuedMessages(AbstractGenericServer.java:1 44)
org.ronsoft.protoplex.nioimpl.server.NioServer.dra inQueuedMessages(NioServer.java:471)
org.ronsoft.protoplex.nioimpl.server.NioConnection .handleReadySelection(NioConnection.java:177)
org.ronsoft.protoplex.nioimpl.server.Dispatcher$Ha ndlerAdapter.run(Dispatcher.java:448)
EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Wo rker.run(Unknown Source)
java.lang.Thread.run(Thread.java:552)
Both my plugins have a pluginRequest handler specified but the one in the room-level plugin has only a trace command (with double quotes!) in it, since it is only used to track when a user exits the application while in a room...
My Flash movie calls the server-level plugin and as I said: SOMETIMES everything works smoothly but on other times I get this error and afterwards the servers goes off-track, I have to restart it then... I have absolutely no clue in which cases it fails, the same code sometimes works, often it doesn't...
Thanks for any hints
(this is quite Urgent, I'm working on a project for Beat Zimmerli who recently registered the Server...)
Michael
-
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules