This is what the trace looks like. I will probably attach the source and
see if i can use that and debug.

Thanks,
abhi

abby wrote:
> :). I changed it still the same exception.
>
> Thanks,
> abby
>
> Scott Lewis wrote:
>> Hi Abby,
>>
>> abby wrote:
>>> I created a new action connect which spawns a new job and have a
>>> following in the run.
>>>
>>> protected IStatus run(IProgressMonitor monitor) {
>>> try {
>>> container =
>>> ContainerFactory.getDefault().createContainer("ecf.generic.channel ");
>>
>> I think you probably mean "ecf.generic.client"
>>
>> Scott
>>]]>abhishek misra2007-05-22T06:23:59-00:00Re: container cannot be null exceptionhttps://www.eclipse.org/forums/index.php/mv/msg/194399/618615/#msg_618615
Thanks for attaching the stack trace, but this one is not complete.
Could you run again and see if you get the same thing and attach the
entire stack trace? Thanks.

Did you install all of ECF plugins? Reason I ask...the classes for
"ecf.generic.client" are actually in plugin org.eclipse.ecf.provider and
if that plugin was not installed it would result in the situation you
are seeing. This seems to me like the most likely problem at the moment.

Scott Lewis wrote:
> Hi Abby,
>
> Thanks for attaching the stack trace, but this one is not complete.
> Could you run again and see if you get the same thing and attach the
> entire stack trace? Thanks.
>
> Did you install all of ECF plugins? Reason I ask...the classes for
> "ecf.generic.client" are actually in plugin org.eclipse.ecf.provider and
> if that plugin was not installed it would result in the situation you
> are seeing. This seems to me like the most likely problem at the moment.
>
> Thanks,
>
> Scott
>
>
> abby wrote:
>> ServiceTracker.getService() line: 683 Activator.getDebugOptions()
>> line: 118 Trace.shouldTrace0(String) line: 141
>> Trace.shouldTrace(String) line: 133 Trace.shouldTrace(String,
>> String) line: 161 Trace.entering(String, String, Class, String,
>> Object[]) line: 471
>> ContainerFactory.createContainer(ContainerTypeDescription, Object[])
>> line: 220 ContainerFactory.createContainer(String) line: 261
>>
>> This is what the trace looks like. I will probably attach the source
>> and see if i can use that and debug.
>>
>> Thanks,
>> abhi
>>
>> abby wrote:
>>> :). I changed it still the same exception.
>>>
>>> Thanks,
>>> abby
>>>
>>> Scott Lewis wrote:
>>>> Hi Abby,
>>>>
>>>> abby wrote:
>>>>> I created a new action connect which spawns a new job and have a
>>>>> following in the run.
>>>>>
>>>>> protected IStatus run(IProgressMonitor monitor) {
>>>>> try {
>>>>> container =
>>>>> ContainerFactory.getDefault().createContainer("ecf.generic.channel ");
>>>>
>>>> I think you probably mean "ecf.generic.client"
>>>>
>>>> Scott
>>>>]]>abhishek misra2007-05-22T20:28:20-00:00Re: container cannot be null exceptionhttps://www.eclipse.org/forums/index.php/mv/msg/194399/618677/#msg_618677
The ECF providers are dynamically loaded, and so won't appear in the
static dependencies list. The convention for provider plugin names (for
ECF team created providers) is:

abby wrote:
> Yup i think that was it. That plugin was not included in my dependencies
> list. I had the core included and was not aware that provider needs to
> be separately included. Also, i had selected the option to include all
> dependencies and this was not included.
>
> Thanks,
> abhi
>
> Scott Lewis wrote:
>> Hi Abby,
>>
>> Thanks for attaching the stack trace, but this one is not complete.
>> Could you run again and see if you get the same thing and attach the
>> entire stack trace? Thanks.
>>
>> Did you install all of ECF plugins? Reason I ask...the classes for
>> "ecf.generic.client" are actually in plugin org.eclipse.ecf.provider
>> and if that plugin was not installed it would result in the situation
>> you are seeing. This seems to me like the most likely problem at the
>> moment.
>>
>> Thanks,
>>
>> Scott
>>
>>
>> abby wrote:
>>> ServiceTracker.getService() line: 683 Activator.getDebugOptions()
>>> line: 118 Trace.shouldTrace0(String) line: 141
>>> Trace.shouldTrace(String) line: 133 Trace.shouldTrace(String,
>>> String) line: 161 Trace.entering(String, String, Class, String,
>>> Object[]) line: 471
>>> ContainerFactory.createContainer(ContainerTypeDescription, Object[])
>>> line: 220 ContainerFactory.createContainer(String) line: 261
>>> This is what the trace looks like. I will probably attach the source
>>> and see if i can use that and debug.
>>>
>>> Thanks,
>>> abhi
>>>
>>> abby wrote:
>>>> :). I changed it still the same exception.
>>>>
>>>> Thanks,
>>>> abby
>>>>
>>>> Scott Lewis wrote:
>>>>> Hi Abby,
>>>>>
>>>>> abby wrote:
>>>>>> I created a new action connect which spawns a new job and have a
>>>>>> following in the run.
>>>>>>
>>>>>> protected IStatus run(IProgressMonitor monitor) {
>>>>>> try {
>>>>>> container =
>>>>>> ContainerFactory.getDefault().createContainer("ecf.generic.channel ");
>>>>>
>>>>> I think you probably mean "ecf.generic.client"
>>>>>
>>>>> Scott
>>>>>]]>Scott Lewis2007-05-23T00:20:46-00:00