powered by Jive Software

Fastpath canned responses throws exception

If we make a canned response for a workgroup and restart the Openfire Server, the Canned Responses webpage becomes blank and java throws an exception at us:

2010.03.18 08:44:03 [org.jivesoftware.openfire.container.PluginServlet.service(PluginServlet.java:9 9)]
com.thoughtworks.xstream.mapper.CannotResolveClassException: org.jivesoftware.openfire.fastpath.macros.MacroGroup : org.jivesoftware.openfire.fastpath.macros.MacroGroup
at com.thoughtworks.xstream.mapper.DefaultMapper.realClass(DefaultMapper.java:62)
at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38)
at com.thoughtworks.xstream.mapper.DynamicProxyMapper.realClass(DynamicProxyMapper .java:71)
at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38)
at com.thoughtworks.xstream.mapper.ClassAliasingMapper.realClass(ClassAliasingMapp er.java:86)
at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38)

—8<----8<----8<----8<—

This persists until we remove all macros from the fpworkgroupprop table in the database and restart Openfire.

Any ideas?

Version info:

Openfire 3.6.4
7.2-RELEASE-p6 FreeBSD amd64
8.3.3 PostgreSQL
Java Version: 1.6.0_07 The FreeBSD Foundation – Diablo Java HotSpot™ 64-Bit Server VM
Fastpath Service 4.1.0
Fastpath Webchat 4.0.0

Yes, looks like XStream is the culprit on FreeBSD. It requires xstream be rebuilt on FBSD with a newer version, then the issue goes away. Have a look at this thread, http://www.igniterealtime.org/community/message/199368