powered by Jive Software

Roster init: No class registered for interface 'mx.resources::IResourceManager'

I get the following error:

Error: No class registered for interface ‘mx.resources::IResourceManager’.

while initiating roster after connection. As shown here:

connection = new XMPPConnection();

// all possible listeners…

// Username, password and connect() …

roster = new Roster(connection);

Complete error message:

Error: No class registered for interface ‘mx.resources::IResourceManager’.

at mx.core::Singleton$/getInstance()

at mx.resources::ResourceManager$/getInstance()

at mx.collections::ListCollectionView()

at mx.collections::ArrayCollection()

at org.jivesoftware.xiff.im::Roster()

Anyone idead?

Possible bug?

It seems to be compiler related. Perhaps XIFF3 is not ready for Flex 3 yet…

Anyhow I got roster and related to work after moved to use Flex 2.0.1.194515.

I am also getting the same error.

I have just installed the Flex 3 SDK and am simply trying to instantiate the Roster class.

The Roster class is attempting to instatiate the ArrayCollection class which is causing the problem. I have attempted to instantiate the ArrayCollection class in my own code and get the same result.

It seams absurd that this is happening, I am assuming there is some environment configuration that is not correct on my system, possibly something to do with the locale. Can anybody else confirm if they are getting this problem using Flex 3?

Any information would be greatly appreciated.

Regards

Rob

This thread is marked as answered, which I don’t believe it is.

Will start a new thread.

Rob