Multi Button class

Hi all, my challenge is to create a custom button that as folder like behaviour example:
-componentName, with a queue Link (Link )
-action_1(Link [0]
the goal is when the component was instanciated, two args will be passed:
-String with the name of each subComponent(Link.caption);
I’ve created such a class, but when it is called to render, a null exception is thrown… i’ll had the code as soon as i can.
Anyone knows why this is happening?

Impossible to know without some code unfortunately. The stack trace would help too.