I created a usercontrol with a five dropdown lists that represent a hierarhical tree. The control has a property from which i get a string that represents current selection. The control is NOT added dynamically, neither are controls on it.

The error I get is "Object reference not set to an instance of an object. " when trying to access the property of this control.
If I add the New keyword to
Public WithEvents hier As hierarhija
the error occurs few lines later, when its trying to read .selectedvalue property of dropdown list.

Even stranger is that I use this control about 6 times in a solution, and in one case it works fine using same calls and declarations and i cant find any difference between these forms that would seem important.

Can anybody help me with this?