Projects tigase _server server-core Issues #546
Get Configuration Error (UI) (#546)
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)

May be related to issue 3429 as the same error exists.

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 - how do you run Tigase Server as the fist issue should not happen normally.

Btw. when you post issues regarding some UI please also include screenshots - it will make easier to track the issue :-)

Daniel Wisnewski commented 9 years ago

Works OK, Closing Issue.

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