Projects tigase _server server-core Issues #544
Get Configuration Error (#544)
Daniel Wisnewski opened 9 years ago
Due Date
2015-09-29

Admin UI Get Configuration dialog lists both configuration file, but returns NPE.

Script execution error.

javax.script.ScriptException: java.lang.NullPointerException: Cannot invoke method tokenize() on null object

debug info

javax.script.ScriptException: java.lang.NullPointerException: Cannot invoke method tokenize() on null object

javax.script.ScriptException: javax.script.ScriptException: java.lang.NullPointerException: Cannot invoke method tokenize() on null object

org.codehaus.groovy.jsr223.GroovyScriptEngineImpl.eval(GroovyScriptEngineImpl.java:151)

tigase.server.script.Script.runCommand(Script.java:161)

tigase.server.BasicComponent.processScriptCommand(BasicComponent.java:1002)

tigase.server.BasicComponent.processPacket(BasicComponent.java:312)

tigase.server.MessageRouter.processPacket(MessageRouter.java:303)

tigase.server.AbstractMessageReceiver$QueueListener.run(AbstractMessageReceiver.java:1431)

when init.properties tries to load.

tigase.conf renders a different error

Script execution error.

javax.script.ScriptException: java.io.FileNotFoundException: e (No such file or directory)

Debug info

javax.script.ScriptException: java.io.FileNotFoundException: e (No such file or directory)

javax.script.ScriptException: javax.script.ScriptException: java.io.FileNotFoundException: e (No such file or directory)

org.codehaus.groovy.jsr223.GroovyScriptEngineImpl.eval(GroovyScriptEngineImpl.java:151)

tigase.server.script.Script.runCommand(Script.java:161)

tigase.server.BasicComponent.processScriptCommand(BasicComponent.java:1002)

tigase.server.BasicComponent.processPacket(BasicComponent.java:312)

tigase.server.MessageRouter.processPacket(MessageRouter.java:303)

tigase.server.AbstractMessageReceiver$QueueListener.run(AbstractMessageReceiver.java:1431)

wojciech.kapcia@tigase.net commented 9 years ago

Applied in changeset commit:tigase-server|0f31c888.

wojciech.kapcia@tigase.net commented 9 years ago

I've fixed the admin ad-hoc script that was used in both places.

Daniel Wisnewski commented 9 years ago

Works OK, closing Issue.

issue 1 of 1
Type
Bug
Priority
Normal
Assignee
RedmineID
3429
Version
tigase-server-7.1.0
Issue Votes (0)
Watchers (0)
Reference
tigase/_server/server-core#544
Please wait...
Page is in error, reload to recover