Projects tigase _server server-core Issues #142
NPE while setting s2s/command/... in init properties (#142)
wojciech.kapcia@tigase.net opened 1 decade ago

putting any configuration regarding command execution for the s2s component in the init properties, e.g.:

s2s/command/s2s-bad-state-conns=LOCAL

results in NPE:

java.lang.NullPointerException
	at tigase.server.xmppserver.S2SConnectionManager.setProperties(S2SConnectionManager.java:740)
	at tigase.conf.ConfiguratorAbstract.itemUpdated(ConfiguratorAbstract.java:144)
	at tigase.conf.ConfiguratorAbstract.itemUpdated(ConfiguratorAbstract.java:71)
	at tigase.conf.ConfigurationCache.addItem(ConfigurationCache.java:105)
	at tigase.conf.ConfigurationCache.putProperties(ConfigurationCache.java:469)
	at tigase.conf.ConfiguratorAbstract.setup(ConfiguratorAbstract.java:866)
	at tigase.conf.ConfiguratorAbstract.componentAdded(ConfiguratorAbstract.java:218)
	at tigase.conf.ConfiguratorAbstract.componentAdded(ConfiguratorAbstract.java:71)
	at tigase.server.AbstractComponentRegistrator.addComponent(AbstractComponentRegistrator.java:115)
	at tigase.server.MessageRouter.addComponent(MessageRouter.java:131)
	at tigase.server.MessageRouter.addRouter(MessageRouter.java:171)
	at tigase.server.MessageRouter.setProperties(MessageRouter.java:697)
	at tigase.conf.ConfiguratorAbstract.setup(ConfiguratorAbstract.java:880)
	at tigase.conf.ConfiguratorAbstract.componentAdded(ConfiguratorAbstract.java:218)
	at tigase.conf.ConfiguratorAbstract.componentAdded(ConfiguratorAbstract.java:71)
	at tigase.server.AbstractComponentRegistrator.addComponent(AbstractComponentRegistrator.java:115)
	at tigase.server.MessageRouter.addRegistrator(MessageRouter.java:157)
	at tigase.server.MessageRouter.setConfig(MessageRouter.java:603)
	at tigase.server.XMPPServer.main(XMPPServer.java:135)
Referenced from commit 7 months ago
issue 1 of 1
Type
Bug
Priority
Normal
Assignee
RedmineID
776
Issue Votes (0)
Watchers (0)
Reference
tigase/_server/server-core#142
Please wait...
Page is in error, reload to recover