[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ecf-dev] ContainerTypeDescription cannot be null

Hi Razec,

Regrettably, we've not kept the rcpchat example code up-to-date...and the container type identified/hard coded in the rcpchat app is no longer correct.

If you would please open an enhancement request (to update rcpchat to ECF 3.0) we will attempt to get to updating it. Either that or we could deprecate/remove rcpchat from distribution.

Thanks,

Scott

Razec wrote:
Hi all,

So, I have studied ECF and I'm trying run example called: org.eclipse.ecf.example.rcpchat download (ecf1.osuosl.org <http://ecf1.osuosl.org>).
But when I click in ECF -> connect appear following error: ContainerTypeDescription cannot be null


org.eclipse.ecf.core.ContainerCreateException: ContainerTypeDescription cannot be null
at org.eclipse.ecf.core.ContainerFactory.throwContainerCreateException(ContainerFactory.java:197)
at org.eclipse.ecf.core.ContainerFactory.createContainer(ContainerFactory.java:246)
at org.eclipse.ecf.core.ContainerFactory.createContainer(ContainerFactory.java:233)
at org.eclipse.ecf.example.rcpchat.wizard.XMPPConnectWizard.init(XMPPConnectWizard.java:62)
at org.eclipse.ecf.example.rcpchat.actions.WorkbenchAction.run(WorkbenchAction.java:69)


...

I checked the class WorkbenchAction.java and didn't find error.

// Create the wizard dialog
IContainer container = null;
try {
container = ContainerFactory.getDefault().createContainer("ecf.xmpp.smack");
} catch (ContainerCreateException e) {
MessageDialog.openError(this.window.getShell(), "Create Error", "Could not create XMPP container.\n\nError: "+e.getLocalizedMessage());
}
XMPPConnectWizard connectWizard = new XMPPConnectWizard();
connectWizard.init(getWorkbench(), container);



Does someone have any idea?

Thanks advance...

--
Razec

------------------------------------------------------------------------

_______________________________________________
ecf-dev mailing list
ecf-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ecf-dev