Thanks for the idea guys. I figured out the problem. Yes the null value causes the error in my class(the tree is not showing). Actually it is hard to figure since i am confident that it would not be null cause i always initialize objects. This is my solution... A simple solution only.
//////////////////////////////////////////////////////////////////////////////
public ChartView View
{
get
{
return m_View;
}
set
{
if (value != null)
m_View = value;
}
}
/////////////////////////////////////////////////////////////////////////////////
a null value check statement to assure that m_View will not be null. Any better approach?? thanks and GooDLuck

Simple mistakes tend to make people learn a lot.....