Quantcast
Channel: Ignite Realtime: Message List
Viewing all articles
Browse latest Browse all 12000

Re: Problems with manifest files in 4.0.0-rc2

$
0
0
  1. java.lang.ClassCastException: org.jivesoftware.smack.util.PacketParserUtils$UnparsedResultIQ cannot be cast to org.jivesoftware.smackx.disco.packet.DiscoverInfo

Would be great to know *where* in Smack this happens. Could you show us some more stacktrace?

 

From my point of view, the providers from the extension bundle are not loaded. I cannot find a trigger inside the extension bundle.

The process with Smack 4 is: SmackConfiguration -> org.jivesoftware.smack/smack-config.xml -> org.jivesoftware.smackx.ExtensionProviderInitializer -> org.jivesoftware.smackx/extensions.providers

 

That fails, because the classes are no longer visible to the core.

Could you elaborate that? I assume the classloader of core is not able to load other classes outside of the core OSGi bundle. Is this correct? If so, is there any way to change that without resorting to using fragments? If not, I think the only sane option would be to use fragments again.

 

But I want to fully understand the problem first. So some pointers to OSGi wiki/documentaiton regarding this topic are appreciated.


Viewing all articles
Browse latest Browse all 12000

Trending Articles