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

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

Where do I find "Required plugins"? Is this related to MANIFEST.MF?
I tried this code in a simple Java Project. Do I have to create a
Plug-In Project to be able to use ECF?

/Tim


> 
> 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

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