[jitsi-dev] USER_SEARCH_ENABLED & USER_SEARCH_SERVICE properties are broken.


#1

Hello devs,

Recently I noticed that my local Jitsi installation is not able to retrieve
contacts from the openfire search service.
The service seems to work fine with Spark & Pidgin.

I checked the logs and found that:

16:10:02.825 INFO: [150]
impl.gui.main.contactlist.TreeContactList.queryStatusChanged().477 Contact
query error occured:
net.java.sip.communicator.plugin.usersearch.UserSearchQuery@16d618a
16:10:02.826 SEVERE: [150] util.UtilActivator.uncaughtException().108 An
uncaught exception occurred in thread=Thread[Thread-113,6,main] and message
was: org.jivesoftware.smackx.search.SimpleUserSearch cannot be cast to
net.java.sip.communicator.impl.protocol.jabber.extensions.usersearch.UserSearchIQ
java.lang.ClassCastException:
org.jivesoftware.smackx.search.SimpleUserSearch cannot be cast to
net.java.sip.communicator.impl.protocol.jabber.extensions.usersearch.UserSearchIQ
at
net.java.sip.communicator.impl.protocol.jabber.UserSearchManager.getSearchForm(UserSearchManager.java:122)
at
net.java.sip.communicator.impl.protocol.jabber.UserSearchManager.searchForString(UserSearchManager.java:136)
at
net.java.sip.communicator.impl.protocol.jabber.OperationSetUserSearchJabberImpl.search(OperationSetUserSearchJabberImpl.java:195)
at
net.java.sip.communicator.plugin.usersearch.UserSearchQuery.providerAdded(UserSearchQuery.java:104)
at
net.java.sip.communicator.plugin.usersearch.UserSearchQuery.run(UserSearchQuery.java:78)
at
net.java.sip.communicator.service.contactsource.AsyncContactQuery$1.run(AsyncContactQuery.java:314)

Is there any chance that the search functionallity got broken with the
latest release?

Best regards,
Marin