Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ecf-dev] ExceptionInInitializerError

TIm,

You have to select 'Required plugins' when you 'Run...' your application.
Here, the required minimal plugin is org.eclipse.ecf

2006/4/15, Tim Terlegård <tim@xxxxxxxxxxxx>:
I get an error when I try to create a container. I suspect that the
different container types aren't registered, but when/how is that done?

public static void main(String[] args) throws Exception
{
    IContainer container =
        ContainerFactory.getDefault().createContainer("ecf.generic.client");
}

This simple code doesn't work. I get

Exception in thread "main" java.lang.ExceptionInInitializerError
        at client.Start.main(Start.java:20)
Caused by: java.lang.NullPointerException
        at org.eclipse.ecf.core.ContainerFactory.<init>(ContainerFactory.java:55)
        at org.eclipse.ecf.core.ContainerFactory .<clinit>(ContainerFactory.java:51)

I'm using Eclipse 3.1.1 and ECF 0.7.6

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



--
Pierre

Back to the top