Value Attribute of ValuePointer NOT WORKING

Hi everyone,

when I try to use the "Value" attribute on a ValuePointer it causes to return NULL. Is there any bug? How can I solve the problem?

let myVP(ValuePointer)

let pset(AdvisorParameterSet)

let name(String)

name="ParameterName"

myVP=pset.GetAttributeValuePointer(name)

Message("Value is #",myVP.Value)