Skip to main content

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

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


Back to the top