After the Smack update in recent commits Fastpath seems to be broken in Spark. There was a build failure until smackx-workgroup.jar has been added into the mix. But, the working version (Spark 2.7.4 - Smack 3.3.1) doesn't have this library in the libs folder.
I guess there was some change in 3.4.0 version which brakes Fastpath behavior. Maybe this one https://igniterealtime.org/issues/browse/SMACK-381
I think some users will be annoyed by the absence of Fastpath in 2.7.5, so we would probably have to revert Smack update if no fix can be done about this.
FastpathPlugin.java is filled with "can't resolve" errors pointing to smackx. I guess Robin has moved workgroups code from smack main library to smacx-workgroups and one has to update Fastpath plugin's code to accommodate that.
15 java files in total that needs fixing of imports.
After adding smackx-worgroups.jar to the buildpath i was able to get rid of import errors. But i still can't get Fastpath working after building Spark. Getting this Exception:
Exception in thread "Thread-17" java.lang.ClassCastException: org.jivesoftware.smack.util.PacketParserUtils$UnparsedResultIQ cannot be cast to org.jivesoftware.smackx.workgroup.packet.AgentWorkgroups
So it is this code not going through (though, maybe this is just the first culprit and there will be more after this is fixed):
return Agent.getWorkgroups(workgroupService, jid, SparkManager.getConnection());
And i don't know what is wrong with it. I get that in Smack 3.4.0 all workgroups classes has been moved to smackx-worgroups.jar And there is Agent.GetWorkgroups there and it expects String, String and Connection like that code is querying. That's too complex for me
Closing as we have already upgraded to Smack 4 and there is a new ticket about this.