Hi,
the Exception says
Quote:
Unsupported control type: Master Gain
|
and
javadoc says
Quote:
Obtains a control of the specified type, if there is any. Some controls may only be available when the line is open.
|
So you should try to open the line (I haven't found that call in your code). If that also fails, that control type is not supported.